home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / OLEO130S.ZIP / oleo130s.tar / oleo-1.3 / Makefile.in < prev    next >
Makefile  |  1993-03-30  |  11KB  |  247 lines

  1. # Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  2. # This file is part of GNU Oleo.
  3. # GNU Oleo is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2, or (at your option)
  6. # any later version.
  7. #
  8. # GNU Oleo is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with GNU Oleo; see the file COPYING.  If not, write to
  14. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  15. SHELL = /bin/sh
  16.  
  17. srcdir = @srcdir@
  18. VPATH = @srcdir@
  19.  
  20. # Common prefix for machine-independent installed files.
  21. prefix = /usr/local
  22. # Common prefix for machine-dependent installed files.
  23. exec_prefix = $(prefix)
  24. # Name under which to install GNU Oleo.
  25. instname = oleo
  26. # Directory to install `oleo' in.
  27. bindir = $(exec_prefix)/bin
  28.  
  29. CFLAGS = -g
  30. BISONFLAGS =
  31. optional_libs = @LIBS@
  32. extra_objs =@LIBOBJS@ @ALLOCA@
  33.  
  34. CC = @CC@
  35. BISON = @YACC@
  36. INSTALL = @INSTALL@
  37. INSTALL_DATA = @INSTALL_DATA@
  38. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  39. ETAGS = etags -tw
  40. CTAGS = ctags -tw
  41.  
  42. ALL_CFLAGS = $(CFLAGS) @DEFS@
  43. ALL_BISONFLAGS = $(BISONFLAGS) 
  44.  
  45. .c.o:
  46.     $(CC) -c $(ALL_CFLAGS) $(CPPFLAGS) -I$(srcdir) $<
  47.  
  48. libs =  $(optional_libs) -lm 
  49.  
  50. objs = parse.tab.o byte-compile.o eval.o ref.o \
  51.  decompile.o sort.o regions.o utils.o obstack.o lists.o\
  52.  io-term.o getopt.o getopt1.o io-utils.o io-x11.o window.o io-edit.o\
  53.  hash.o panic.o line.o io-curses.o font.o display.o print.o init.o \
  54.  sylk.o oleofile.o sc.o list.o busi.o string.o cells.o ir.o xrdb.o cmd.o \
  55.  basic.o key.o format.o funcs.o args.o stub.o input.o info.o help.o \
  56.  forminfo.o graph.o \
  57.  
  58. all_objs= $(objs) $(extra_obs)
  59.  
  60. srcs =  parse.y byte-compile.c eval.c ref.c \
  61.  decompile.c sort.c regions.c utils.c obstack.c lists.c\
  62.  io-term.c getopt.c getopt1.c  io-utils.c io-x11.c window.c io-edit.c\
  63.  hash.c panic.c line.c  key.c format.c funcs.c \
  64.  io-curses.c font.c display.c print.c init.c \
  65.  sylk.c oleofile.c sc.c list.c busi.c string.c cells.c \
  66.  random.c vfprintf.c vsprintf.c _doprnt.c alloca.c cmd.c basic.c args.c \
  67.  stub.c input.c info.c help.c graph.c forminfo.c
  68.  
  69. headers = byte-compile.h cell.h cmd.h ir.h display.h errors.h eval.h \
  70.  font.h funcdef.h global.h hash.h init.h io-abstract.h io-edit.h \
  71.  io-generic.h io-term.h io-utils.h line.h list.h \
  72.  lists.h  node.h obstack.h oleofile.h parse.h  \
  73.  proto.h ref.h regions.h sc.h sylk.h sysdef.h \
  74.  utils.h window.h ir.c xrdb.c io-curses.h io-x11.h \
  75.  print.h basic.h getopt.h key.h format.h args.h stub.h decompile.h \
  76.  input.h defun.h defuns.h stubs.h info.h help.h graph.h funcs.h \
  77.  forminfo.h
  78.  
  79. dist_files = $(srcs) $(headers) parse.tab.c configure Makefile.in \
  80.     configure.in ANNOUNCE COPYING USING BUGS ChangeLog NEWS INSTALL.OLEO \
  81.     README INSTALL irs-1992.oleo KEYS
  82.  
  83. all: oleo
  84. install: all
  85.     $(INSTALL_PROGRAM) oleo $(bindir)/oleo
  86. uninstall:
  87.     rm $(bindir)/oleo
  88. Makefile: $(srcdir)/Makefile.in 
  89.     $(SHELL) config.status
  90. clean:
  91.     rm -f $(all_objs) oleo
  92. distclean: clean
  93.     rm -f Makefile config.status 
  94. mostlyclean: clean
  95. realclean: distclean
  96.     rm -f  parse.tab.c
  97. TAGS: $(srcs)
  98.     $(ETAGS) $(srcs)
  99. tags: $(srcs)
  100.     $(CTAGS) $(srcs)
  101. dist.afs: $(dist_files)
  102.     echo oleo-`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q io-term.c` > .fname
  103.     rm -rf `cat .fname`
  104.     mkdir `cat .fname`
  105.     cd `cat .fname`; \
  106.     for file in $(dist_files); do ln -s ../"$$file" .; done; \
  107.     cd ..
  108.     tar chf `cat .fname`.tar `cat .fname`
  109.     gzip `cat .fname`.tar
  110.     rm -rf `cat .fname` .fname
  111.  
  112. dist: $(dist_files)
  113.     echo oleo-`sed -e '/version_string/!d' -e 's/[^0-9.]*\([0-9.]*\).*/\1/' -e q io-term.c` > .fname
  114.     rm -rf `cat .fname`
  115.     mkdir `cat .fname`
  116.     ln $(dist_files) `cat .fname`
  117.     tar chZf `cat .fname`.tar.Z `cat .fname`
  118.     rm -rf `cat .fname` .fname
  119.  
  120. distfiles:
  121.     echo $(dist_files)
  122.  
  123. check:
  124.     echo check check check
  125. oleo: $(all_objs)
  126.     $(CC) $(ALL_CFLAGS) -o oleo $(all_objs) $(libs)
  127.  
  128. parse.tab.c: parse.y
  129.     $(BISON) parse.y
  130.     -mv y.tab.c parse.tab.c
  131.  
  132. # Prevent GNU make v3 from overflowing arg limit on SysV.
  133. .NOEXPORT:
  134.  
  135. # ================ automaticly generated ================
  136. _doprnt.o : _doprnt.c 
  137. alloca.o : alloca.c 
  138. args.o : args.c global.h sysdef.h utils.h funcdef.h args.h cmd.h obstack.h line.h \
  139.   key.h funcs.h info.h io-abstract.h window.h cell.h font.h io-generic.h io-edit.h \
  140.   io-utils.h format.h 
  141. basic.o : basic.c sysdef.h global.h utils.h funcdef.h basic.h cmd.h obstack.h \
  142.   line.h key.h args.h funcs.h info.h regions.h window.h cell.h font.h io-term.h \
  143.   io-generic.h io-abstract.h io-utils.h io-curses.h ref.h format.h lists.h io-edit.h \
  144.   eval.h byte-compile.h 
  145. busi.o : busi.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h eval.h \
  146.   errors.h 
  147. byte-compile.o : byte-compile.c funcdef.h obstack.h sysdef.h global.h utils.h \
  148.   node.h eval.h cell.h font.h line.h hash.h ref.h 
  149. cells.o : cells.c obstack.h funcdef.h sysdef.h global.h utils.h cell.h font.h \
  150.   line.h eval.h errors.h lists.h format.h io-abstract.h window.h io-generic.h \
  151.   io-term.h cmd.h key.h args.h funcs.h info.h 
  152. cmd.o : cmd.c /usr/include/errno.h obstack.h global.h sysdef.h utils.h funcdef.h \
  153.   cmd.h line.h key.h args.h funcs.h info.h io-term.h io-abstract.h window.h cell.h \
  154.   font.h io-generic.h io-utils.h io-edit.h stub.h ref.h 
  155. decompile.o : decompile.c global.h sysdef.h utils.h funcdef.h decompile.h eval.h \
  156.   cell.h font.h line.h io-utils.h 
  157. display.o : display.c display.h global.h sysdef.h utils.h funcdef.h font.h line.h \
  158.   cell.h ir.h proto.h lists.h io-utils.h 
  159. eval.o : eval.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  160.   line.h eval.h errors.h 
  161. font.o : font.c font.h global.h sysdef.h utils.h funcdef.h line.h window.h cell.h \
  162.   io-abstract.h cmd.h obstack.h key.h args.h funcs.h info.h io-x11.h io-term.h \
  163.   io-utils.h 
  164. format.o : format.c global.h sysdef.h utils.h funcdef.h format.h cell.h font.h \
  165.   line.h cmd.h obstack.h key.h args.h funcs.h info.h io-term.h io-abstract.h window.h \
  166.   io-generic.h 
  167. forminfo.o : forminfo.c sysdef.h forminfo.h 
  168. funcs.o : funcs.c global.h sysdef.h utils.h funcdef.h cmd.h obstack.h line.h \
  169.   key.h args.h funcs.h info.h io-term.h basic.h format.h cell.h font.h print.h \
  170.   io-x11.h io-edit.h regions.h help.h window.h graph.h lists.h defuns.h defun.h 
  171. getopt.o : getopt.c getopt.h 
  172. getopt1.o : getopt1.c getopt.h 
  173. graph.o : graph.c global.h sysdef.h utils.h funcdef.h graph.h cell.h font.h \
  174.   line.h cmd.h obstack.h key.h args.h funcs.h info.h io-term.h regions.h ref.h \
  175.   io-utils.h 
  176. hash.o : hash.c sysdef.h hash.h 
  177. help.o : help.c global.h sysdef.h utils.h funcdef.h cmd.h obstack.h line.h key.h \
  178.   args.h funcs.h info.h forminfo.h help.h io-utils.h cell.h font.h 
  179. info.o : info.c global.h sysdef.h utils.h funcdef.h info.h hash.h cmd.h obstack.h \
  180.   line.h key.h args.h funcs.h 
  181. init.o : init.c proto.h init.h global.h sysdef.h utils.h funcdef.h io-term.h \
  182.   cmd.h obstack.h line.h key.h args.h funcs.h info.h 
  183. input.o : input.c global.h sysdef.h utils.h funcdef.h input.h cmd.h obstack.h \
  184.   line.h key.h args.h funcs.h info.h window.h cell.h font.h io-abstract.h 
  185. io-curses.o : io-curses.c proto.h funcdef.h sysdef.h global.h utils.h cell.h \
  186.   font.h line.h cmd.h obstack.h key.h args.h funcs.h info.h io-generic.h io-edit.h \
  187.   io-term.h io-abstract.h window.h io-utils.h lists.h regions.h input.h 
  188. io-edit.o : io-edit.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h \
  189.   io-utils.h io-edit.h cmd.h obstack.h key.h args.h funcs.h info.h io-abstract.h \
  190.   window.h io-generic.h format.h lists.h regions.h 
  191. io-term.o : io-term.c global.h sysdef.h utils.h funcdef.h basic.h cell.h font.h \
  192.   line.h cmd.h obstack.h key.h args.h funcs.h info.h format.h getopt.h init.h \
  193.   io-abstract.h window.h io-curses.h io-edit.h io-generic.h io-term.h io-utils.h \
  194.   io-x11.h lists.h oleofile.h print.h ref.h regions.h graph.h list.h sc.h sylk.h 
  195. io-utils.o : io-utils.c sysdef.h io-utils.h global.h utils.h funcdef.h cell.h \
  196.   font.h line.h ref.h decompile.h io-generic.h obstack.h io-abstract.h window.h \
  197.   lists.h io-term.h cmd.h key.h args.h funcs.h info.h 
  198. io-x11.o : io-x11.c 
  199. ir.o : ir.c ir.h proto.h 
  200. key.o : key.c key.h global.h sysdef.h utils.h funcdef.h line.h cmd.h obstack.h \
  201.   args.h funcs.h info.h io-abstract.h window.h cell.h font.h io-generic.h io-utils.h \
  202.   io-term.h 
  203. line.o : line.c global.h sysdef.h utils.h funcdef.h line.h 
  204. list.o : list.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h io-generic.h \
  205.   obstack.h io-abstract.h window.h regions.h io-utils.h cmd.h key.h args.h funcs.h \
  206.   info.h 
  207. lists.o : lists.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  208.   line.h ref.h window.h io-term.h io-abstract.h 
  209. obstack.o : obstack.c obstack.h 
  210. oleofile.o : oleofile.c funcdef.h sysdef.h io-generic.h global.h utils.h obstack.h \
  211.   io-abstract.h line.h window.h cell.h font.h io-utils.h io-term.h sylk.h lists.h \
  212.   ref.h regions.h info.h cmd.h key.h args.h funcs.h 
  213. panic.o : panic.c funcdef.h sysdef.h global.h utils.h io-generic.h obstack.h \
  214.   io-abstract.h line.h window.h cell.h font.h info.h cmd.h key.h args.h funcs.h 
  215. parse.tab.o : parse.tab.c funcdef.h obstack.h sysdef.h global.h utils.h errors.h \
  216.   node.h eval.h cell.h font.h line.h ref.h 
  217. print.o : print.c display.h global.h sysdef.h utils.h funcdef.h font.h line.h \
  218.   cell.h ir.h proto.h cmd.h obstack.h key.h args.h funcs.h info.h io-generic.h \
  219.   io-abstract.h window.h 
  220. random.o : random.c 
  221. ref.o : ref.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h eval.h \
  222.   io-abstract.h window.h io-generic.h obstack.h hash.h byte-compile.h parse.h \
  223.   ref.h cmd.h key.h args.h funcs.h info.h 
  224. regions.o : regions.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h \
  225.   io-generic.h obstack.h io-abstract.h window.h io-utils.h lists.h ref.h regions.h \
  226.   io-term.h cmd.h key.h args.h funcs.h info.h 
  227. sc.o : sc.c funcdef.h sysdef.h global.h utils.h cell.h font.h line.h io-generic.h \
  228.   obstack.h io-abstract.h window.h io-utils.h lists.h ref.h parse.h regions.h \
  229.   cmd.h key.h args.h funcs.h info.h 
  230. sort.o : sort.c 
  231. string.o : string.c funcdef.h obstack.h sysdef.h global.h utils.h cell.h font.h \
  232.   line.h eval.h errors.h 
  233. stub.o : stub.c global.h sysdef.h utils.h funcdef.h cmd.h obstack.h line.h key.h \
  234.   args.h funcs.h info.h stub.h stubs.h 
  235. sylk.o : sylk.c funcdef.h sysdef.h io-generic.h global.h utils.h obstack.h io-abstract.h \
  236.   line.h window.h cell.h font.h io-term.h lists.h io-utils.h ref.h regions.h info.h \
  237.   cmd.h key.h args.h funcs.h 
  238. utils.o : utils.c sysdef.h utils.h funcdef.h global.h 
  239. vfprintf.o : vfprintf.c sysdef.h 
  240. vsprintf.o : vsprintf.c sysdef.h 
  241. window.o : window.c global.h sysdef.h utils.h funcdef.h window.h cell.h font.h \
  242.   line.h io-generic.h obstack.h io-abstract.h io-utils.h io-term.h cmd.h key.h \
  243.   args.h funcs.h info.h lists.h regions.h 
  244. xrdb.o : xrdb.c 
  245.