]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/samples/Makefile.in
ncurses 5.7 - patch 20081122
[ncurses.git] / Ada95 / samples / Makefile.in
index 2130e4a357dfee9a291f7eb4747a9a716496901c..340e3bd4bcb449842ae6484e09cfd0a83e4fc19d 100644 (file)
@@ -1,39 +1,47 @@
-#----------------------------------------------------------------------------
-#                                                                          --
-#                            GNAT ncurses Binding                          --
-#                              samples/Makefile                            --
-#                                                                          --
-#  Version 00.92                                                           --
-#                                                                          --
-#  The ncurses Ada95 binding is copyrighted 1996 by                        --
-#  Juergen Pfeifer, Email: Juergen.Pfeifer@T-Online.de                     --
-#                                                                          --
-#  Permission is hereby granted to reproduce and distribute this           --
-#  binding by any means and for any fee, whether alone or as part          --
-#  of a larger distribution, in source or in binary form, PROVIDED         --
-#  this notice is included with any such distribution, and is not          --
-#  removed from any of its header files. Mention of ncurses and the        --
-#  author of this binding in any applications linked with it is            --
-#  highly appreciated.                                                     --
-#                                                                          --
-#  This binding comes AS IS with no warranty, implied or expressed.        --
-#----------------------------------------------------------------------------
-#  Version Control
-#  $Revision: 1.7 $
+##############################################################################
+# Copyright (c) 1998-2005,2008 Free Software Foundation, Inc.                #
+#                                                                            #
+# Permission is hereby granted, free of charge, to any person obtaining a    #
+# copy of this software and associated documentation files (the "Software"), #
+# to deal in the Software without restriction, including without limitation  #
+# the rights to use, copy, modify, merge, publish, distribute, distribute    #
+# with modifications, sublicense, and/or sell copies of the Software, and to #
+# permit persons to whom the Software is furnished to do so, subject to the  #
+# following conditions:                                                      #
+#                                                                            #
+# The above copyright notice and this permission notice shall be included in #
+# all copies or substantial portions of the Software.                        #
+#                                                                            #
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR #
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,   #
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL    #
+# THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER      #
+# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING    #
+# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER        #
+# DEALINGS IN THE SOFTWARE.                                                  #
+#                                                                            #
+# Except as contained in this notice, the name(s) of the above copyright     #
+# holders shall not be used in advertising or otherwise to promote the sale, #
+# use or other dealings in this Software without prior written               #
+# authorization.                                                             #
+##############################################################################
+#
+#  Author:  Juergen Pfeifer, 1996
+#
+#  $Id: Makefile.in,v 1.35 2008/11/23 00:17:20 juergen Exp $
 #
 .SUFFIXES:
 
 SHELL          = /bin/sh
 THIS           = Makefile
 
 #
 .SUFFIXES:
 
 SHELL          = /bin/sh
 THIS           = Makefile
 
-MODEL          = ../../@DFT_OBJ_SUBDIR@
+x              = @PROG_EXT@
+
 srcdir         = @srcdir@
 prefix         = @prefix@
 exec_prefix    = @exec_prefix@
 libdir         = @libdir@
 includedir     = @includedir@
 srcdir         = @srcdir@
 prefix         = @prefix@
 exec_prefix    = @exec_prefix@
 libdir         = @libdir@
 includedir     = @includedir@
-datadir                = @datadir@
-ticdir         = $(datadir)/terminfo
 
 INSTALL                = @INSTALL@
 INSTALL_DATA   = @INSTALL_DATA@
 
 INSTALL                = @INSTALL@
 INSTALL_DATA   = @INSTALL_DATA@
@@ -56,29 +64,32 @@ CFLAGS_SHARED       = $(CCFLAGS) @CC_SHARED_OPTS@
 
 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
 
 
 CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
 
+REL_VERSION    = @cf_cv_rel_version@
+ABI_VERSION    = @cf_cv_abi_version@
+LOCAL_LIBDIR   = @top_builddir@/lib
+
 LINK           = $(CC)
 LDFLAGS                = @LDFLAGS@ @LD_MODEL@ @LIBS@
 
 RANLIB         = @RANLIB@
 ################################################################################
 LINK           = $(CC)
 LDFLAGS                = @LDFLAGS@ @LD_MODEL@ @LIBS@
 
 RANLIB         = @RANLIB@
 ################################################################################
-ada_srcdir=../ada_include
-ada_objdir=../ada_objects
+ada_srcdir=../src
 
 LD_FLAGS     = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS)
 
 
 LD_FLAGS     = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS)
 
-ADA          = @nc_ada_compiler@
+ADA          = @cf_ada_compiler@
 ADAFLAGS     = @ADAFLAGS@ -I$(srcdir)
 
 ADAFLAGS     = @ADAFLAGS@ -I$(srcdir)
 
-ADAMAKE      = @nc_ada_make@
-ADAMAKEFLAGS = -aI$(srcdir) -aI$(ada_srcdir) -aI$(srcdir)/$(ada_srcdir) -aO$(ada_objdir)
+ADAMAKE      = @cf_ada_make@
+ADAMAKEFLAGS = -a -A$(srcdir) -A$(ada_srcdir) -A$(srcdir)/$(ada_srcdir)
 
 
-ALIB         = @nc_ada_package@
+ALIB         = @cf_ada_package@
 ABASE        = $(ALIB)-curses
 
 CARGS        =-cargs $(ADAFLAGS)
 ABASE        = $(ALIB)-curses
 
 CARGS        =-cargs $(ADAFLAGS)
-LARGS        =-largs -L../../lib $(LD_FLAGS)
-
-PROGS        = tour
+LARGS        =-largs @TEST_ARG2@ $(LD_FLAGS) -lAdaCurses
+PROGS        = tour rain ncurses 
 
 TOUR_OBJS    = tour.o sample.o sample-curses_demo.o sample-explanation.o       \
                sample-form_demo.o sample-function_key_setting.o                \
 
 TOUR_OBJS    = tour.o sample.o sample-curses_demo.o sample-explanation.o       \
                sample-form_demo.o sample-function_key_setting.o                \
@@ -88,25 +99,56 @@ TOUR_OBJS    =      tour.o sample.o sample-curses_demo.o sample-explanation.o       \
                sample-curses_demo-attributes.o sample-curses_demo-mouse.o      \
                sample-form_demo-aux.o sample-my_field_type.o
 
                sample-curses_demo-attributes.o sample-curses_demo-mouse.o      \
                sample-form_demo-aux.o sample-my_field_type.o
 
-all ::  demo1
-       @
+RAIN_OBJS    = rain.o status.o
+
+NCURSES_OBJS = ncurses.o               ncurses2-getch_test.o \
+       ncurses2-acs_and_scroll.o       ncurses2-m.o \
+       ncurses2-acs_display.o          ncurses2-menu_test.o \
+       ncurses2-attr_test.o            ncurses2-overlap_test.o \
+       ncurses2-color_edit.o           ncurses2-slk_test.o \
+       ncurses2-color_test.o           ncurses2-test_sgr_attributes.o \
+       ncurses2-demo_forms.o           ncurses2-trace_set.o \
+       ncurses2-demo_pad.o             ncurses2-util.o \
+       ncurses2-demo_panels.o          ncurses2.o \
+       ncurses2-flushinp_test.o
+
+
+all ::  tour$x rain$x ncurses$x
+       @echo made $@
+
+sources :
+       @echo made $@
 
 
-demo1: explain.msg
+libs \
+install \
+install.libs ::
+       @echo made $@
+
+uninstall \
+uninstall.libs ::
+       @echo made $@
+
+ncurses$x :
+       $(ADAMAKE) $(ADAMAKEFLAGS) ncurses $(CARGS) $(LARGS)
+
+tour$x :       explain.msg
        $(ADAMAKE) $(ADAMAKEFLAGS) tour $(CARGS) $(LARGS)
 
 explain.msg:   $(srcdir)/explain.txt
        cp $(srcdir)/explain.txt $@
 
        $(ADAMAKE) $(ADAMAKEFLAGS) tour $(CARGS) $(LARGS)
 
 explain.msg:   $(srcdir)/explain.txt
        cp $(srcdir)/explain.txt $@
 
-clean ::
-       rm -f *.o *.ali b_t*.* *.s $(PROGS) a.out core b_*_test.c *.xr[bs] explain.msg
+rain$x :
+       $(ADAMAKE) $(ADAMAKEFLAGS) rain $(CARGS) $(LARGS)
+
+mostlyclean:
+       @echo made $@
+
+clean :: mostlyclean
+       rm -f *.o *.ali b_t*.* *.s $(PROGS) a.out core b_*_test.c *.xr[bs] \
+       explain.msg trace screendump b~*.ad[bs]
 
 distclean :: clean
        rm -f Makefile
 
 
 distclean :: clean
        rm -f Makefile
 
-mostlyclean :: clean
-       @
-
 realclean :: distclean
 realclean :: distclean
-       @
-
-
+       @echo made $@