############################################################################## # Instructions to Make, for compilation of ZOT UIP/utility processes # # @(MHWARNING) # @(#)$Id: bboards,v 1.1.1.1 2005/04/18 14:46:03 kono Exp $ ############################################################################## # The following entries were inserted during MH configuration OPTIONS = @(MHOPTIONS) -I.. CC = @(MHCOMPILER) CPP = @(MHCPP) @BEGIN: POPSERVER POPSERV = -DPOPSERVER @END: POPSERVER @BEGIN: OPTIM CFLAGS = $(OPTIONS) $(POPSERV) @END: OPTIM @BEGIN: DEBUG CFLAGS = $(OPTIONS) $(POPSERV) @END: DEBUG LINT = lint LFLAGS = -bhu $(OPTIONS) $(POPSERV) LLIBS = .c:; echo $@ ###################################################################### # Here it is... ###################################################################### all: getbbent.o lint: l-getbbent install: inst-all clean inst-all:; tar:; uninstall:; ###################################################################### # getbbent ###################################################################### getbbent: getbbent.o l-getbbent:; $(LINT) $(LFLAGS) getbbent.c $(LLIBS) ############################################################################## # Miscellaneous tasks ############################################################################## unconfig: distribution -rm -f Makefile distribution: clean clean: unclean -rm -f *.o unclean:; -rm -f _* :* core *.core eddep makedep ############################################################################## # Dependencies ############################################################################## MODULES = getbbent depend: for m in $(MODULES); do ( \ $(CPP) -M $(OPTIONS) $$m.c >> makedep \ ); done echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep echo '$$r makedep' >> eddep echo 'w' >> eddep cp Makefile _Makefile ed - Makefile < eddep rm eddep makedep echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile # DO NOT DELETE THIS LINE # DEPENDENCIES START HERE getbbent.o: getbbent.c getbbent.o: bboards.h getbbent.o: ../../h/strings.h #getbbent.o: /usr/include/ctype.h #getbbent.o: /usr/include/pwd.h #getbbent.o: /usr/include/grp.h #getbbent.o: /usr/include/stdio.h #getbbent.o: /usr/include/sys/types.h #getbbent.o: /usr/include/sys/stat.h # DEPENDENCIES MUST END AT END OF FILE # IF YOU PUT STUFF HERE IT WILL GO AWAY