home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / ncurses-1.9.9e-src.tgz / tar.out / fsf / ncurses / panel / Makefile.in next >
Makefile  |  1996-09-28  |  2KB  |  96 lines

  1. # Makefile for panels source code.
  2. #
  3. # This makes the following:
  4. #    libraries (normal/debug/profile/shared)
  5. #
  6. # The variable 'srcdir' refers to the source-distribution, and can be set with
  7. # the configure script by "--srcdir=DIR".
  8. #
  9. # The rules are organized to produce the libraries for the configured models,
  10.  
  11. # turn off _all_ suffix rules; we'll generate our own
  12. .SUFFIXES:
  13.  
  14. SHELL        = /bin/sh
  15. THIS        = Makefile
  16.  
  17. MODEL        = @DFT_LWR_MODEL@
  18. srcdir        = @srcdir@
  19. prefix        = @prefix@
  20. exec_prefix    = @exec_prefix@
  21. libdir        = $(exec_prefix)/lib
  22. includedir    = @includedir@
  23.  
  24. # We'd put terminfo in /usr/share/terminfo, but that's not the convention...
  25. ticdir        = @datadir@
  26.  
  27. INSTALL        = @INSTALL@
  28. INSTALL_DATA    = @INSTALL_DATA@
  29.  
  30. AWK        = @AWK@
  31. LN_S        = @LN_S@
  32.  
  33. CC        = @CC@
  34. CFLAGS        = @CFLAGS@
  35.  
  36. CPPFLAGS    = @CPPFLAGS@ \
  37.           -DHAVE_CONFIG_H -DTERMINFO=\"$(ticdir)\"
  38.  
  39. CCFLAGS        = $(CPPFLAGS) $(CFLAGS)
  40.  
  41. CFLAGS_NORMAL    = $(CCFLAGS)
  42. CFLAGS_DEBUG    = $(CCFLAGS) @CC_G_OPT@ -DTRACE
  43. CFLAGS_PROFILE    = $(CCFLAGS) -pg
  44. CFLAGS_SHARED    = $(CCFLAGS) @CC_SHARED_OPTS@
  45.  
  46. CFLAGS_DEFAULT    = $(CFLAGS_@DFT_UPR_MODEL@)
  47.  
  48. LINK        = $(CC)
  49. LDFLAGS        = @LDFLAGS@ @LD_MODEL@ @LIBS@
  50.  
  51. MK_SHARED_LIB    = @MK_SHARED_LIB@
  52. REL_VERSION    = @nc_cv_rel_version@
  53. ABI_VERSION    = @nc_cv_abi_version@
  54.  
  55. RANLIB        = @RANLIB@
  56.  
  57. LIBRARIES    = @LIBS_TO_MAKE@
  58.  
  59. ################################################################################
  60. all ::    ../include/panel.h $(LIBRARIES)
  61.  
  62. install :: install.libs
  63.  
  64. install.libs:: $(includedir) $(libdir)
  65.     $(INSTALL_DATA) $(srcdir)/panel.h $(includedir)/panel.h
  66.  
  67. $(includedir) \
  68. $(libdir) :
  69.     $(srcdir)/../mkinstalldirs $@
  70.  
  71. # make a copy to simplify include-paths while still keeping panel's include
  72. # file in this directory.
  73. ../include/panel.h : $(srcdir)/panel.h
  74.     -rm -f $@
  75.     cp $(srcdir)/panel.h $@
  76.  
  77. tags:
  78.     ctags *.[ch]
  79.  
  80. TAGS:
  81.     etags *.[ch]
  82.  
  83. clean ::
  84.     -rm -f tags TAGS *~ ../include/panel.h
  85.  
  86. distclean: clean
  87.     -rm -f Makefile
  88.  
  89. mostlyclean: clean
  90.  
  91. realclean: distclean
  92.  
  93. ###############################################################################
  94. # The remainder of this file is automatically generated during configuration
  95. ###############################################################################
  96.