]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/samples/Makefile.in
ncurses 5.8 - patch 20110307
[ncurses.git] / Ada95 / samples / Makefile.in
index d9cf0cf738aacfdacdb301ee27e9d46ab1c28105..0179fcf435fe140518b7346ee6be2b568cbd0a77 100644 (file)
@@ -1,5 +1,5 @@
 ##############################################################################
-# Copyright (c) 1998 Free Software Foundation, Inc.                          #
+# Copyright (c) 1998-2010,2011 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"), #
 # authorization.                                                             #
 ##############################################################################
 #
-#  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
+#  Author:  Juergen Pfeifer, 1996
 #
-#  Version Control
-#  $Revision: 1.25 $
+#  $Id: Makefile.in,v 1.41 2011/03/06 01:22:23 Nicolas.Boulenguez Exp $
 #
 .SUFFIXES:
 
 SHELL          = /bin/sh
+VPATH          = @srcdir@
 THIS           = Makefile
 
 x              = @PROG_EXT@
@@ -65,6 +65,10 @@ CFLAGS_SHARED        = $(CCFLAGS) @CC_SHARED_OPTS@
 
 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@
 
@@ -84,54 +88,43 @@ ALIB         = @cf_ada_package@
 ABASE        = $(ALIB)-curses
 
 CARGS        =-cargs $(ADAFLAGS)
-LARGS        =-largs -L../../lib $(LD_FLAGS) -lAdaCurses -lncurses@LIB_SUFFIX@
-
-PROGS        = tour rain
+LARGS        =-largs @TEST_ARG2@ $(LD_FLAGS) -L../lib -lAdaCurses @TEST_LIBS2@
 
-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
+PROGS        = tour rain ncurses
 
-RAIN_OBJS    = rain.o status.o
-
-all ::  tour$x rain$x
-       @
+all ::  tour$x rain$x ncurses$x
+       @echo made $@
 
 sources :
-       @
+       @echo made $@
 
 libs \
 install \
 install.libs ::
-       @
+       @echo made $@
 
 uninstall \
 uninstall.libs ::
-       @
+       @echo made $@
 
-tour$x :       explain.msg
-       $(ADAMAKE) $(ADAMAKEFLAGS) tour $(CARGS) $(LARGS)
+ncurses$x :
+       $(ADAMAKE) $(ADAMAKEFLAGS) ncurses $(CARGS) $(LARGS)
 
-explain.msg:   $(srcdir)/explain.txt
-       cp $(srcdir)/explain.txt $@
+tour$x :
+       $(ADAMAKE) $(ADAMAKEFLAGS) tour $(CARGS) $(LARGS)
 
 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
+       rm -f *.o *.ali b_t*.* *.s $(PROGS) a.out core b_*_test.c *.xr[bs] \
+       trace screendump b~*.ad[bs]
 
 distclean :: clean
        rm -f Makefile
 
 realclean :: distclean
-       @
-
-
+       @echo made $@