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)
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 # GNU Library General Public License for more details.
13 # You should have received a copy of the GNU Library General Public
14 # License along with this program; if not, write to the Free
15 # Software Foundation, Inc.,
16 # 59 Temple Place - Suite 330
17 # Boston, MA 02111-1307, USA
19 #ident "$Id: Makefile.in,v 1.20 2007/02/06 05:07:32 steve Exp $"
27 exec_prefix = @
exec_prefix@
34 includedir = $(prefix)/include
38 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
39 INSTALL_DATA
= @INSTALL_DATA@
41 CPPFLAGS
= @ident_support@
-I..
-I
$(srcdir)/.. @CPPFLAGS@ @DEFS@ @PICFLAG@
42 CFLAGS
= -Wall @CFLAGS@
51 $(CC
) $(CPPFLAGS
) $(CFLAGS
) -MD
-c
$< -o
$*.o
54 O
= stub.o expression.o statement.o
58 TGTDEPLIBS
=..
/libivl.a
65 stub.tgt
: $O $(TGTDEPLIBS
)
66 $(CC
) @shared@
-o
$@
$O $(TGTLDFLAGS
)
69 rm -rf
*.o dep stub.tgt
72 rm -f Makefile config.status config.log
74 install: all installdirs $(libdir)/ivl
/stub.tgt \
75 $(libdir)/ivl
/stub.conf
$(libdir)/ivl
/stub-s.conf
77 $(libdir)/ivl
/stub.tgt
: .
/stub.tgt
78 $(INSTALL_PROGRAM
) .
/stub.tgt
$(libdir)/ivl
/stub.tgt
80 $(libdir)/ivl
/stub.conf
: .
/stub.conf
81 $(INSTALL_DATA
) .
/stub.conf
$(libdir)/ivl
/stub.conf
83 $(libdir)/ivl
/stub-s.conf
: .
/stub-s.conf
84 $(INSTALL_DATA
) .
/stub-s.conf
$(libdir)/ivl
/stub-s.conf
86 installdirs: ..
/mkinstalldirs
87 $(srcdir)/..
/mkinstalldirs
$(includedir) $(bindir) $(libdir)/ivl
90 rm -f
$(libdir)/ivl
/stub.tgt
91 rm -f
$(libdir)/ivl
/stub.conf
92 rm -f
$(libdir)/ivl
/stub-s.conf
95 -include $(patsubst %.o
, dep
/%.d
, $O)