1999-07-03 19:24:11 +02:00
|
|
|
#
|
|
|
|
|
# This source code is free software; you can redistribute it
|
|
|
|
|
# and/or modify it in source code form 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. In order to redistribute the software in
|
|
|
|
|
# binary form, you will need a Picture Elements Binary Software
|
|
|
|
|
# License.
|
|
|
|
|
#
|
|
|
|
|
# This program 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 program; if not, write to the Free
|
|
|
|
|
# Software Foundation, Inc.,
|
|
|
|
|
# 59 Temple Place - Suite 330
|
|
|
|
|
# Boston, MA 02111-1307, USA
|
|
|
|
|
#
|
2004-10-04 03:10:51 +02:00
|
|
|
#ident "$Id: Makefile.in,v 1.17 2004/10/04 01:10:56 steve Exp $"
|
1999-07-03 19:24:11 +02:00
|
|
|
#
|
|
|
|
|
#
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
|
|
VERSION = 0.0
|
|
|
|
|
|
|
|
|
|
prefix = @prefix@
|
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
|
srcdir = @srcdir@
|
|
|
|
|
|
|
|
|
|
VPATH = $(srcdir)
|
|
|
|
|
|
2000-11-11 01:48:35 +01:00
|
|
|
bindir = @bindir@
|
|
|
|
|
libdir = @libdir@
|
1999-07-03 19:24:11 +02:00
|
|
|
includedir = $(prefix)/include
|
|
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
|
2004-02-10 20:25:00 +01:00
|
|
|
CPPFLAGS = @ident_support@ -I. -I.. -I$(srcdir)/.. -I$(srcdir) @CPPFLAGS@ @DEFS@
|
|
|
|
|
CFLAGS = -Wall @CFLAGS@
|
2004-10-04 03:10:51 +02:00
|
|
|
LDFLAGS = @LDFLAGS@
|
1999-07-03 19:24:11 +02:00
|
|
|
|
|
|
|
|
all: ivlpp
|
|
|
|
|
|
1999-07-30 02:42:33 +02:00
|
|
|
clean:
|
2003-02-27 23:13:22 +01:00
|
|
|
rm -f *.o lexor.c parse.c parse.h parse.output ivlpp
|
|
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
|
rm -f Makefile
|
1999-07-30 02:42:33 +02:00
|
|
|
|
1999-07-03 19:24:11 +02:00
|
|
|
O = main.o lexor.o parse.o
|
|
|
|
|
|
|
|
|
|
ivlpp: $O
|
2001-05-20 17:09:39 +02:00
|
|
|
$(CC) $(LDFLAGS) $O -o ivlpp @EXTRALIBS@
|
1999-07-03 19:24:11 +02:00
|
|
|
|
|
|
|
|
lexor.c: lexor.lex
|
2001-01-09 04:11:27 +01:00
|
|
|
flex -s -olexor.c $(srcdir)/lexor.lex
|
1999-07-03 19:24:11 +02:00
|
|
|
|
|
|
|
|
parse.h parse.c: parse.y
|
2001-08-10 02:39:22 +02:00
|
|
|
bison --verbose -t -d -o parse.c $(srcdir)/parse.y
|
1999-07-03 19:24:11 +02:00
|
|
|
|
2000-01-01 21:57:50 +01:00
|
|
|
install: all installdirs $(libdir)/ivl/ivlpp
|
1999-07-03 19:24:11 +02:00
|
|
|
|
2000-01-01 21:57:50 +01:00
|
|
|
$(libdir)/ivl/ivlpp: ivlpp
|
|
|
|
|
$(INSTALL_PROGRAM) ./ivlpp $(libdir)/ivl/ivlpp
|
1999-07-03 19:24:11 +02:00
|
|
|
|
1999-07-28 05:17:03 +02:00
|
|
|
installdirs: ../mkinstalldirs
|
2000-01-01 21:57:50 +01:00
|
|
|
$(srcdir)/../mkinstalldirs $(libdir)/ivl
|
1999-07-03 19:24:11 +02:00
|
|
|
|
|
|
|
|
uninstall:
|
2000-01-01 21:57:50 +01:00
|
|
|
rm -f $(libdir)/ivl/ivlpp
|
1999-07-03 19:24:11 +02:00
|
|
|
|
1999-07-03 22:03:47 +02:00
|
|
|
lexor.o: lexor.c parse.h globals.h
|
|
|
|
|
main.o: main.c globals.h
|
1999-07-03 19:24:11 +02:00
|
|
|
parse.o: parse.c
|