Add support for text macros with arguments.
[iverilog.git] / tgt-null / Makefile.in
blob47291c039690fbad024c272e6d048676d74036c2
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.11 2004/02/10 19:25:01 steve Exp $"
22 SHELL = /bin/sh
24 VERSION = 0.0
26 prefix = @prefix@
27 exec_prefix = @exec_prefix@
28 srcdir = @srcdir@
30 VPATH = $(srcdir)
32 bindir = @bindir@
33 libdir = @libdir@
34 includedir = $(prefix)/include
36 CC = @CC@
37 INSTALL = @INSTALL@
38 INSTALL_PROGRAM = @INSTALL_PROGRAM@
39 INSTALL_DATA = @INSTALL_DATA@
41 CPPFLAGS = @ident_support@ -I.. -I$(srcdir)/.. -I$(srcdir) @CPPFLAGS@ @DEFS@ @PICFLAG@
42 CFLAGS = -Wall @CFLAGS@
43 LDFLAGS = @LDFLAGS@
45 all: dep null.tgt
47 dep:
48 mkdir dep
50 %.o: %.c
51 $(CC) $(CPPFLAGS) $(CFLAGS) -MD -c $< -o $*.o
52 mv $*.d dep
54 O = null.o
56 ifeq (@CYGWIN@,yes)
57 TGTLDFLAGS=-L.. -livl
58 TGTDEPLIBS=../libivl.a
59 else
60 TGTLDFLAGS=
61 TGTDEPLIBS=
62 endif
65 null.tgt: $O $(TGTDEPLIBS)
66 $(CC) @shared@ -o $@ $O $(TGTLDFLAGS)
68 clean:
69 rm -rf *.o dep null.tgt
71 distclean: clean
72 rm -f Makefile config.status config.log config.cache
74 install: all installdirs $(libdir)/ivl/null.tgt $(INSTALL_DOC) $(libdir)/ivl/null.conf $(libdir)/ivl/null-s.conf
76 $(libdir)/ivl/null.tgt: ./null.tgt
77 $(INSTALL_PROGRAM) ./null.tgt $(libdir)/ivl/null.tgt
79 $(libdir)/ivl/null.conf: $(srcdir)/null.conf
80 $(INSTALL_DATA) $(srcdir)/null.conf $(libdir)/ivl/null.conf
82 $(libdir)/ivl/null-s.conf: $(srcdir)/null-s.conf
83 $(INSTALL_DATA) $(srcdir)/null-s.conf $(libdir)/ivl/null-s.conf
86 installdirs: ../mkinstalldirs
87 $(srcdir)/../mkinstalldirs $(includedir) $(bindir) $(libdir)/ivl
89 uninstall:
90 rm -f $(libdir)/ivl/null.tgt
91 rm -f $(libdir)/ivl/null.conf
92 rm -f $(libdir)/ivl/null-s.conf
95 -include $(patsubst %.o, dep/%.d, $O)