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.7 2004/10/13 22:01:34 steve Exp $"
27 exec_prefix = @
exec_prefix@
32 bindir = $(exec_prefix)/bin
33 libdir = $(exec_prefix)/lib
34 includedir = $(prefix)/include
41 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
42 INSTALL_DATA
= @INSTALL_DATA@
44 CPPFLAGS
= @ident_support@
-I.
-I
$(srcdir)/..
-DVERSION
='"$(VERSION)"' @CPPFLAGS@ @DEFS@
45 CFLAGS
= -Wall @CFLAGS@
48 all: iverilog-vpi@EXEEXT@
52 rm -f iverilog-vpi@EXEEXT@
59 iverilog-vpi@EXEEXT@
: $O
60 $(CC
) $(LDFLAGS
) $O -o iverilog-vpi@EXEEXT@ @EXTRALIBS@
64 $(CC
) $(CPPFLAGS
) $(CFLAGS
) -c
$(srcdir)/main.c
68 windres
-i res.rc
-o res.o
71 install: all installdirs $(bindir)/iverilog-vpi@EXEEXT@
73 $(bindir)/iverilog-vpi@EXEEXT@
: .
/iverilog-vpi@EXEEXT@
74 $(INSTALL_PROGRAM
) .
/iverilog-vpi@EXEEXT@
$(bindir)/iverilog-vpi@EXEEXT@
76 installdirs: ..
/mkinstalldirs
77 $(srcdir)/..
/mkinstalldirs
$(bindir)
80 rm -f
$(bindir)/iverilog-vpi@EXEEXT@