2 # This source code is free software; you can redistribute it
3 # and/or modify it in source code form under the terms of the GNU
4 # Library General Public License as published by the Free Software
5 # Foundation; either version 2 of the License, or (at your option)
6 # any later version. In order to redistribute the software in
7 # binary form, you will need a Picture Elements Binary Software
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Library General Public License for more details.
15 # You should have received a copy of the GNU Library General Public
16 # License along with this program; if not, write to the Free
17 # Software Foundation, Inc.,
18 # 59 Temple Place - Suite 330
19 # Boston, MA 02111-1307, USA
21 #ident "$Id: Makefile.in,v 1.18 2006/10/30 22:45:37 steve Exp $"
29 exec_prefix = @
exec_prefix@
36 includedir = $(prefix)/include
40 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
41 INSTALL_DATA
= @INSTALL_DATA@
43 CPPFLAGS
= @ident_support@
-I.
-I..
-I
$(srcdir)/..
-I
$(srcdir) @CPPFLAGS@ @DEFS@
44 CFLAGS
= -Wall @CFLAGS@
50 rm -f
*.o lexor.c parse.c parse.h parse.output ivlpp@EXEEXT@
55 O
= main.o lexor.o parse.o
58 $(CC
) $(LDFLAGS
) $O -o ivlpp@EXEEXT@ @EXTRALIBS@
61 flex
-s
-olexor.c
$(srcdir)/lexor.
lex
63 parse.h parse.c
: parse.y
64 bison
--verbose
-t
-d
-o parse.c
$(srcdir)/parse.y
66 install: all installdirs $(libdir)/ivl
/ivlpp@EXEEXT@
68 $(libdir)/ivl
/ivlpp@EXEEXT@
: ivlpp@EXEEXT@
69 $(INSTALL_PROGRAM
) .
/ivlpp@EXEEXT@
$(libdir)/ivl
/ivlpp@EXEEXT@
71 installdirs: ..
/mkinstalldirs
72 $(srcdir)/..
/mkinstalldirs
$(libdir)/ivl
75 rm -f
$(libdir)/ivl
/ivlpp@EXEEXT@
77 lexor.o
: lexor.c parse.h globals.h
78 main.o
: main.c globals.h