iverilog/vpip/Makefile.in

107 lines
2.4 KiB
Makefile
Raw Normal View History

2001-03-14 20:27:44 +01:00
#
# This source code is free software; you can redistribute it
# and/or modify it in source code form under the terms of the GNU
# Library General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option)
# any later version. In order to redistribute the software in
# binary form, you will need a Picture Elements Binary Software
# License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc.,
# 59 Temple Place - Suite 330
# Boston, MA 02111-1307, USA
#
2004-02-10 20:25:00 +01:00
#ident "$Id: Makefile.in,v 1.8 2004/02/10 19:25:01 steve Exp $"
2001-03-14 20:27:44 +01:00
#
#
SHELL = /bin/sh
prefix = @prefix@
exec_prefix = @exec_prefix@
srcdir = @srcdir@
VPATH = $(srcdir)
bindir = @bindir@
libdir = @libdir@
includedir = $(prefix)/include
2004-02-10 20:25:00 +01:00
CC = @CC@
2001-03-14 20:27:44 +01:00
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
2004-02-10 20:25:00 +01:00
CPPFLAGS = @ident_support@ -I$(srcdir) -I$(srcdir)/.. @CPPFLAGS@ @DEFS@
CFLAGS = -Wall @CFLAGS@
2001-03-14 20:27:44 +01:00
LDFLAGS = @LDFLAGS@
STRIP = @STRIP@
P = vpi_bit.o vpi_callback.o \
vpi_const.o vpi_iter.o vpi_memory.o vpi_null.o \
vpi_priv.o vpi_scope.o vpi_signal.o vpi_simulation.o vpi_systask.o vpi_time.o \
vpi_mcd.o vpi_vlog_info.o
all: dep libvpip.a
2001-03-14 20:27:44 +01:00
2001-03-25 07:59:46 +02:00
check: all
Makefile: Makefile.in config.status
./config.status
2001-03-14 20:27:44 +01:00
libvpip.a: $P
ld -r -o vpip.o $P
rm -f $@
ar cvq $@ vpip.o
libvvm.a: $O
rm -f $@
ar cvq $@ $O
dep:
mkdir dep
2001-03-14 20:27:44 +01:00
%.o: %.c
2004-02-10 20:25:00 +01:00
$(CC) $(CPPFLAGS) $(CFLAGS) -MD -c $< -o $*.o
2001-03-14 20:27:44 +01:00
mv $*.d dep
clean:
rm -rf *.o dep libvpip.a
2001-03-14 20:27:44 +01:00
2001-05-20 19:13:27 +02:00
distclean: clean
rm -f Makefile config.status config.log config.cache
2001-03-14 20:27:44 +01:00
install:: all installdirs \
$(libdir)/libvpip.a \
$(includedir)/vpi_priv.h
$(libdir)/libvpip.a: ./libvpip.a
$(INSTALL_DATA) ./libvpip.a $(libdir)/libvpip.a
$(includedir)/vpi_priv.h: $(srcdir)/vpi_priv.h
$(INSTALL_DATA) $(srcdir)/vpi_priv.h $(includedir)/vpi_priv.h
installdirs: mkinstalldirs
$(srcdir)/mkinstalldirs $(includedir) $(libdir)
uninstall::
rm -f $(libdir)/libvpip.a
rm -f $(includedir)/vpi_priv.h
2001-05-20 17:09:39 +02:00
ifeq (@WIN32@,yes)
2001-03-14 20:27:44 +01:00
uninstall::
rm -f $(bindir)/vpip.dll
endif
-include $(patsubst %.o, dep/%.d, $O $P)