home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / unixtex-6.1b-src.tgz / tar.out / contrib / unixtex / make / common.make < prev    next >
Text File  |  1996-09-28  |  1KB  |  48 lines

  1. # common.make -- used by all Makefiles.
  2. SHELL = /bin/sh
  3. @SET_MAKE@
  4. top_srcdir = @top_srcdir@
  5. srcdir = @srcdir@
  6. VPATH = @srcdir@
  7.  
  8. CC = @CC@
  9. #LN_S = @LN_S@
  10. LN_S = cp -p
  11. #LN = @LN_S@
  12. LN = cp -p
  13.  
  14. # CFLAGS is used for both compilation and linking.
  15. CFLAGS = @CFLAGS@ $(XCFLAGS)
  16.  
  17. # Do not override CPPFLAGS; change XCPPFLAGS, CFLAGS, XCFLAGS, or DEFS instead.
  18. CPPFLAGS = $(XCPPFLAGS) -I. -I$(srcdir) \
  19.        -I$(kpathsea_parent) -I$(kpathsea_srcdir_parent) \
  20.        $(prog_cflags) @CPPFLAGS@ $(DEFS) 
  21. .c.o:
  22.     $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
  23. .SUFFIXES: .c .o
  24.  
  25. # Installation.
  26. INSTALL = @INSTALL@
  27. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  28. INSTALL_DATA = @INSTALL_DATA@
  29.  
  30. # This is used to recursively copy a fonts/ or tex/ directory to
  31. # $(fontdir) or $(texinputdir).
  32. # The first arg is `.', and the second is the target directory.
  33. CP_R = cp -r
  34.  
  35. # This is so kpathsea will get remade automatically if you change
  36. # something in it and recompile from the package directory.
  37. kpathsea_parent = ..
  38. kpathsea_dir = $(kpathsea_parent)/kpathsea
  39. kpathsea_srcdir_parent = $(top_srcdir)/..
  40. kpathsea_srcdir = $(kpathsea_srcdir_parent)/kpathsea
  41. kpathsea = $(kpathsea_dir)/kpathsea.a
  42.  
  43. ##ifeq ($(CC), gcc)
  44. ##XDEFS = -Wall -Wpointer-arith $(warn_more)
  45. ##CFLAGS = -g $(XCFLAGS)
  46. ##endif
  47. # End of common.make.
  48.