home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 10 / Fresh_Fish_10_2352.bin / new / dev / lang / sgmls / src / smakefile < prev    next >
Makefile  |  1994-07-10  |  7KB  |  140 lines

  1. # Makefile for sgmls on Amiga.
  2.  
  3. # Common prefix for installation directories.
  4. # This is used in the definitions of BINDIR and MANDIR.
  5. # It is also used by configure to choose DEFAULT_PATH.
  6. PREFIX=sgml:
  7. # Where to install the sgmls and sgmlsasp binaries.
  8. BINDIR=$(PREFIX)bin
  9.  
  10. CC=sc
  11. PROFILE=
  12. INCLUDE=
  13. OPTIMIZE=
  14. DEBUG=
  15. WARN=
  16. CFLAGS=$(DEBUG) $(INCLUDE) $(WARN) $(PROFILE) $(OPTIMIZE)
  17. LDFLAGS=$(DEBUG) $(PROFILE)
  18. # Additional libraries needed.
  19. LIBS=
  20.  
  21. # You shouldn't need to change anything after this point.
  22.  
  23. PROG1=sgmls
  24.  
  25. SRCS1=lexrf.c pcbrf.c synrf.c context.c md1.c md2.c pars1.c pars2.c serv.c \
  26.       sgml1.c sgml2.c sgmlmsg.c sgmlxtrn.c traceset.c entgen.c sgmlio.c \
  27.       xfprintf.c main.c unixproc.c sgmldecl.c version.c strerror.c getopt.c \
  28.       msgcat.c lineout.c ambig.c lextaba.c catalog.c
  29.  
  30. OBJS1=lexrf.o pcbrf.o synrf.o context.o md1.o md2.o pars1.o pars2.o serv.o \
  31.       sgml1.o sgml2.o sgmlmsg.o sgmlxtrn.o traceset.o entgen.o sgmlio.o \
  32.       xfprintf.o main.o unixproc.o sgmldecl.o version.o strerror.o getopt.o \
  33.       msgcat.o lineout.o ambig.o lextaba.o catalog.o
  34.  
  35. PROG2=sgmlsasp
  36.  
  37. OBJS2=replace.o sgmls.o strerror.o getopt.o
  38. SRCS2a=sgmlsasp.c replace.c sgmls.c
  39. SRCS2=$(SRCS2a) strerror.c getopt.c
  40.  
  41. PROG3=rast
  42.  
  43. SRCS3a=rast.c
  44. SRCS3=$(SRCS3a) sgmls.c strerror.c
  45. OBJS3=sgmls.o strerror.o getopt.o
  46.  
  47. SRCS=$(SRCS1) $(SRCS2a) $(SRCS3a) $(SRCS4a) lextabe.c
  48.  
  49. HDRS=action.h adl.h entity.h error.h etype.h sgmldecl.h keyword.h lextoke.h \
  50.      msg.h sgmlaux.h sgmlfnsm.h sgmlincl.h sgmlmain.h lineout.h sgmlxtrn.h \
  51.      source.h synxtrn.h tools.h trace.h context.h getopt.h msgcat.h std.h \
  52.      appl.h sgmls.h sgmlsasp.h replace.h lexcode.h latin1.h ebcdic.h \
  53.      catalog.h alloc.h
  54.  
  55. PROGS=$(PROG1) $(PROG2) $(PROG3)
  56.  
  57. all: $(PROGS)
  58.  
  59. $(PROG1): $(OBJS1)
  60.     $(CC) link $(PROG1) $(LDFLAGS) $(OBJS1) $(LIBS)
  61.  
  62. $(PROG2): $(OBJS2)
  63.     $(CC) link $(PROG2) $(LDFLAGS) $(OBJS2) $(LIBS)
  64.  
  65. $(PROG3): $(OBJS3)
  66.     $(CC) link $(PROG3) $(LDFLAGS) $(OBJS3) $(LIBS)
  67.  
  68. # Do not delete this line.
  69. lexrf.o : lexrf.c config.h latin1.h entity.h tools.h msgcat.h catalog.h synxtrn.h \
  70.   action.h lexcode.h
  71. pcbrf.o : pcbrf.c config.h latin1.h entity.h tools.h msgcat.h catalog.h action.h \
  72.   synxtrn.h adl.h
  73. synrf.o : synrf.c config.h latin1.h entity.h tools.h msgcat.h catalog.h synxtrn.h \
  74.   adl.h
  75. context.o : context.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
  76.   catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
  77.   sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h context.h
  78. md1.o : md1.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h catalog.h \
  79.   action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h sgmlxtrn.h \
  80.   trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  81. md2.o : md2.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h catalog.h \
  82.   action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h sgmlxtrn.h \
  83.   trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  84. pars1.o : pars1.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
  85.   catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
  86.   sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  87. pars2.o : pars2.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
  88.   catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
  89.   sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  90. serv.o : serv.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
  91.   catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
  92.   sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  93. sgml1.o : sgml1.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
  94.   catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
  95.   sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  96. sgml2.o : sgml2.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
  97.   catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
  98.   sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  99. sgmlmsg.o : sgmlmsg.c config.h latin1.h sgmlaux.h std.h entity.h tools.h msgcat.h \
  100.   catalog.h sgmldecl.h msg.h
  101. sgmlxtrn.o : sgmlxtrn.c sgmlincl.h config.h latin1.h std.h entity.h tools.h \
  102.   msgcat.h catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h \
  103.   synxtrn.h sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  104. traceset.o : traceset.c sgmlincl.h config.h latin1.h std.h entity.h tools.h \
  105.   msgcat.h catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h \
  106.   synxtrn.h sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  107. entgen.o : entgen.c config.h latin1.h sgmlaux.h std.h entity.h tools.h msgcat.h \
  108.   catalog.h sgmldecl.h
  109. sgmlio.o : sgmlio.c config.h latin1.h sgmlaux.h std.h entity.h tools.h msgcat.h \
  110.   catalog.h sgmldecl.h
  111. xfprintf.o : xfprintf.c config.h latin1.h
  112. main.o : main.c config.h latin1.h std.h getopt.h entity.h tools.h msgcat.h catalog.h \
  113.   adl.h sgmlmain.h appl.h alloc.h
  114. unixproc.o : unixproc.c config.h latin1.h std.h entity.h tools.h msgcat.h catalog.h \
  115.   appl.h
  116. sgmldecl.o : sgmldecl.c sgmlincl.h config.h latin1.h std.h entity.h tools.h \
  117.   msgcat.h catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h \
  118.   synxtrn.h sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  119. version.o : version.c
  120. strerror.o : strerror.c config.h latin1.h
  121. getopt.o : getopt.c config.h latin1.h
  122. msgcat.o : msgcat.c config.h latin1.h std.h msgcat.h
  123. lineout.o : lineout.c config.h latin1.h std.h entity.h tools.h msgcat.h catalog.h \
  124.   adl.h sgmlmain.h lineout.h appl.h
  125. ambig.o : ambig.c sgmlincl.h config.h latin1.h std.h entity.h tools.h msgcat.h \
  126.   catalog.h action.h adl.h error.h etype.h keyword.h lextoke.h source.h synxtrn.h \
  127.   sgmlxtrn.h trace.h sgmlmain.h sgmlaux.h sgmldecl.h sgmlfnsm.h
  128. lextaba.o : lextaba.c config.h latin1.h entity.h tools.h msgcat.h catalog.h \
  129.   lexcode.h sgmldecl.h lextoke.h
  130. catalog.o : catalog.c config.h latin1.h std.h catalog.h alloc.h
  131. sgmlsasp.o : sgmlsasp.c sgmlsasp.h config.h latin1.h std.h sgmls.h replace.h \
  132.   getopt.h
  133. replace.o : replace.c sgmlsasp.h config.h latin1.h std.h replace.h
  134. sgmls.o : sgmls.c config.h latin1.h std.h sgmls.h lineout.h
  135. rast.o : rast.c config.h latin1.h std.h sgmls.h getopt.h
  136. genlex.o : genlex.c config.h latin1.h std.h tools.h
  137. ebcdic.o : ebcdic.c ebcdic.h
  138. lextabe.o : lextabe.c config.h latin1.h entity.h tools.h msgcat.h catalog.h \
  139.   sgmldecl.h
  140.