############################################################################
# Copyright (C) 2005 Martin Krischik
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the Free
# Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
############################################################################
#
# RCS, PVCS Daten:
#
# $Archive$
# $Workfile$
# $RCSfile$
# $Source$
#
# $Author$
# $Locker$
#
# $Revision$
# $Date$
# $Modtime: 21 Jan 2003 09:12:46 $
# $State$
# $Name$
#
# $Header$
# $Id makefile,v 4.17 2004/02/23 13:08:49 krischik Exp $
#
############################################################################
.SUFFIXES : .ada .adb .ads
.SUFFIXES : .wiki
all: \
attributes \
converting \
functions \
hello_world \
numeric \
operator_multiply \
ranges \
show_commandline \
fibonacci
clean:
gnat clean -P GNAT/attributes.gpr
gnat clean -P GNAT/converting.gpr
gnat clean -P GNAT/functions.gpr
gnat clean -P GNAT/hello_world.gpr
gnat clean -P GNAT/numeric.gpr
gnat clean -P GNAT/operator_multiply.gpr
gnat clean -P GNAT/ranges.gpr
gnat clean -P GNAT/show_commandline.gpr
gnat clean -P GNAT/fibonacci.gpr
attributes:
gnat make -P GNAT/attributes.gpr
gnat pretty -P GNAT/attributes.gpr
converting:
gnat make -P GNAT/converting.gpr
gnat pretty -P GNAT/converting.gpr
functions:
gnat make -P GNAT/functions.gpr
gnat pretty -P GNAT/functions.gpr
hello_world:
gnat make -P GNAT/hello_world.gpr
gnat pretty -P GNAT/hello_world.gpr
numeric:
gnat make -P GNAT/numeric.gpr
gnat pretty -P GNAT/numeric.gpr
operator_multiply:
gnat make -P GNAT/operator_multiply.gpr
gnat pretty -P GNAT/operator_multiply.gpr
ranges:
gnat make -P GNAT/ranges.gpr
gnat pretty -P GNAT/ranges.gpr
show_commandline:
gnat make -P GNAT/show_commandline.gpr
gnat pretty -P GNAT/show_commandline.gpr
fibonacci:
gnat make -P GNAT/fibonacci.gpr
gnat pretty -P GNAT/fibonacci.gpr
convert: \
./Converted/numeric_1.adb \
./Converted/numeric_2.adb \
./Converted/numeric_3.adb \
./Converted/numeric_4.adb \
./Converted/numeric_5.adb
./Converted/%.adb : ./Source/%.adb
sarWIKI --verbose --out=$@ $<
./Converted/%.ads : ./Source/%.ads
sarWIKI --verbose --out=$@ $<
./Converted/%.ada : ./Source/%.ada
sarWIKI --verbose --out=$@ $<
############################################################################
# $Log$
# Revision 2.2 2005/09/29 16:04:09 krischik
# Update CORBA
#
# Revision 2.1 2005/09/14 17:29:15 krischik
# now with multi platform support.
#
# Revision 1.2 2005/09/12 15:38:04 krischik
# cleaunup script
#
# Revision 1.4 2005/09/07 15:58:14 krischik
# now with numeric_8
#
# Revision 1.3 2005/09/02 15:33:53 krischik
# now with numeric_7
#
# Revision 1.2 2005/08/31 16:38:52 krischik
# begin with numeric_6
#
# Revision 1.1 2005/04/24 18:44:56 krischik
# First round with sarWIKI (from AdaCL).
#
############################################################################
# vim: tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
# vim: filetype=make