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.12 2004/02/10 19:25:01 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
57 TGTLDFLAGS
= -L..
-livl
58 TGTDEPLIBS
=..
/libivl.a
64 verilog.tgt
: $O $(TGTDEPLIBS
)
65 $(CC
) @shared@
-o
$@
$O $(TGTLDFLAGS
)
68 rm -rf
*.o dep verilog.tgt
73 install: all installdirs $(libdir)/ivl
/verilog.tgt \
74 $(includedir)/vpi_user.h
76 $(libdir)/ivl
/verilog.tgt
: .
/verilog.tgt
77 $(INSTALL_PROGRAM
) .
/verilog.tgt
$(libdir)/ivl
/verilog.tgt
80 installdirs: ..
/mkinstalldirs
81 $(srcdir)/..
/mkinstalldirs
$(libdir)/ivl
84 rm -f
$(libdir)/ivl
/verilog.tgt
87 -include $(patsubst %.o
, dep
/%.d
, $O)