
LIB = ( lib/*.[ch] lib/Makefile )

UTIL = ( UTIL/*.[ch6] UTIL/Makefile UTIL/README UTIL/scripts )

VFIX = ( UTIL/vfix/*.[ch6] UTIL/vfix/Makefile UTIL/vfix/README )

COMS = (empmain/COMS/*.c empmain/COMS/Makefile )

SUBS = (empmain/SUBS/*.c empmain/SUBS/Makefile)

GEN = (empmain/gen/*.c empmain/gen/Makefile)

CONF = (conf/*)

COMMON = (empmain/common/*.c empmain/common/Makefile)

H = (h/*.h)

TOP = (README Makefile TODO CHANGES empvers.c 
	minusm.c distfile doc/* )

INFO = ( INFO )

MAIN = ( ${COMS} ${SUBS} ${GEN} ${COMMON} empmain/*.c empmain/Makefile )

CLIENT = ( client/*.[ch6] client/Makefile )

VE = ( client/ve/*.[ch6] client/ve/Makefile client/ve/README )

EMPIRETOOL = ( client/tools )

PLAYAIDS = ( ${VE} ${EMPIRETOOL} )

SERVER = ( empserver/*.[ch] empserver/Makefile )

TMSERVER = ( tm/*.[ch] tm/Makefile )

UPDATE = ( update/Makefile update/*.c )

ALLSRC1 = ( ${TOP} ${VFIX} ${MAIN} ${CLIENT} ${SERVER} ${CONF} )
ALLSRC2 = ( ${UTIL} ${TMSERVER} ${LIB} ${INFO} ${H} ${UPDATE} ${PLAYAIDS} )

DATA = ( EMP/DATA )

FORMATTED = ( EMP/INFO.nr )

EXECUTABLES = ( BIN EMP/BIN/empserver EMP/BIN/empire_tmserver EMP/BIN/killd 
	EMP/emp_serv )

RCS = (UTIL/RCS empmain/COMS/RCS empmain/RCS INFO/RCS empmain/SUBS/RCS )

#	this copy is for comparison with what has actually been
#	distributed
#
#( ${ALLSRC} ) -> muir@web6a.berkeley.edu
#	install -R -w g/empire-dist/out/empire ;
#	notify muir@postgres ;
#
#
#
#
#
#( ${ALLSRC} ) -> muir@postgres
#	install -R -w g/empire-dist/empire ;
#
#( ${RCS} ) -> muir@postgres
#	install -R -w g/empire-dist/rcs ;
#
#( updates ) -> muir@postgres
#	install -R -w g/empire-dist ;
#
#
#	this copy is for backup and comparison purposes 
#
#

( ${ALLSRC1} ) -> muir@postgres
	except_pat RCS ;
	install -R -w tmp/empire/empire ;

( ${ALLSRC2} ) -> muir@postgres
	except_pat RCS ;
	install -R -w tmp/empire/empire ;

( ${ALLSRC1} ) -> muir@web-1a
	install -R -w g/empire-dist/empire ;

( ${ALLSRC2} ) -> muir@web-1a
	install -R -w g/empire-dist/empire ;

( ${RCS} ) -> muir@web-1a
	install -R -w g/empire-dist/rcs ;

#
