(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.38, Tue Jan 18 02:59:40 2005 UTC (4 years, 10 months ago) by girod
Branch: MAIN
CVS Tags: mote, ESS_RELEASE_3_3, ESS2-CMS-V1_4cMergeSympathy_2, ESS2-CMS-V1_4c, ESS2-CMS-V1_4b, ESS2-CMS-V1_4a, ESS2-CMS-V1_3, ESS2-CMS-V1_2, ESS2-CMS-V1_1, ESS2-CMS-V1_0, EMSTAR_RELEASE_2_1_BRANCH, EMSTAR_RELEASE_2_1
Changes since 1.37: +7 -3 lines
* moved fusdnet out of fusdd and into a separate process
* added --enable-remote option into misc_init that waits for fusdnet
* added fusdnet() macro for running fusdnet when desired
* moved logging in fusdd_server over to elog
* fixed bug in link.run

build libs {
	target libfusd.a { libfusd/libfusd.c }
	target libfusdnet.a { fusdd/fusdd_client.c, fusdd/fusdd_socket.c }
}

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

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

	# UTILITY PROGRAMS
	target fusdnet_client {	fusdd/fusdd_client_main.c }

	# FusdNET daemon for launch from emrun
	target fusdnet_server {	
		fusdd/fusdd_net_main.c,
		fusdd/fusdd_socket.c,
		fusdd/fusdd_server.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