Makefile.in 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. # $Id: Makefile.in,v 1.52 2007/04/28 14:56:11 tom Exp $
  2. ##############################################################################
  3. # Copyright (c) 1998-2006,2007 Free Software Foundation, Inc. #
  4. # #
  5. # Permission is hereby granted, free of charge, to any person obtaining a #
  6. # copy of this software and associated documentation files (the "Software"), #
  7. # to deal in the Software without restriction, including without limitation #
  8. # the rights to use, copy, modify, merge, publish, distribute, distribute #
  9. # with modifications, sublicense, and/or sell copies of the Software, and to #
  10. # permit persons to whom the Software is furnished to do so, subject to the #
  11. # following conditions: #
  12. # #
  13. # The above copyright notice and this permission notice shall be included in #
  14. # all copies or substantial portions of the Software. #
  15. # #
  16. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
  17. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
  18. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
  19. # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
  20. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
  21. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
  22. # DEALINGS IN THE SOFTWARE. #
  23. # #
  24. # Except as contained in this notice, the name(s) of the above copyright #
  25. # holders shall not be used in advertising or otherwise to promote the sale, #
  26. # use or other dealings in this Software without prior written #
  27. # authorization. #
  28. ##############################################################################
  29. #
  30. # Author: Thomas E. Dickey 1996-on
  31. #
  32. # Makefile for panels source code.
  33. #
  34. # This makes the following:
  35. # libraries (normal/debug/profile/shared)
  36. #
  37. # The variable 'srcdir' refers to the source-distribution, and can be set with
  38. # the configure script by "--srcdir=DIR".
  39. #
  40. # The rules are organized to produce the libraries for the configured models,
  41. # turn off _all_ suffix rules; we'll generate our own
  42. .SUFFIXES:
  43. SHELL = /bin/sh
  44. THIS = Makefile
  45. x = @EXEEXT@
  46. o = .@OBJEXT@
  47. MODEL = @DFT_LWR_MODEL@
  48. DESTDIR = @DESTDIR@
  49. srcdir = @srcdir@
  50. prefix = @prefix@
  51. exec_prefix = @exec_prefix@
  52. bindir = @bindir@
  53. libdir = @libdir@
  54. includedir = @includedir@
  55. datadir = @datadir@
  56. LIBTOOL = @LIBTOOL@
  57. LIBTOOL_CLEAN = @LIB_CLEAN@
  58. LIBTOOL_COMPILE = @LIB_COMPILE@
  59. LIBTOOL_LINK = @LIB_LINK@
  60. LIBTOOL_INSTALL = @LIB_INSTALL@
  61. LIBTOOL_UNINSTALL = @LIB_UNINSTALL@
  62. INSTALL = @INSTALL@
  63. INSTALL_LIB = @INSTALL@ @INSTALL_LIB@
  64. INSTALL_PROG = @INSTALL_PROGRAM@
  65. INSTALL_DATA = @INSTALL_DATA@
  66. AR = @AR@
  67. AR_OPTS = @AR_OPTS@
  68. AWK = @AWK@
  69. LD = @LD@
  70. LN_S = @LN_S@
  71. CC = @CC@
  72. CPP = @CPP@
  73. CFLAGS = @CFLAGS@
  74. CPPFLAGS = -I@top_srcdir@/ncurses -DHAVE_CONFIG_H @CPPFLAGS@
  75. CCFLAGS = $(CPPFLAGS) $(CFLAGS)
  76. CFLAGS_LIBTOOL = $(CCFLAGS)
  77. CFLAGS_NORMAL = $(CCFLAGS)
  78. CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
  79. CFLAGS_PROFILE = $(CCFLAGS) -pg
  80. CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
  81. CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
  82. LINK = $(LIBTOOL_LINK)
  83. LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
  84. SHLIB_DIRS = -L../lib
  85. SHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@
  86. MK_SHARED_LIB = @MK_SHARED_LIB@
  87. NCURSES_MAJOR = @NCURSES_MAJOR@
  88. NCURSES_MINOR = @NCURSES_MINOR@
  89. REL_VERSION = @cf_cv_rel_version@
  90. ABI_VERSION = @cf_cv_abi_version@
  91. RANLIB = @LIB_PREP@
  92. LIBRARIES = @LIBS_TO_MAKE@
  93. LINT = @LINT@
  94. LINT_OPTS = @LINT_OPTS@
  95. LINT_LIBS = -lpanel -lncurses @LIBS@
  96. AUTO_SRC = \
  97. ../include/panel.h
  98. ################################################################################
  99. all \
  100. libs \
  101. install :: $(AUTO_SRC) $(LIBRARIES)
  102. sources: $(AUTO_SRC)
  103. $(DESTDIR)$(bindir) \
  104. $(DESTDIR)$(libdir) :
  105. sh $(srcdir)/../mkdirs.sh $@
  106. # make a copy to simplify include-paths while still keeping panel's include
  107. # file in this directory.
  108. ../include/panel.h : $(srcdir)/panel.h
  109. -rm -f $@
  110. cp $(srcdir)/panel.h $@
  111. PANEL_PRIV_H = \
  112. $(srcdir)/panel.priv.h \
  113. $(srcdir)/panel.h
  114. tags:
  115. ctags *.[ch]
  116. @MAKE_UPPER_TAGS@TAGS:
  117. @MAKE_UPPER_TAGS@ etags *.[ch]
  118. mostlyclean ::
  119. -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
  120. clean :: mostlyclean
  121. -rm -f $(AUTO_SRC)
  122. distclean :: clean
  123. -rm -f Makefile
  124. realclean :: distclean
  125. ###############################################################################
  126. # The remainder of this file is automatically generated during configuration
  127. ###############################################################################