Makefile.in 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. ##############################################################################
  2. # Copyright (c) 1998-2005,2008 Free Software Foundation, Inc. #
  3. # #
  4. # Permission is hereby granted, free of charge, to any person obtaining a #
  5. # copy of this software and associated documentation files (the "Software"), #
  6. # to deal in the Software without restriction, including without limitation #
  7. # the rights to use, copy, modify, merge, publish, distribute, distribute #
  8. # with modifications, sublicense, and/or sell copies of the Software, and to #
  9. # permit persons to whom the Software is furnished to do so, subject to the #
  10. # following conditions: #
  11. # #
  12. # The above copyright notice and this permission notice shall be included in #
  13. # all copies or substantial portions of the Software. #
  14. # #
  15. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
  16. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, #
  17. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL #
  18. # THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER #
  19. # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING #
  20. # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER #
  21. # DEALINGS IN THE SOFTWARE. #
  22. # #
  23. # Except as contained in this notice, the name(s) of the above copyright #
  24. # holders shall not be used in advertising or otherwise to promote the sale, #
  25. # use or other dealings in this Software without prior written #
  26. # authorization. #
  27. ##############################################################################
  28. #
  29. # Author: Juergen Pfeifer, 1996
  30. #
  31. # $Id: Makefile.in,v 1.35 2008/11/23 00:17:20 juergen Exp $
  32. #
  33. .SUFFIXES:
  34. SHELL = /bin/sh
  35. THIS = Makefile
  36. x = @PROG_EXT@
  37. srcdir = @srcdir@
  38. prefix = @prefix@
  39. exec_prefix = @exec_prefix@
  40. libdir = @libdir@
  41. includedir = @includedir@
  42. INSTALL = @INSTALL@
  43. INSTALL_DATA = @INSTALL_DATA@
  44. AWK = @AWK@
  45. LN_S = @LN_S@
  46. CC = @CC@
  47. CFLAGS = @CFLAGS@
  48. CPPFLAGS = @ACPPFLAGS@ \
  49. -DHAVE_CONFIG_H -I$(srcdir)
  50. CCFLAGS = $(CPPFLAGS) $(CFLAGS)
  51. CFLAGS_NORMAL = $(CCFLAGS)
  52. CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
  53. CFLAGS_PROFILE = $(CCFLAGS) -pg
  54. CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
  55. CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
  56. REL_VERSION = @cf_cv_rel_version@
  57. ABI_VERSION = @cf_cv_abi_version@
  58. LOCAL_LIBDIR = @top_builddir@/lib
  59. LINK = $(CC)
  60. LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
  61. RANLIB = @RANLIB@
  62. ################################################################################
  63. ada_srcdir=../src
  64. LD_FLAGS = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS)
  65. ADA = @cf_ada_compiler@
  66. ADAFLAGS = @ADAFLAGS@ -I$(srcdir)
  67. ADAMAKE = @cf_ada_make@
  68. ADAMAKEFLAGS = -a -A$(srcdir) -A$(ada_srcdir) -A$(srcdir)/$(ada_srcdir)
  69. ALIB = @cf_ada_package@
  70. ABASE = $(ALIB)-curses
  71. CARGS =-cargs $(ADAFLAGS)
  72. LARGS =-largs @TEST_ARG2@ $(LD_FLAGS) -lAdaCurses
  73. PROGS = tour rain ncurses
  74. TOUR_OBJS = tour.o sample.o sample-curses_demo.o sample-explanation.o \
  75. sample-form_demo.o sample-function_key_setting.o \
  76. sample-header_handler.o sample-helpers.o \
  77. sample-keyboard_handler.o sample-manifest.o sample-menu_demo.o \
  78. sample-menu_demo-aux.o sample-text_io_demo.o \
  79. sample-curses_demo-attributes.o sample-curses_demo-mouse.o \
  80. sample-form_demo-aux.o sample-my_field_type.o
  81. RAIN_OBJS = rain.o status.o
  82. NCURSES_OBJS = ncurses.o ncurses2-getch_test.o \
  83. ncurses2-acs_and_scroll.o ncurses2-m.o \
  84. ncurses2-acs_display.o ncurses2-menu_test.o \
  85. ncurses2-attr_test.o ncurses2-overlap_test.o \
  86. ncurses2-color_edit.o ncurses2-slk_test.o \
  87. ncurses2-color_test.o ncurses2-test_sgr_attributes.o \
  88. ncurses2-demo_forms.o ncurses2-trace_set.o \
  89. ncurses2-demo_pad.o ncurses2-util.o \
  90. ncurses2-demo_panels.o ncurses2.o \
  91. ncurses2-flushinp_test.o
  92. all :: tour$x rain$x ncurses$x
  93. @echo made $@
  94. sources :
  95. @echo made $@
  96. libs \
  97. install \
  98. install.libs ::
  99. @echo made $@
  100. uninstall \
  101. uninstall.libs ::
  102. @echo made $@
  103. ncurses$x :
  104. $(ADAMAKE) $(ADAMAKEFLAGS) ncurses $(CARGS) $(LARGS)
  105. tour$x : explain.msg
  106. $(ADAMAKE) $(ADAMAKEFLAGS) tour $(CARGS) $(LARGS)
  107. explain.msg: $(srcdir)/explain.txt
  108. cp $(srcdir)/explain.txt $@
  109. rain$x :
  110. $(ADAMAKE) $(ADAMAKEFLAGS) rain $(CARGS) $(LARGS)
  111. mostlyclean:
  112. @echo made $@
  113. clean :: mostlyclean
  114. rm -f *.o *.ali b_t*.* *.s $(PROGS) a.out core b_*_test.c *.xr[bs] \
  115. explain.msg trace screendump b~*.ad[bs]
  116. distclean :: clean
  117. rm -f Makefile
  118. realclean :: distclean
  119. @echo made $@