]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/samples/Makefile.in
ncurses 4.1
[ncurses.git] / Ada95 / samples / Makefile.in
1 #----------------------------------------------------------------------------
2 #                                                                          --
3 #                            GNAT ncurses Binding                          --
4 #                              samples/Makefile                            --
5 #                                                                          --
6 #  Version 00.92                                                           --
7 #                                                                          --
8 #  The ncurses Ada95 binding is copyrighted 1996 by                        --
9 #  Juergen Pfeifer, Email: Juergen.Pfeifer@T-Online.de                     --
10 #                                                                          --
11 #  Permission is hereby granted to reproduce and distribute this           --
12 #  binding by any means and for any fee, whether alone or as part          --
13 #  of a larger distribution, in source or in binary form, PROVIDED         --
14 #  this notice is included with any such distribution, and is not          --
15 #  removed from any of its header files. Mention of ncurses and the        --
16 #  author of this binding in any applications linked with it is            --
17 #  highly appreciated.                                                     --
18 #                                                                          --
19 #  This binding comes AS IS with no warranty, implied or expressed.        --
20 #----------------------------------------------------------------------------
21 #  Version Control
22 #  $Revision: 1.7 $
23 #
24 .SUFFIXES:
25
26 SHELL           = /bin/sh
27 THIS            = Makefile
28
29 MODEL           = ../../@DFT_OBJ_SUBDIR@
30 srcdir          = @srcdir@
31 prefix          = @prefix@
32 exec_prefix     = @exec_prefix@
33 libdir          = @libdir@
34 includedir      = @includedir@
35 datadir         = @datadir@
36 ticdir          = $(datadir)/terminfo
37
38 INSTALL         = @INSTALL@
39 INSTALL_DATA    = @INSTALL_DATA@
40
41 AWK             = @AWK@
42 LN_S            = @LN_S@
43
44 CC              = @CC@
45 CFLAGS          = @CFLAGS@
46
47 CPPFLAGS        = @ACPPFLAGS@ \
48                   -DHAVE_CONFIG_H -I$(srcdir)
49
50 CCFLAGS         = $(CPPFLAGS) $(CFLAGS)
51
52 CFLAGS_NORMAL   = $(CCFLAGS)
53 CFLAGS_DEBUG    = $(CCFLAGS) @CC_G_OPT@ -DTRACE
54 CFLAGS_PROFILE  = $(CCFLAGS) -pg
55 CFLAGS_SHARED   = $(CCFLAGS) @CC_SHARED_OPTS@
56
57 CFLAGS_DEFAULT  = $(CFLAGS_@DFT_UPR_MODEL@)
58
59 LINK            = $(CC)
60 LDFLAGS         = @LDFLAGS@ @LD_MODEL@ @LIBS@
61
62 RANLIB          = @RANLIB@
63 ################################################################################
64 ada_srcdir=../ada_include
65 ada_objdir=../ada_objects
66
67 LD_FLAGS     = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS)
68
69 ADA          = @nc_ada_compiler@
70 ADAFLAGS     = @ADAFLAGS@ -I$(srcdir)
71
72 ADAMAKE      = @nc_ada_make@
73 ADAMAKEFLAGS = -aI$(srcdir) -aI$(ada_srcdir) -aI$(srcdir)/$(ada_srcdir) -aO$(ada_objdir)
74
75 ALIB         = @nc_ada_package@
76 ABASE        = $(ALIB)-curses
77
78 CARGS        =-cargs $(ADAFLAGS)
79 LARGS        =-largs -L../../lib $(LD_FLAGS)
80
81 PROGS        = tour
82
83 TOUR_OBJS    =  tour.o sample.o sample-curses_demo.o sample-explanation.o       \
84                 sample-form_demo.o sample-function_key_setting.o                \
85                 sample-header_handler.o sample-helpers.o                        \
86                 sample-keyboard_handler.o sample-manifest.o sample-menu_demo.o  \
87                 sample-menu_demo-aux.o sample-text_io_demo.o                    \
88                 sample-curses_demo-attributes.o sample-curses_demo-mouse.o      \
89                 sample-form_demo-aux.o sample-my_field_type.o
90
91 all ::  demo1
92         @
93
94 demo1:  explain.msg
95         $(ADAMAKE) $(ADAMAKEFLAGS) tour $(CARGS) $(LARGS)
96
97 explain.msg:    $(srcdir)/explain.txt
98         cp $(srcdir)/explain.txt $@
99
100 clean ::
101         rm -f *.o *.ali b_t*.* *.s $(PROGS) a.out core b_*_test.c *.xr[bs] explain.msg
102
103 distclean :: clean
104         rm -f Makefile
105
106 mostlyclean :: clean
107         @
108
109 realclean :: distclean
110         @
111
112