]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/samples/Makefile.in
ncurses 5.7 - patch 20101127
[ncurses.git] / Ada95 / samples / Makefile.in
index 09ed5518d46ffacbda52e4207f5a801160e0a123..3d1554c721119cafbcae9e930dea61c6fe75ddb2 100644 (file)
@@ -1,5 +1,5 @@
 ##############################################################################
 ##############################################################################
-# Copyright (c) 1998 Free Software Foundation, Inc.                          #
+# Copyright (c) 1998-2009,2010 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"), #
 #                                                                            #
 # Permission is hereby granted, free of charge, to any person obtaining a    #
 # copy of this software and associated documentation files (the "Software"), #
 # authorization.                                                             #
 ##############################################################################
 #
 # authorization.                                                             #
 ##############################################################################
 #
-#  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+#  Author:  Juergen Pfeifer, 1996
 #
 #
-#  Version Control
-#  $Revision: 1.16 $
+#  $Id: Makefile.in,v 1.40 2010/11/27 21:45:27 tom Exp $
 #
 .SUFFIXES:
 
 SHELL          = /bin/sh
 #
 .SUFFIXES:
 
 SHELL          = /bin/sh
+VPATH          = @srcdir@
 THIS           = Makefile
 
 THIS           = Makefile
 
+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@
@@ -65,13 +65,16 @@ 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)
 
@@ -79,59 +82,52 @@ ADA          = @cf_ada_compiler@
 ADAFLAGS     = @ADAFLAGS@ -I$(srcdir)
 
 ADAMAKE      = @cf_ada_make@
 ADAFLAGS     = @ADAFLAGS@ -I$(srcdir)
 
 ADAMAKE      = @cf_ada_make@
-ADAMAKEFLAGS = -aI$(srcdir) -aI$(ada_srcdir) -aI$(srcdir)/$(ada_srcdir) -aO$(ada_objdir)
+ADAMAKEFLAGS = -a -A$(srcdir) -A$(ada_srcdir) -A$(srcdir)/$(ada_srcdir)
 
 ALIB         = @cf_ada_package@
 ABASE        = $(ALIB)-curses
 
 CARGS        =-cargs $(ADAFLAGS)
 
 ALIB         = @cf_ada_package@
 ABASE        = $(ALIB)-curses
 
 CARGS        =-cargs $(ADAFLAGS)
-LARGS        =-largs -L../../lib $(LD_FLAGS)
-
-PROGS        = tour rain
-
-TOUR_OBJS    = tour.o sample.o sample-curses_demo.o sample-explanation.o       \
-               sample-form_demo.o sample-function_key_setting.o                \
-               sample-header_handler.o sample-helpers.o                        \
-               sample-keyboard_handler.o sample-manifest.o sample-menu_demo.o  \
-               sample-menu_demo-aux.o sample-text_io_demo.o                    \
-               sample-curses_demo-attributes.o sample-curses_demo-mouse.o      \
-               sample-form_demo-aux.o sample-my_field_type.o
+LARGS        =-largs @TEST_ARG2@ $(LD_FLAGS) -L../lib -lAdaCurses @TEST_LIBS2@
 
 
-RAIN_OBJS    = rain.o status.o
+PROGS        = tour rain ncurses
 
 
-all ::  demo1 rainy_day
-       @
+all ::  tour$x rain$x ncurses$x
+       @echo made $@
 
 sources :
 
 sources :
-       @
+       @echo made $@
 
 
+libs \
 install \
 install.libs ::
 install \
 install.libs ::
-       @
+       @echo made $@
 
 uninstall \
 uninstall.libs ::
 
 uninstall \
 uninstall.libs ::
-       @
+       @echo made $@
 
 
-demo1: explain.msg
+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 $@
 
-rainy_day:
+rain$x :
        $(ADAMAKE) $(ADAMAKEFLAGS) rain $(CARGS) $(LARGS)
 
 mostlyclean:
        $(ADAMAKE) $(ADAMAKEFLAGS) rain $(CARGS) $(LARGS)
 
 mostlyclean:
-       @
+       @echo made $@
 
 clean :: mostlyclean
 
 clean :: mostlyclean
-       rm -f *.o *.ali b_t*.* *.s $(PROGS) a.out core b_*_test.c *.xr[bs] explain.msg
+       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
 
 realclean :: distclean
 
 distclean :: clean
        rm -f Makefile
 
 realclean :: distclean
-       @
-
-
+       @echo made $@