home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / diffs / texinfo-.1 / info / makefile.djg < prev    next >
Encoding:
Makefile  |  1993-11-28  |  3.2 KB  |  113 lines

  1. *** orig/texinfo-.1/info/makefile.djg    Sun Aug 29 19:31:08 1993
  2. --- src/texinfo-.1/info/makefile.djg    Sun Nov 28 02:05:28 1993
  3. ***************
  4. *** 0 ****
  5. --- 1,107 ----
  6. + LONGARGS = gcc:ar
  7. + srcdir = .
  8. + common = ../libtxi
  9. + LDEFS = -DNAMED_FUNCTIONS=1 -DHAVE_BCOPY
  10. + LIBS = -L$(common) -ltxi -lpc
  11. + LOADLIBES = $(LIBS)
  12. + CFLAGS = -O2
  13. + LDFLAGS = -s
  14. + MAKEINFO = ../makeinfo/makeinfo
  15. + OBJS =    dir.o display.o doc.o echo_area.o filesys.o info-utils.o info.o \
  16. +     infodoc.o infomap.o m-x.o nodes.o search.o session.o signals.o \
  17. +     terminal.o tilde.o window.o indices.o xmalloc.o nodemenu.o \
  18. +     footnotes.o dribble.o variables.o gc.o pc_term.o
  19. + # The names of files which declare info commands.
  20. + CMDFILES = $(srcdir)/session.c $(srcdir)/echo_area.c $(srcdir)/infodoc.c \
  21. +        $(srcdir)/m-x.c $(srcdir)/indices.c $(srcdir)/nodemenu.c \
  22. +        $(srcdir)/footnotes.c $(srcdir)/variables.c
  23. + # The name of the program which builds documentation structure from CMDFILES.
  24. + MAKEDOC_OBJECTS = makedoc.o xmalloc.o
  25. + MAKEDOC_SOURCE = makedoc.c xmalloc.c
  26. + %.o : %.c
  27. +     gcc -c $(LDEFS) -I. -I$(common) $(CFLAGS) $<
  28. + all: info.exe info.info info-stnd.info
  29. + info.exe : info
  30. +     coff2exe info
  31. + info: $(OBJS) ../libtxi/libtxi.a
  32. +     gcc $(LDFLAGS) -o info $(OBJS) $(LOADLIBES)
  33. + info.info: info.texi
  34. +     $(MAKEINFO) --no-split -I$(srcdir) info.texi
  35. + info-stnd.info: info-stnd.texi
  36. +     $(MAKEINFO) --no-split -I$(srcdir) info-stnd.texi
  37. + makedoc.exe : makedoc
  38. +     coff2exe makedoc
  39. + makedoc: $(MAKEDOC_OBJECTS) ../libtxi/libtxi.a
  40. +     gcc $(LDFLAGS) -o makedoc $(MAKEDOC_OBJECTS) $(LOADLIBES)
  41. + clean :
  42. +     -del *.o
  43. +     -del makedoc
  44. +     -del info
  45. + # The files `doc.c' and `funs.h' are created by ./makedoc run over the source
  46. + # files which contain DECLARE_INFO_COMMAND.  `funs.h' is a header file
  47. + # listing the functions found.  `doc.c' is a structure containing pointers
  48. + # to those functions along with completable names and documentation strings.
  49. + funs.h: makedoc.exe $(CMDFILES)
  50. +     makedoc $(CMDFILES)
  51. + doc.c:         funs.h
  52. + dribble.o:    dribble.c dribble.h
  53. + display.o:    display.c
  54. + echo_area.o:    echo_area.c
  55. + filesys.o:    filesys.c
  56. + info-utils.o:    info-utils.c
  57. + info.o:        info.c
  58. + infodoc.o:    infodoc.c
  59. + infomap.o:    infomap.c
  60. + m-x.o:        m-x.c
  61. + nodes.o:    nodes.c
  62. + search.o:    search.c
  63. + session.o:    session.c
  64. + signals.o:    signals.c
  65. + terminal.o:    terminal.c
  66. + tilde.o:    tilde.c
  67. + window.o:    window.c
  68. + xmalloc.o:    xmalloc.c
  69. + indices.o:    indices.c
  70. + makedoc.o:    makedoc.c
  71. + dir.o:         dir.c
  72. + display.o:     nodes.h info-utils.h search.h
  73. + display.o:     terminal.h window.h display.h
  74. + echo_area.o:     info.h
  75. + filesys.o:     general.h tilde.h filesys.h
  76. + footnotes.o:     footnotes.h
  77. + info-utils.o:     info-utils.h nodes.h search.h
  78. + info.o:     info.h $(common)/getopt.h
  79. + infodoc.o:     info.h doc.h
  80. + infomap.o:     infomap.h funs.h
  81. + gc.o:        info.h
  82. + m-x.o:         info.h
  83. + nodes.o:     search.h filesys.h
  84. + nodes.o:     nodes.h info-utils.h
  85. + search.o:     general.h search.h nodes.h
  86. + session.o:     info.h
  87. + signals.o:     info.h signals.h
  88. + terminal.o:     terminal.h termdep.h
  89. + tilde.o:     tilde.h
  90. + variables.c:     variables.h
  91. + window.o:     nodes.h window.h display.h
  92. + window.o:     info-utils.h search.h infomap.h
  93.