Makefile.in 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. # $Id: Makefile.in,v 1.47 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 form 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 = -lform -lncurses @LIBS@
  95. AUTO_SRC = \
  96. ../include/form.h
  97. ################################################################################
  98. all \
  99. libs \
  100. install :: $(AUTO_SRC) $(LIBRARIES)
  101. sources : $(AUTO_SRC)
  102. $(DESTDIR)$(bindir) \
  103. $(DESTDIR)$(libdir) :
  104. sh $(srcdir)/../mkdirs.sh $@
  105. # make copies to simplify include-paths while still keeping form's include
  106. # file in this directory.
  107. ../include/form.h : $(srcdir)/form.h
  108. -rm -f $@
  109. cp $(srcdir)/form.h $@
  110. FORM_PRIV_H = \
  111. $(srcdir)/form.priv.h \
  112. $(srcdir)/form.h \
  113. ../include/mf_common.h \
  114. ../include/curses.h \
  115. ../include/eti.h
  116. tags:
  117. ctags *.[ch]
  118. @MAKE_UPPER_TAGS@TAGS:
  119. @MAKE_UPPER_TAGS@ etags *.[ch]
  120. mostlyclean ::
  121. -rm -f core tags TAGS *~ *.bak *.i *.ln *.atac trace
  122. clean :: mostlyclean
  123. -rm -f $(AUTO_SRC)
  124. distclean :: clean
  125. -rm -f Makefile
  126. realclean :: distclean
  127. ../include/mf_common.h \
  128. ../include/eti.h :
  129. cd ../menu && $(MAKE) $@
  130. ###############################################################################
  131. # The remainder of this file is automatically generated during configuration
  132. ###############################################################################