Add support for text macros with arguments.
[iverilog.git] / driver-vpi / Makefile.in
blob78c50a860a3e71ebfb170a05b99bfd4b28998c4a
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.
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 $"
22 SHELL = /bin/sh
24 VERSION = 0.8
26 prefix = @prefix@
27 exec_prefix = @exec_prefix@
28 srcdir = @srcdir@
30 VPATH = $(srcdir)
32 bindir = $(exec_prefix)/bin
33 libdir = $(exec_prefix)/lib
34 includedir = $(prefix)/include
35 mandir = @mandir@
37 dllib=@DLLIB@
39 CC = @CC@
40 INSTALL = @INSTALL@
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@
46 LDFLAGS = @LDFLAGS@
48 all: iverilog-vpi@EXEEXT@
50 clean:
51 rm -f *.o
52 rm -f iverilog-vpi@EXEEXT@
54 distclean: clean
55 rm -f Makefile
57 O = main.o res.o
59 iverilog-vpi@EXEEXT@: $O
60 $(CC) $(LDFLAGS) $O -o iverilog-vpi@EXEEXT@ @EXTRALIBS@
63 main.o: main.c
64 $(CC) $(CPPFLAGS) $(CFLAGS) -c $(srcdir)/main.c
66 # Windows specific...
67 res.o: res.rc
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)
79 uninstall:
80 rm -f $(bindir)/iverilog-vpi@EXEEXT@