Makefile.in 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. # $Id: Makefile.in,v 1.48 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 menu 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. LIBTOOL = @LIBTOOL@
  56. LIBTOOL_CLEAN = @LIB_CLEAN@
  57. LIBTOOL_COMPILE = @LIB_COMPILE@
  58. LIBTOOL_LINK = @LIB_LINK@
  59. LIBTOOL_INSTALL = @LIB_INSTALL@
  60. LIBTOOL_UNINSTALL = @LIB_UNINSTALL@
  61. INSTALL = @INSTALL@
  62. INSTALL_LIB = @INSTALL@ @INSTALL_LIB@
  63. INSTALL_PROG = @INSTALL_PROGRAM@
  64. INSTALL_DATA = @INSTALL_DATA@
  65. AR = @AR@
  66. AR_OPTS = @AR_OPTS@
  67. AWK = @AWK@
  68. LD = @LD@
  69. LN_S = @LN_S@
  70. CC = @CC@
  71. CPP = @CPP@
  72. CFLAGS = @CFLAGS@
  73. CPPFLAGS = -I@top_srcdir@/ncurses -DHAVE_CONFIG_H @CPPFLAGS@
  74. CCFLAGS = $(CPPFLAGS) $(CFLAGS)
  75. CFLAGS_LIBTOOL = $(CCFLAGS)
  76. CFLAGS_NORMAL = $(CCFLAGS)
  77. CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
  78. CFLAGS_PROFILE = $(CCFLAGS) -pg
  79. CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
  80. CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
  81. LINK = $(LIBTOOL_LINK)
  82. LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
  83. SHLIB_DIRS = -L../lib
  84. SHLIB_LIST = $(SHLIB_DIRS) -lncurses@LIB_SUFFIX@ @SHLIB_LIST@
  85. MK_SHARED_LIB = @MK_SHARED_LIB@
  86. NCURSES_MAJOR = @NCURSES_MAJOR@
  87. NCURSES_MINOR = @NCURSES_MINOR@
  88. REL_VERSION = @cf_cv_rel_version@
  89. ABI_VERSION = @cf_cv_abi_version@
  90. RANLIB = @LIB_PREP@
  91. LIBRARIES = @LIBS_TO_MAKE@
  92. LINT = @LINT@
  93. LINT_OPTS = @LINT_OPTS@
  94. LINT_LIBS = -lmenu -lncurses @LIBS@
  95. AUTO_SRC = \
  96. ../include/menu.h \
  97. ../include/eti.h \
  98. ../include/mf_common.h
  99. ################################################################################
  100. all \
  101. libs \
  102. install :: $(AUTO_SRC) $(LIBRARIES)
  103. sources : $(AUTO_SRC)
  104. $(DESTDIR)$(bindir) \
  105. $(DESTDIR)$(libdir) :
  106. sh $(srcdir)/../mkdirs.sh $@
  107. # make copies to simplify include-paths while still keeping menu's include
  108. # file in this directory.
  109. ../include/menu.h : $(srcdir)/menu.h
  110. -rm -f $@
  111. cp $(srcdir)/menu.h $@
  112. ../include/eti.h : $(srcdir)/eti.h
  113. -rm -f $@
  114. cp $(srcdir)/eti.h $@
  115. ../include/mf_common.h : $(srcdir)/mf_common.h
  116. -rm -f $@
  117. cp $(srcdir)/mf_common.h $@
  118. MENU_PRIV_H = \
  119. $(srcdir)/menu.priv.h \
  120. $(AUTO_SRC) \
  121. ../include/curses.h
  122. tags:
  123. ctags *.[ch]
  124. @MAKE_UPPER_TAGS@TAGS:
  125. @MAKE_UPPER_TAGS@ etags *.[ch]
  126. mostlyclean ::
  127. -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
  128. clean :: mostlyclean
  129. -rm -f $(AUTO_SRC)
  130. distclean :: clean
  131. -rm -f Makefile
  132. realclean :: distclean
  133. ###############################################################################
  134. # The remainder of this file is automatically generated during configuration
  135. ###############################################################################