(file) Return to BUILD CVS log (file) Jump to this file's LXR Page (dir) Up to [CENS] / emstar / fusd

File: [CENS] / emstar / fusd / BUILD (download)
Revision: 1.36, Tue Dec 7 00:02:37 2004 UTC (4 years, 11 months ago) by jelson
Branch: MAIN
CVS Tags: PRE_CEILING_FIX
Changes since 1.35: +4 -0 lines
Big commit -- the bulk of the Cygwin compatibility is being checked in here.
The Cygwin port doesn't really run yet since FUSD hasn't been ported, but,
with this checkin, the rest of the repository compiles.

build libs {
	target libfusd.a { libfusd/libfusd.c }
}

# Binaries that are only needed if we're building kernel modules
build bins if BUILD_KMODULES {
        local_libs { timesync/sync, emrun/emrun, libdev/dev, libmisc/misc, fusd/fusd }

	# DAEMON PROGRAMS
	target fusdd { 
		fusdd/fusdd.c, 
		fusdd/fusdd_net.c,
		fusdd/fusdd_socket.c,
		fusdd/fusdd_server.c,
		fusdd/fusdd_main.c
	}

	# UTILITY PROGRAMS
	target fusdnet_client {
		fusdd/fusdd_client.c,
		fusdd/fusdd_socket.c
	}
}


build bins {
	local_libs { timesync/sync, emrun/emrun, libdev/dev, libmisc/misc, fusd/fusd }

	simple-targets {
		# EXAMPLE PROGRAMS
		examples/binary-read.c,
		examples/console-read.c,
		examples/drums.c,
		examples/drums2.c,
		examples/drums3.c,
		examples/echo.c,
		examples/helloworld.c,
		examples/ioctl.c,
		examples/logring.c,
		examples/pager.c,
		examples/uid-filter.c,

		# TEST PROGRAMS
		test/devlimit.c,
		test/ioctl-test.c,
		test/openclose.c,
		test/openrace.c,
		test/openrace2.c,
		test/opentest.c,
		test/oracle.c,
		test/regdevice.c,
		test/rwtest.c,
		test/select_test.c,
		test/simpleopen.c,
		test/statetest.c,
		test/torturetest.c,
		test/zero-fusd.c,
		test/zombietest.c,
		test/zombietest2.c
	}		
}

# Binaries that don't require libfusd
build bins {
	target thruput { test/thruput.c }
}

# Kernel modules
build objs if BUILD_KMODULES {
	cflags := $(KCFLAGS) -D__KERNEL__ -DMODULE

	target kfusd.o { kfusd/kfusd.c }
	target zero.o { test/zero.c }
}


build objs if BLAH if BLAH2 for testplat {
	target blah { kfusd/kfusd.c}
}

# Programs that should be run as part of the regression test series
test {
	"opentest /dev/fusd-opentest",
	ioctl-test,
	zombietest,
	zombietest2,
#        "openrace 20", 
#        "openrace2 20"

	#"statetest 30",   wrong exit semantics
	#"torturetest 20", wrong exit semantics
}

CENS CVS Mailing List
Powered by
ViewCVS 0.9.2