- move some makefile stuff that is common to all subdirs into
common-make-defs.txt
This commit is contained in:
parent
7fc1a8b2cf
commit
1ee55d9edb
@ -1,4 +1,5 @@
|
|||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
top_srcdir = @srcdir@/..
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
@ -18,11 +19,6 @@ libmodule1.la: module1.lo
|
|||||||
%.lo: %.cc
|
%.lo: %.cc
|
||||||
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
||||||
|
|
||||||
test:
|
include ${top_srcdir}/common-make-defs.txt
|
||||||
@echo "*** Running test in `pwd`"
|
|
||||||
-./uselib
|
|
||||||
@echo "*** Test done in `pwd`"
|
|
||||||
|
|
||||||
clean:
|
clean: clean-common
|
||||||
-$(LIBTOOL) rm libmodule1.la module1.lo uselib.exe uselib
|
|
||||||
rm -rf .libs
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
top_srcdir = @srcdir@/..
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
@ -21,12 +22,6 @@ libmodule1.la: module1.lo
|
|||||||
%.lo: %.cc %.h
|
%.lo: %.cc %.h
|
||||||
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
||||||
|
|
||||||
test:
|
include ${top_srcdir}/common-make-defs.txt
|
||||||
@echo "*** Running test in `pwd`"
|
|
||||||
-./uselib
|
|
||||||
@echo "*** Test done in `pwd`"
|
|
||||||
|
|
||||||
clean:
|
clean: clean-common
|
||||||
-$(LIBTOOL) rm libmodule1.la module1.lo
|
|
||||||
rm -rf *.o uselib.exe bin lib uselib uselib.exe
|
|
||||||
rm -rf .libs
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
top_srcdir = @srcdir@/..
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
@ -26,12 +27,6 @@ libmodule2.la: module2.lo
|
|||||||
%.lo: %.cc
|
%.lo: %.cc
|
||||||
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
||||||
|
|
||||||
test:
|
include ${top_srcdir}/common-make-defs.txt
|
||||||
@echo "*** Running test in `pwd`"
|
|
||||||
-./uselib
|
|
||||||
@echo "*** Test done in `pwd`"
|
|
||||||
|
|
||||||
clean:
|
clean: clean-common
|
||||||
-$(LIBTOOL) rm libmodule1.la module1.lo libmodule2.la module2.lo
|
|
||||||
rm -rf *.o uselib.exe bin lib uselib uselib.exe
|
|
||||||
rm -rf .libs
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
top_srcdir = @srcdir@/..
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
@ -26,12 +27,6 @@ libmodule2.la: module2.lo
|
|||||||
%.lo: %.cc
|
%.lo: %.cc
|
||||||
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
||||||
|
|
||||||
test:
|
include ${top_srcdir}/common-make-defs.txt
|
||||||
@echo "*** Running test in `pwd`"
|
|
||||||
-./uselib
|
|
||||||
@echo "*** Test done in `pwd`"
|
|
||||||
|
|
||||||
clean:
|
clean: clean-common
|
||||||
-$(LIBTOOL) rm libmodule1.la module1.lo libmodule2.la module2.lo
|
|
||||||
rm -rf *.o uselib.exe bin lib uselib uselib.exe
|
|
||||||
rm -rf .libs
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
top_builddir = ..
|
top_builddir = ..
|
||||||
|
top_srcdir = @srcdir@/..
|
||||||
srcdir = @srcdir@
|
srcdir = @srcdir@
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
|
|
||||||
@ -26,12 +27,6 @@ libmodule2.la: module2.lo
|
|||||||
%.lo: %.cc
|
%.lo: %.cc
|
||||||
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
$(LIBTOOL) $(CXX) $(CXXFLAGS) -c $<
|
||||||
|
|
||||||
test:
|
include ${top_srcdir}/common-make-defs.txt
|
||||||
@echo "*** Running test in `pwd`"
|
|
||||||
-./uselib
|
|
||||||
@echo "*** Test done in `pwd`"
|
|
||||||
|
|
||||||
clean:
|
clean: clean-common
|
||||||
-$(LIBTOOL) rm libmodule1.la module1.lo libmodule2.la module2.lo
|
|
||||||
rm -rf *.o uselib.exe bin lib uselib uselib.exe
|
|
||||||
rm -rf .libs
|
|
||||||
|
@ -48,12 +48,6 @@ uselib.exe: main.cc main.h
|
|||||||
$(CXX) $(CXXFLAGS) -c $<
|
$(CXX) $(CXXFLAGS) -c $<
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
||||||
test:
|
include ${top_srcdir}/common-make-defs.txt
|
||||||
@echo "*** Running test in `pwd`"
|
|
||||||
-./uselib
|
|
||||||
@echo "*** Test done in `pwd`"
|
|
||||||
|
|
||||||
clean:
|
clean: clean-common
|
||||||
-$(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
|
|
||||||
|
@ -25,12 +25,6 @@ module2.dll: module2.cc main.h
|
|||||||
%.o: %.cc
|
%.o: %.cc
|
||||||
$(CXX) $(CXXFLAGS) -c $<
|
$(CXX) $(CXXFLAGS) -c $<
|
||||||
|
|
||||||
test:
|
include ${top_srcdir}/common-make-defs.txt
|
||||||
@echo "*** Running test in `pwd`"
|
|
||||||
-./uselib
|
|
||||||
@echo "*** Test done in `pwd`"
|
|
||||||
|
|
||||||
clean:
|
clean: clean-common
|
||||||
-$(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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user