]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/samples/Makefile.in
ncurses 5.7 - patch 20081122
[ncurses.git] / Ada95 / samples / Makefile.in
index c43e2873bc81aa036686b1837a7a40f2578cbcd5..340e3bd4bcb449842ae6484e09cfd0a83e4fc19d 100644 (file)
@@ -1,5 +1,5 @@
 ##############################################################################
-# Copyright (c) 1998 Free Software Foundation, Inc.                          #
+# 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"), #
 # authorization.                                                             #
 ##############################################################################
 #
-#  Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
+#  Author:  Juergen Pfeifer, 1996
 #
-#  Version Control
-#  $Revision: 1.21 $
+#  $Id: Makefile.in,v 1.35 2008/11/23 00:17:20 juergen Exp $
 #
 .SUFFIXES:
 
 SHELL          = /bin/sh
 THIS           = Makefile
 
+x              = @PROG_EXT@
+
 srcdir         = @srcdir@
 prefix         = @prefix@
 exec_prefix    = @exec_prefix@
@@ -63,6 +64,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@
 
@@ -82,9 +87,9 @@ ALIB         = @cf_ada_package@
 ABASE        = $(ALIB)-curses
 
 CARGS        =-cargs $(ADAFLAGS)
-LARGS        =-largs -L../../lib $(LD_FLAGS) -lncurses
-
-PROGS        = tour rain
+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                \
@@ -96,39 +101,54 @@ TOUR_OBJS    =     tour.o sample.o sample-curses_demo.o sample-explanation.o       \
 
 RAIN_OBJS    = rain.o status.o
 
-all ::  demo1 rainy_day
-       @
+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 $@
 
+libs \
 install \
 install.libs ::
-       @
+       @echo made $@
 
 uninstall \
 uninstall.libs ::
-       @
+       @echo made $@
+
+ncurses$x :
+       $(ADAMAKE) $(ADAMAKEFLAGS) ncurses $(CARGS) $(LARGS)
 
-demo1: explain.msg
+tour$x :       explain.msg
        $(ADAMAKE) $(ADAMAKEFLAGS) tour $(CARGS) $(LARGS)
 
 explain.msg:   $(srcdir)/explain.txt
        cp $(srcdir)/explain.txt $@
 
-rainy_day:
+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] \
+       explain.msg trace screendump b~*.ad[bs]
 
 distclean :: clean
        rm -f Makefile
 
 realclean :: distclean
-       @
-
-
+       @echo made $@