Bochs/bochs-testing/plugin-test/test3-twomodules/Makefile.in

33 lines
750 B
Makefile
Raw Normal View History

top_builddir = ..
top_srcdir = @srcdir@/..
2002-10-11 22:32:27 +04:00
srcdir = @srcdir@
VPATH = @srcdir@
CXX=@CXX@
CXXFLAGS=@CXXFLAGS@
LDFLAGS=@LDFLAGS@ @LT_LDFLAGS@
LIBTOOL=@LIBTOOL@
RPATH=`pwd`/lib
all: uselib
uselib: uselib.cc libmodule1.la libmodule2.la
2002-10-11 22:32:27 +04:00
$(LIBTOOL) $(CXX) $(LDFLAGS) -o uselib $(srcdir)/uselib.cc libmodule1.la libmodule2.la
libmodule1.la: module1.lo
$(LIBTOOL) $(CXX) $(LDFLAGS) -o libmodule1.la module1.lo -rpath ${RPATH}
mkdir -p lib bin
$(LIBTOOL) cp libmodule1.la ${RPATH}
libmodule2.la: module2.lo
$(LIBTOOL) $(CXX) $(LDFLAGS) -o libmodule2.la module2.lo -rpath ${RPATH}
mkdir -p lib bin
$(LIBTOOL) cp libmodule2.la ${RPATH}
%.lo: %.cc
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
include ${top_srcdir}/common-make-defs.txt
clean: clean-common