Add support for text macros with arguments.
[iverilog.git] / vpip / Makefile.in
blob0b98525aa752efbf91fffac0d985897cba6347a6
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. In order to redistribute the software in
7 # binary form, you will need a Picture Elements Binary Software
8 # License.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Library General Public License for more details.
15 # You should have received a copy of the GNU Library General Public
16 # License along with this program; if not, write to the Free
17 # Software Foundation, Inc.,
18 # 59 Temple Place - Suite 330
19 # Boston, MA 02111-1307, USA
21 #ident "$Id: Makefile.in,v 1.9 2007/02/06 05:07:32 steve Exp $"
24 SHELL = /bin/sh
27 prefix = @prefix@
28 exec_prefix = @exec_prefix@
29 srcdir = @srcdir@
31 VPATH = $(srcdir)
33 bindir = @bindir@
34 libdir = @libdir@
35 includedir = $(prefix)/include
37 CC = @CC@
38 INSTALL = @INSTALL@
39 INSTALL_PROGRAM = @INSTALL_PROGRAM@
40 INSTALL_DATA = @INSTALL_DATA@
42 CPPFLAGS = @ident_support@ -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
43 CFLAGS = -Wall @CFLAGS@
44 LDFLAGS = @LDFLAGS@
45 STRIP = @STRIP@
47 P = vpi_bit.o vpi_callback.o \
48 vpi_const.o vpi_iter.o vpi_memory.o vpi_null.o \
49 vpi_priv.o vpi_scope.o vpi_signal.o vpi_simulation.o vpi_systask.o vpi_time.o \
50 vpi_mcd.o vpi_vlog_info.o
54 all: dep libvpip.a
56 check: all
58 Makefile: Makefile.in config.status
59 ./config.status
61 libvpip.a: $P
62 ld -r -o vpip.o $P
63 rm -f $@
64 ar cvq $@ vpip.o
66 libvvm.a: $O
67 rm -f $@
68 ar cvq $@ $O
70 dep:
71 mkdir dep
73 %.o: %.c
74 $(CC) $(CPPFLAGS) $(CFLAGS) -MD -c $< -o $*.o
75 mv $*.d dep
78 clean:
79 rm -rf *.o dep libvpip.a
81 distclean: clean
82 rm -f Makefile config.status config.log config.cache
84 install:: all installdirs \
85 $(libdir)/libvpip.a \
86 $(includedir)/vpi_priv.h
88 $(libdir)/libvpip.a: ./libvpip.a
89 $(INSTALL_DATA) ./libvpip.a $(libdir)/libvpip.a
91 $(includedir)/vpi_priv.h: $(srcdir)/vpi_priv.h
92 $(INSTALL_DATA) $(srcdir)/vpi_priv.h $(includedir)/vpi_priv.h
94 installdirs: mkinstalldirs
95 $(srcdir)/mkinstalldirs $(includedir) $(libdir)
97 uninstall::
98 rm -f $(libdir)/libvpip.a
99 rm -f $(includedir)/vpi_priv.h
101 -include $(patsubst %.o, dep/%.d, $O $P)