iverilog/cadpli/Makefile.in

106 lines
2.4 KiB
Makefile
Raw Normal View History

2003-02-16 03:23:54 +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.
#
# 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-10-04 03:09:07 +02:00
#ident "$Id: Makefile.in,v 1.11 2004/10/04 01:09:07 steve Exp $"
2003-02-16 03:23:54 +01:00
#
#
SHELL = /bin/sh
VERSION = 0.0
prefix = @prefix@
exec_prefix = @exec_prefix@
srcdir = @srcdir@
VPATH = $(srcdir)
bindir = @bindir@
libdir = @libdir@
includedir = $(prefix)/include
vpidir = @libdir@/ivl/@vpidir1@
2003-02-16 03:23:54 +01:00
strip_dynamic=@strip_dynamic@
CC = @CC@
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)/.. -I.. @CPPFLAGS@ @DEFS@ @PICFLAG@
CFLAGS = -Wall @CFLAGS@
2003-02-16 03:23:54 +01:00
LDFLAGS = @LDFLAGS@
STRIP = @STRIP@
2003-10-09 03:07:20 +02:00
SHARED = @shared@
all:
ifeq (@enable_vvp32@,yes)
vpidir32 = $(libdir)/ivl/@vpidir2@
ALL32 = all32
INSTALL32 = install32
UNINSTALL32 = uninistall32
include $(srcdir)/enable_vvp32.mk
endif
all: dep cadpli.vpl $(ALL32)
2003-02-16 03:23:54 +01:00
2003-02-24 23:35:56 +01:00
# No specific check operations.
check: all
dep:
mkdir dep
2003-02-16 03:23:54 +01:00
%.o: %.c
2004-02-10 20:25:00 +01:00
$(CC) $(CPPFLAGS) $(CFLAGS) -MD -c $<
2003-02-16 03:23:54 +01:00
mv $*.d dep
O = cadpli.o
2003-10-06 23:27:05 +02:00
SYSTEM_VPI_LDFLAGS = -L../vvp -lvpi
2003-02-16 03:23:54 +01:00
ifeq (@WIN32@,yes)
SYSTEM_VPI_LDFLAGS += @EXTRALIBS@
2003-02-16 03:23:54 +01:00
endif
2003-10-06 23:27:05 +02:00
cadpli.vpl: $O ../vvp/libvpi.a ../libveriuser/libveriuser.o
$(CC) @shared@ -o $@ $O ../libveriuser/libveriuser.o $(SYSTEM_VPI_LDFLAGS)
2003-02-16 03:23:54 +01:00
clean:
2004-10-04 03:09:07 +02:00
rm -rf *.o dep cadpli.vpl bin32
distclean: clean
rm -f Makefile config.status config.log config.cache
2003-02-16 03:23:54 +01:00
2003-10-09 03:07:20 +02:00
install: all installdirs $(vpidir)/cadpli.vpl $(INSTALL32)
2003-02-16 03:23:54 +01:00
$(vpidir)/cadpli.vpl: ./cadpli.vpl
$(INSTALL_PROGRAM) ./cadpli.vpl $(vpidir)/cadpli.vpl
2003-02-16 03:23:54 +01:00
installdirs: ../mkinstalldirs
$(srcdir)/../mkinstalldirs $(vpidir)
2003-02-16 03:23:54 +01:00
2003-10-09 03:07:20 +02:00
uninstall: $(UNINSTALL32)
rm -f $(vpidir)/cadpli.vpl
2003-02-16 03:23:54 +01:00
2003-10-09 03:07:20 +02:00
ifeq (@enable_vvp32@,yes)
include $(srcdir)/enable_vvp32.mk
endif
2003-02-16 03:23:54 +01:00
-include $(patsubst %.o, dep/%.d, $O)