- move some makefile stuff that is common to all subdirs into

common-make-defs.txt
This commit is contained in:
Bryce Denney 2002-10-16 04:09:24 +00:00
parent 7fc1a8b2cf
commit 1ee55d9edb
7 changed files with 19 additions and 55 deletions

View File

@ -1,4 +1,5 @@
top_builddir = ..
top_srcdir = @srcdir@/..
srcdir = @srcdir@
VPATH = @srcdir@
@ -18,11 +19,6 @@ libmodule1.la: module1.lo
%.lo: %.cc
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
test:
@echo "*** Running test in `pwd`"
-./uselib
@echo "*** Test done in `pwd`"
include ${top_srcdir}/common-make-defs.txt
clean:
-$(LIBTOOL) rm libmodule1.la module1.lo uselib.exe uselib
rm -rf .libs
clean: clean-common

View File

@ -1,4 +1,5 @@
top_builddir = ..
top_srcdir = @srcdir@/..
srcdir = @srcdir@
VPATH = @srcdir@
@ -21,12 +22,6 @@ libmodule1.la: module1.lo
%.lo: %.cc %.h
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
test:
@echo "*** Running test in `pwd`"
-./uselib
@echo "*** Test done in `pwd`"
include ${top_srcdir}/common-make-defs.txt
clean:
-$(LIBTOOL) rm libmodule1.la module1.lo
rm -rf *.o uselib.exe bin lib uselib uselib.exe
rm -rf .libs
clean: clean-common

View File

@ -1,4 +1,5 @@
top_builddir = ..
top_srcdir = @srcdir@/..
srcdir = @srcdir@
VPATH = @srcdir@
@ -26,12 +27,6 @@ libmodule2.la: module2.lo
%.lo: %.cc
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
test:
@echo "*** Running test in `pwd`"
-./uselib
@echo "*** Test done in `pwd`"
include ${top_srcdir}/common-make-defs.txt
clean:
-$(LIBTOOL) rm libmodule1.la module1.lo libmodule2.la module2.lo
rm -rf *.o uselib.exe bin lib uselib uselib.exe
rm -rf .libs
clean: clean-common

View File

@ -1,4 +1,5 @@
top_builddir = ..
top_srcdir = @srcdir@/..
srcdir = @srcdir@
VPATH = @srcdir@
@ -26,12 +27,6 @@ libmodule2.la: module2.lo
%.lo: %.cc
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
test:
@echo "*** Running test in `pwd`"
-./uselib
@echo "*** Test done in `pwd`"
include ${top_srcdir}/common-make-defs.txt
clean:
-$(LIBTOOL) rm libmodule1.la module1.lo libmodule2.la module2.lo
rm -rf *.o uselib.exe bin lib uselib uselib.exe
rm -rf .libs
clean: clean-common

View File

@ -1,4 +1,5 @@
top_builddir = ..
top_srcdir = @srcdir@/..
srcdir = @srcdir@
VPATH = @srcdir@
@ -26,12 +27,6 @@ libmodule2.la: module2.lo
%.lo: %.cc
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
test:
@echo "*** Running test in `pwd`"
-./uselib
@echo "*** Test done in `pwd`"
include ${top_srcdir}/common-make-defs.txt
clean:
-$(LIBTOOL) rm libmodule1.la module1.lo libmodule2.la module2.lo
rm -rf *.o uselib.exe bin lib uselib uselib.exe
rm -rf .libs
clean: clean-common

View File

@ -48,12 +48,6 @@ uselib.exe: main.cc main.h
$(CXX) $(CXXFLAGS) -c $<
#######################################################################
test:
@echo "*** Running test in `pwd`"
-./uselib
@echo "*** Test done in `pwd`"
include ${top_srcdir}/common-make-defs.txt
clean:
-$(LIBTOOL) rm libmodule1.la module1.lo libmodule2.la module2.lo
rm -rf *.o *.lo *.la uselib.exe bin lib uselib uselib.exe
rm -rf .libs
clean: clean-common

View File

@ -25,12 +25,6 @@ module2.dll: module2.cc main.h
%.o: %.cc
$(CXX) $(CXXFLAGS) -c $<
test:
@echo "*** Running test in `pwd`"
-./uselib
@echo "*** Test done in `pwd`"
include ${top_srcdir}/common-make-defs.txt
clean:
-$(LIBTOOL) rm libmodule1.la module1.lo libmodule2.la module2.lo
-rm -rf *.o *.lo *.la *.dll uselib.exe bin lib uselib uselib.exe
-rm -rf .libs
clean: clean-common