home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / guile-ii.src / guile-ii / guile-src / guile / Makefile.in < prev    next >
Encoding:
Makefile  |  1995-08-02  |  2.1 KB  |  100 lines

  1. # Makefile for GNU GUILE, a stand-alone Scheme interpreter.
  2. #
  3. # Copyright (C) 1987, 1991 Free Software Foundation, Inc.
  4. # This file is part of GNU GUILE.
  5. # GNU GUILE is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2, or (at your option)
  8. # any later version.
  9. # GNU GUILE is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13. # You should have received a copy of the GNU General Public License
  14. # along with GNU GUILE; see the file COPYING.  If not, write to
  15. # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  16.  
  17. SHELL = /bin/sh
  18. srcdir = @srcdir@
  19. VPATH = @srcdir@
  20.  
  21. CC = @CC@
  22. INSTALL = @INSTALL@
  23. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  24.  
  25. DEFS = @DEFS@
  26. LIBS = @LIBS@
  27.  
  28. CFLAGS = -g -I. @xtra_cflags@
  29. LDFLAGS = -g
  30. extra_objs =
  31. extra_dependencies=@xtra_dependencies@
  32. plugin_libs=@plugin_libs@ @xtra_libs@
  33. prefix = @prefix@
  34. exec_prefix = $(prefix)
  35. # Where to install the executable.
  36. bindir = $(exec_prefix)/bin
  37.  
  38. #### End of system configuration section. ####
  39.  
  40. objs = guile.o 
  41. c_files = guile.c
  42.  
  43. distfiles = COPYING ChangeLog README Makefile.in \
  44.   configure configure.in $(c_files) PLUGIN
  45.  
  46.  
  47. all_objs= $(objs) $(extra_objs)
  48. manifest= $(distfiles)
  49.  
  50. .c.o:
  51.     $(CC)   -c $(CPPFLAGS) $(DEFS) $(CFLAGS) -I$(srcdir) -I$(srcdir)/../libguile -I../libguile $<
  52.  
  53.  
  54.  
  55. all:    guile
  56.  
  57. SUBDIR=.
  58. manifest:
  59.     for file in $(manifest) ; \
  60.       do echo $(SUBDIR)/$$file ; \
  61.     done
  62.  
  63. guile:    $(all_objs) $(extra_dependencies)
  64.     $(CC) $(CFLAGS) -o guile $(all_objs) $(plugin_libs) -lm
  65.     
  66.  
  67. install: all
  68.     test -d $(prefix) || mkdir $(prefix)
  69.     test -d $(bindir) || mkdir $(bindir)
  70.     $(INSTALL) guile $(bindir)/guile
  71.  
  72. uninstall:
  73.     -rm -f $(bindir)/guile
  74.  
  75. TAGS:
  76.     etags $(c_sources)
  77.  
  78. info:
  79.  
  80. clean:
  81.     -rm -f guile
  82.     -rm -f $(all_objs)
  83.  
  84. distclean: clean
  85.     -rm -f config.cache
  86.     -rm -f config.log
  87.     -rm -f config.status
  88.     -rm -f initplugs.c
  89.  
  90. realclean: distclean
  91.  
  92.  
  93. ###
  94.  
  95. guile.o: guile.c initplugs.c
  96.