ncursesw-morphos/Ada95/samples/Makefile.in

136 lines
4.3 KiB
Makefile
Raw Normal View History

1998-03-01 12:21:12 +08:00
##############################################################################
# Copyright (c) 1998 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. #
##############################################################################
#
1999-10-24 12:32:42 +08:00
# Author: Juergen Pfeifer <juergen.pfeifer@gmx.net> 1996
1998-03-01 12:21:12 +08:00
#
1997-05-15 12:00:00 +08:00
# Version Control
2000-07-09 10:46:08 +08:00
# $Revision: 1.24 $
1997-05-15 12:00:00 +08:00
#
.SUFFIXES:
SHELL = /bin/sh
THIS = Makefile
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = @libdir@
includedir = @includedir@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
AWK = @AWK@
LN_S = @LN_S@
CC = @CC@
CFLAGS = @CFLAGS@
CPPFLAGS = @ACPPFLAGS@ \
-DHAVE_CONFIG_H -I$(srcdir)
CCFLAGS = $(CPPFLAGS) $(CFLAGS)
CFLAGS_NORMAL = $(CCFLAGS)
CFLAGS_DEBUG = $(CCFLAGS) @CC_G_OPT@ -DTRACE
CFLAGS_PROFILE = $(CCFLAGS) -pg
CFLAGS_SHARED = $(CCFLAGS) @CC_SHARED_OPTS@
CFLAGS_DEFAULT = $(CFLAGS_@DFT_UPR_MODEL@)
LINK = $(CC)
LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
RANLIB = @RANLIB@
################################################################################
1999-10-24 12:32:42 +08:00
ada_srcdir=../src
1997-05-15 12:00:00 +08:00
LD_FLAGS = @LD_MODEL@ $(LOCAL_LIBS) @LDFLAGS@ @LIBS@ @LOCAL_LDFLAGS2@ $(LDFLAGS)
1998-03-01 12:21:12 +08:00
ADA = @cf_ada_compiler@
1997-05-15 12:00:00 +08:00
ADAFLAGS = @ADAFLAGS@ -I$(srcdir)
1998-03-01 12:21:12 +08:00
ADAMAKE = @cf_ada_make@
1999-10-24 12:32:42 +08:00
ADAMAKEFLAGS = -a -A$(srcdir) -A$(ada_srcdir) -A$(srcdir)/$(ada_srcdir)
1997-05-15 12:00:00 +08:00
1998-03-01 12:21:12 +08:00
ALIB = @cf_ada_package@
1997-05-15 12:00:00 +08:00
ABASE = $(ALIB)-curses
CARGS =-cargs $(ADAFLAGS)
2000-07-09 10:46:08 +08:00
LARGS =-largs -L../../lib $(LD_FLAGS) -lAdaCurses -lncurses@LIB_SUFFIX@
1997-05-15 12:00:00 +08:00
1998-03-01 12:21:12 +08:00
PROGS = tour rain
1997-05-15 12:00:00 +08:00
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
1998-03-01 12:21:12 +08:00
RAIN_OBJS = rain.o status.o
all :: demo1 rainy_day
@
sources :
@
2000-07-09 10:46:08 +08:00
libs \
1998-03-01 12:21:12 +08:00
install \
install.libs ::
@
uninstall \
uninstall.libs ::
1997-05-15 12:00:00 +08:00
@
demo1: explain.msg
$(ADAMAKE) $(ADAMAKEFLAGS) tour $(CARGS) $(LARGS)
explain.msg: $(srcdir)/explain.txt
cp $(srcdir)/explain.txt $@
1998-03-01 12:21:12 +08:00
rainy_day:
$(ADAMAKE) $(ADAMAKEFLAGS) rain $(CARGS) $(LARGS)
mostlyclean:
@
clean :: mostlyclean
1997-05-15 12:00:00 +08:00
rm -f *.o *.ali b_t*.* *.s $(PROGS) a.out core b_*_test.c *.xr[bs] explain.msg
distclean :: clean
rm -f Makefile
realclean :: distclean
@