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.26 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@
45 all: dep vvp.tgt vvp.conf vvp-s.conf
51 $(CC
) $(CPPFLAGS
) $(CFLAGS
) -MD
-c
$< -o
$*.o
54 O
= vvp.o draw_mux.o draw_ufunc.o draw_vpi.o eval_bool.o eval_expr.o \
55 eval_real.o vector.o \
56 vvp_process.o vvp_scope.o
60 TGTDEPLIBS
=..
/libivl.a
67 vvp.tgt
: $O $(TGTDEPLIBS
)
68 $(CC
) @shared@
-o
$@
$O $(TGTLDFLAGS
)
70 vvp.conf
: $(srcdir)/vvp.conf.in
71 echo
'flag:VVP_EXECUTABLE=$(bindir)/vvp' | cat
$(srcdir)/vvp.conf.in
- > vvp.conf
73 vvp-s.conf
: $(srcdir)/vvp-s.conf.in
74 echo
'flag:VVP_EXECUTABLE=$(bindir)/vvp' | cat
$(srcdir)/vvp-s.conf.in
- > vvp-s.conf
76 Makefile
: Makefile.in config.status
80 rm -rf
*.o dep vvp.tgt vvp.conf vvp-s.conf
83 rm -f Makefile config.status config.log config.cache vvp_config.h
87 install: all installdirs $(libdir)/ivl
/vvp.tgt
$(libdir)/ivl
/vvp.conf
$(libdir)/ivl
/vvp-s.conf
89 $(libdir)/ivl
/vvp.tgt
: .
/vvp.tgt
90 $(INSTALL_PROGRAM
) .
/vvp.tgt
$(libdir)/ivl
/vvp.tgt
92 $(libdir)/ivl
/vvp.conf
: vvp.conf
93 $(INSTALL_DATA
) $< $(libdir)/ivl
/vvp.conf
95 $(libdir)/ivl
/vvp-s.conf
: vvp-s.conf
96 $(INSTALL_DATA
) $< $(libdir)/ivl
/vvp-s.conf
99 installdirs: ..
/mkinstalldirs
100 $(srcdir)/..
/mkinstalldirs
$(libdir)/ivl
103 rm -f
$(libdir)/ivl
/vvp.tgt
$(libdir)/ivl
/vvp.conf
$(libdir)/ivl
/vvp-s.conf
106 -include $(patsubst %.o
, dep
/%.d
, $O)