74 lines
1.8 KiB
Makefile
74 lines
1.8 KiB
Makefile
|
|
#
|
||
|
|
# 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
|
||
|
|
#
|
||
|
|
#ident "$Id: Makefile.in,v 1.1 1999/04/26 02:35:44 steve Exp $"
|
||
|
|
#
|
||
|
|
#
|
||
|
|
SHELL = /bin/sh
|
||
|
|
|
||
|
|
VERSION = 0.0
|
||
|
|
|
||
|
|
prefix = @prefix@
|
||
|
|
exec_prefix = @exec_prefix@
|
||
|
|
srcdir = @srcdir@
|
||
|
|
|
||
|
|
VPATH = $(srcdir)
|
||
|
|
|
||
|
|
bindir = $(exec_prefix)/bin
|
||
|
|
libdir = $(exec_prefix)/lib
|
||
|
|
includedir = $(prefix)/include
|
||
|
|
|
||
|
|
CC = @CC@
|
||
|
|
CXX = @CXX@
|
||
|
|
INSTALL = @INSTALL@
|
||
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||
|
|
INSTALL_DATA = @INSTALL_DATA@
|
||
|
|
|
||
|
|
CPPFLAGS = @CPPFLAGS@ @DEFS@
|
||
|
|
CXXFLAGS = @CXXFLAGS@
|
||
|
|
LDFLAGS = @LDFLAGS@
|
||
|
|
|
||
|
|
all: libvvm.a
|
||
|
|
|
||
|
|
%.o dep/%.d: %.cc
|
||
|
|
$(CXX) -Wall -fno-exceptions $(CXXFLAGS) -MD -c $< -o $*.o
|
||
|
|
mv $*.d dep
|
||
|
|
|
||
|
|
TF = display.o
|
||
|
|
O = vvm_bit.o vvm_calltf.o vvm_event.o vvm_monitor.o vvm_pevent.o \
|
||
|
|
vvm_simulation.o vvm_thread.o $(TF)
|
||
|
|
|
||
|
|
libvvm.a: $O
|
||
|
|
rm -f $@
|
||
|
|
ar cvqf $@ $O
|
||
|
|
|
||
|
|
clean:
|
||
|
|
rm -f *.o dep/*.d
|
||
|
|
|
||
|
|
install: all installdirs
|
||
|
|
|
||
|
|
|
||
|
|
installdirs: mkinstalldirs
|
||
|
|
$(srcdir)/mkinstalldirs $(includedir) $(bindir)
|
||
|
|
|
||
|
|
uninstall:
|
||
|
|
|
||
|
|
-include $(patsubst %.o, dep/%.d, $O)
|