|
|
BSD 4.3reno
############################################################################### # Instructions to Make, for compilation of ISODE MOSY processes ############################################################################### ############################################################################### # # $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/others/mosy/Makefile,v 1.1.1.1 2018/04/24 16:12:56 root Exp $ # # # $Log: Makefile,v $ # Revision 1.1.1.1 2018/04/24 16:12:56 root # BSD 4.3reno # # Revision 7.3 90/07/09 14:39:59 mrose # sync # # Revision 7.2 90/07/01 21:04:35 mrose # pepsy # # Revision 7.1 90/01/16 20:43:13 mrose # last check-out # # Revision 7.0 89/11/23 22:00:33 mrose # Release 6.0 # ############################################################################### ############################################################################### # # NOTICE # # Acquisition, use, and distribution of this module and related # materials are subject to the restrictions of a license agreement. # Consult the Preface in the User's Manual for the full terms of # this agreement. # ############################################################################### ############################################################################### # Generation Rules for program modules ############################################################################### .SUFFIXES: .c .o .c.o:; $(CC) $(CFLAGS) -c $*.c ############################################################################### # Programs and Libraries ############################################################################### LIBES = $(TOPDIR)libisode.a LLIBS = $(TOPDIR)llib-lisode ############################################################################### # Files ############################################################################### HFILES = mosy-defs.h YFILES = yacc.y lex.l MYFILES = smi.my mib.my ################################################################## # Here it is... ################################################################## all: mosy objects inst-all: inst-mosy manuals install: inst-all clean lint: l-mosy ################################################################## # mosy ################################################################## inst-mosy: $(BINDIR)mosy $(BINDIR)mosy: xmosy -cp $@ zxmosy -rm -f $@ cp xmosy $@ -@ls -gls $@ -@echo "" mosy: xmosy xmosy: mosyvrsn.o $(LDCC) $(LDFLAGS) -o $@ mosy.o yacc.o pepy_misc.o mosyvrsn.o \ $(LIBES) $(LSOCKET) -lm mosy.o: mosy.c $(HFILES) pepy_misc.o: $(TOPDIR)pepy/pepy_misc.c $(CC) $(CFLAGS) -c $? mosyvrsn.c: mosy.o yacc.o pepy_misc.o @$(UTILDIR)version.sh mosy > $@ yacc.o: yacc.c lex.c $(HFILES) yacc.c: yacc.y yacc $(YACCFLAGS) yacc.y mv y.tab.c $@ yacc.y: $(TOPDIR)pepsy/yacc.y.gnrc $(UTILDIR)extract.sh MOSY < $? > $@ lex.c: lex.l $(LEX) $(LEXFLAGS) lex.l mv lex.yy.c $@ lex.l: $(TOPDIR)pepsy/lex.l.gnrc $(UTILDIR)extract.sh MOSY < $? > $@ mosy-defs.h: $(TOPDIR)pepsy/pepsy.h.gnrc $(UTILDIR)extract.sh MOSY < $? > $@ l-mosy: yacc.c lex.c true $(LINT) -I$(TOPDIR)h $(LFLAGS) mosy.c yacc.c \ $(TOPDIR)pepy/pepy_misc.c mosyvrsn.c $(LLIBS) ################################################################## # objects ################################################################## objects: objects.mib objects.mib: smi.defs mib.defs cat smi.defs mib.defs > objects.mib smi.defs: xmosy smi.my xmosy -m $(MYFLAGS) smi.my mib.defs: xmosy mib.my xmosy -m $(MYFLAGS) mib.my ################################################################ # manual pages ################################################################ MANUALS = mosy.1 manuals:; @$(UTILDIR)inst-man.sh $(MANOPTS) $(MANUALS) -@echo "" ################################################################ # clean ################################################################ clean:; rm -f *.o *.a x* z* _* core mosy-defs.h yacc.y yacc.c lex.l \ lex.c mosyvrsn.c *.defs *.mib grind:; iprint Makefile tgrind -lc $(HFILES) mosy.c mosyvrsn.c tgrind -ly $(YFILES) tgrind -lpepy -d $(TOPDIR)pepy/grindefs $(MYFILES) @echo $(MANUALS) | \ tr " " "\012" | \ sed -e "s%.*%itroff -man &%" | \ sh -ve true:;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.