home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-07-10 | 6.4 KB | 140 lines |
- # Makefile for sgmls on Amiga.
-
- # Common prefix for installation directories.
- # This is used in the definitions of BINDIR and MANDIR.
- # It is also used by configure to choose DEFAULT_PATH.
- PREFIX=sgml:
- # Where to install the sgmls and sgmlsasp binaries.
- BINDIR=$(PREFIX)bin
-
- CC=sc
- PROFILE=
- INCLUDE=
- OPTIMIZE=
- DEBUG=
- WARN=
- CFLAGS=$(DEBUG) $(INCLUDE) $(WARN) $(PROFILE) $(OPTIMIZE)
- LDFLAGS=$(DEBUG) $(PROFILE)
- # Additional libraries needed.
- LIBS=
-
- # You shouldn't need to change anything after this point.
-
- PROG1=sgmls
-
- SRCS1=lexrf.c pcbrf.c synrf.c context.c md1.c md2.c pars1.c pars2.c serv.c \
- sgml1.c sgml2.c sgmlmsg.c sgmlxtrn.c traceset.c entgen.c sgmlio.c \
- xfprintf.c main.c unixproc.c sgmldecl.c version.c strerror.c getopt.c \
- msgcat.c lineout.c ambig.c lextaba.c catalog.c
-
- OBJS1=lexrf.o pcbrf.o synrf.o context.o md1.o md2.o pars1.o pars2.o serv.o \
- sgml1.o sgml2.o sgmlmsg.o sgmlxtrn.o traceset.o entgen.o sgmlio.o \
- xfprintf.o main.o unixproc.o sgmldecl.o version.o strerror.o getopt.o \
- msgcat.o lineout.o ambig.o lextaba.o catalog.o
-
- PROG2=sgmlsasp
-
- OBJS2=replace.o sgmls.o strerror.o getopt.o
- SRCS2a=sgmlsasp.c replace.c sgmls.c
- SRCS2=$(SRCS2a) strerror.c getopt.c
-
- PROG3=rast
-
- SRCS3a=rast.c
- SRCS3=$(SRCS3a) sgmls.c strerror.c
- OBJS3=sgmls.o strerror.o getopt.o
-
- SRCS=$(SRCS1) $(SRCS2a) $(SRCS3a) $(SRCS4a) lextabe.c
-
- HDRS=action.h adl.h entity.h error.h etype.h sgmldecl.h keyword.h lextoke.h \
- msg.h sgmlaux.h sgmlfnsm.h sgmlincl.h sgmlmain.h lineout.h sgmlxtrn.h \
- source.h synxtrn.h tools.h trace.h context.h getopt.h msgcat.h std.h \
- appl.h sgmls.h sgmlsasp.h replace.h lexcode.h latin1.h ebcdic.h \
- catalog.h alloc.h
-
- PROGS=$(PROG1) $(PROG2) $(PROG3)
-
- all: $(PROGS)
-
- $(PROG1): $(OBJS1)
- $(CC) link $(PROG1) $(LDFLAGS) $(OBJS1) $(LIBS)
-
- $(PROG2): $(OBJS2)
- $(CC) link $(PROG2) $(LDFLAGS) $(OBJS2) $(LIBS)
-
- $(PROG3): $(OBJS3)
- $(CC) link $(PROG3) $(LDFLAGS) $(OBJS3) $(LIBS)
-
- # Do not delete this line.
- lexrf.o : lexrf.c config.h latin1.h entity.h tools.h msgcat.h catalog.h synxtrn.h \
- action.h lexcode.h
- pcbrf.o : pcbrf.c config.h latin1.h entity.h tools.h msgcat.h catalog.h action.h \
- synxtrn.h adl.h
- synrf.o : synrf.c config.h latin1.h entity.h tools.h msgcat.h catalog.h synxtrn.h \
- adl.h
- context.o : context.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
- catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
- sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h context.h
- md1.o : md1.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h catalog.h \
- action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h sgmlxtrn.h \
- trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- md2.o : md2.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h catalog.h \
- action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h sgmlxtrn.h \
- trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- pars1.o : pars1.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
- catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
- sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- pars2.o : pars2.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
- catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
- sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- serv.o : serv.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
- catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
- sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- sgml1.o : sgml1.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
- catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
- sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- sgml2.o : sgml2.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
- catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
- sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- sgmlmsg.o : sgmlmsg.c config.h latin1.h sgmlaux.h std.h entity.h tools.h msgcat.h \
- catalog.h sgmldecl.h msg.h
- sgmlxtrn.o : sgmlxtrn.c sgmlincl.h config.h latin1.h std.h entity.h tools.h \
- msgcat.h catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h \
- synxtrn.h sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- traceset.o : traceset.c sgmlincl.h config.h latin1.h std.h entity.h tools.h \
- msgcat.h catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h \
- synxtrn.h sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- entgen.o : entgen.c config.h latin1.h sgmlaux.h std.h entity.h tools.h msgcat.h \
- catalog.h sgmldecl.h
- sgmlio.o : sgmlio.c config.h latin1.h sgmlaux.h std.h entity.h tools.h msgcat.h \
- catalog.h sgmldecl.h
- xfprintf.o : xfprintf.c config.h latin1.h
- main.o : main.c config.h latin1.h std.h getopt.h entity.h tools.h msgcat.h catalog.h \
- adl.h sgmlmain.h appl.h alloc.h
- unixproc.o : unixproc.c config.h latin1.h std.h entity.h tools.h msgcat.h catalog.h \
- appl.h
- sgmldecl.o : sgmldecl.c sgmlincl.h config.h latin1.h std.h entity.h tools.h \
- msgcat.h catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h \
- synxtrn.h sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- version.o : version.c
- strerror.o : strerror.c config.h latin1.h
- getopt.o : getopt.c config.h latin1.h
- msgcat.o : msgcat.c config.h latin1.h std.h msgcat.h
- lineout.o : lineout.c config.h latin1.h std.h entity.h tools.h msgcat.h catalog.h \
- adl.h sgmlmain.h lineout.h appl.h
- ambig.o : ambig.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
- catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
- sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
- lextaba.o : lextaba.c config.h latin1.h entity.h tools.h msgcat.h catalog.h \
- lexcode.h sgmldecl.h lextoke.h
- catalog.o : catalog.c config.h latin1.h std.h catalog.h alloc.h
- sgmlsasp.o : sgmlsasp.c sgmlsasp.h config.h latin1.h std.h sgmls.h replace.h \
- getopt.h
- replace.o : replace.c sgmlsasp.h config.h latin1.h std.h replace.h
- sgmls.o : sgmls.c config.h latin1.h std.h sgmls.h lineout.h
- rast.o : rast.c config.h latin1.h std.h sgmls.h getopt.h
- genlex.o : genlex.c config.h latin1.h std.h tools.h
- ebcdic.o : ebcdic.c ebcdic.h
- lextabe.o : lextabe.c config.h latin1.h entity.h tools.h msgcat.h catalog.h \
- sgmldecl.h
-