Commit 53fa2453 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

do not suppress include errors in Makefiles

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3826
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 42b48fc8
......@@ -200,7 +200,7 @@ libaff.so: $(INSTHEADER) $(LIBOBS)
> $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.cc,%.d,$(SRC))
include $(patsubst %.cc,%.d,$(SRC))
# this include will be used once we initiate the precompiled library version
# until then it's just waiting here
......
......@@ -70,7 +70,7 @@ CPPFLAGS+=-I$(LOCINCLUDEDIR) $(FLAGS)
# --------------------
%.d: %.f
echo $<: $(shell cat $< | egrep '^ +include' | cut -f 2 -d \' | sort | uniq) > $@
-include $(patsubst %.f,%.d,$(wildcard *.f))
include $(patsubst %.f,%.d,$(wildcard *.f))
%.o: %.f
$(FC) $(FCFLAGS) $(FCOPTS) -o $@ -c $<
......
......@@ -152,7 +152,7 @@ clean: ;
# library part
# ------------
-include $(patsubst %.cc,%.d,$(LIBSRC) $(TESTSRC))
include $(patsubst %.cc,%.d,$(LIBSRC) $(TESTSRC))
libdatrwxx.a: $(patsubst %.cc,%.o,$(LIBSRC))
ar rcv $@ $^
......@@ -166,7 +166,7 @@ libdatrwxx.so: $(patsubst %.cc,%.o,$(LIBSRC))
%.hd: %.h; echo $(notdir $<.strip): $< > $@
-include $(patsubst %.h,%.hd,$(LIBHEADERS) $(TESTHEADERS))
include $(patsubst %.h,%.hd,$(LIBHEADERS) $(TESTHEADERS))
# first awk rule assumes that the first non-comment line starts with '#'
# and that the first (copyright) comment end with pattern "^ */"
......
......@@ -102,7 +102,7 @@ clean: ;
> $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.cc,%.d,$(SRCFILES))
include $(patsubst %.cc,%.d,$(SRCFILES))
#======================================================================
# header files
......
......@@ -218,7 +218,7 @@ libfourierxx.so: install-include libfourier.a $(LIBOBSXX)
> $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.cc,%.d,$(SRC))
include $(patsubst %.cc,%.d,$(SRC))
#======================================================================
# header files
......
......@@ -130,7 +130,7 @@ LIBSRC=gsexx.cc gsexx_TCHK2.cc gsexx_TWID2.cc gsexx_TSTA2.cc gsexx_TDAT2.cc \
gsexx_cm6.cc
INCSRC=gsexx.h gsexx_diff.h gsexx_TDAT2.h
-include $(patsubst %.cc,%.d,$(LIBSRC))
include $(patsubst %.cc,%.d,$(LIBSRC))
$(LOCLIBDIR) $(LOCINCLUDEDIR): ; mkdir -pv $@
......
......@@ -127,7 +127,7 @@ clean: ;
# library part
# ------------
-include $(patsubst %.cc,%.d,$(LIBSRC))
include $(patsubst %.cc,%.d,$(LIBSRC))
liblinearxx.a: $(patsubst %.cc,%.o,$(LIBSRC))
ar rcv $@ $^
......@@ -141,7 +141,7 @@ liblinearxx.so: $(patsubst %.cc,%.o,$(LIBSRC))
%.hd: %.h; echo $(notdir $<.strip): $< > $@
-include $(patsubst %.h,%.hd,$(HEADERS))
include $(patsubst %.h,%.hd,$(HEADERS))
# first awk rule assumes that the first non-comment line starts with '#'
# and that the first (copyright) comment end with pattern "^ */"
......
......@@ -124,7 +124,7 @@ clean: ;
> $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.cc,%.d,$(SRC) $(EXSRC))
include $(patsubst %.cc,%.d,$(SRC) $(EXSRC))
#======================================================================
......@@ -143,7 +143,7 @@ libpgplotCpp.so: $(SRC:.cc=.o)
%.hd: %.h; echo $(notdir $<.strip): $< > $@
-include $(patsubst %.h,%.hd,$(HEADERS))
include $(patsubst %.h,%.hd,$(HEADERS))
# first awk rule assumes that the first non-comment line starts with '#'
# and that the first (copyright) comment end with pattern "^ */"
......
......@@ -74,7 +74,7 @@ edit: flist; vim $<
%.d: %.f
echo $<: $(shell cat $< | egrep '^ +include' | cut -f 2 -d \' | sort | uniq) > $@
-include $(patsubst %.f,%.d,$(wildcard *.f))
include $(patsubst %.f,%.d,$(wildcard *.f))
%.o: %.f; $(FC) -c -o $@ $< $(FFLAGS)
......@@ -152,7 +152,7 @@ endif
> $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.cc,%.d,$(SRC))
include $(patsubst %.cc,%.d,$(SRC))
#======================================================================
# header files
......
......@@ -120,7 +120,7 @@ clean: ;
# library part
# ------------
-include $(patsubst %.cc,%.d,$(LIBSRC) $(TESTSRC))
include $(patsubst %.cc,%.d,$(LIBSRC) $(TESTSRC))
libserialxx.a: $(patsubst %.cc,%.o,$(LIBSRC))
ar rcv $@ $^
......@@ -134,7 +134,7 @@ libserialxx.so: $(patsubst %.cc,%.o,$(LIBSRC))
%.hd: %.h; echo $(notdir $<.strip): $< > $@
-include $(patsubst %.h,%.hd,$(HEADERS))
include $(patsubst %.h,%.hd,$(HEADERS))
# first awk rule assumes that the first non-comment line starts with '#'
# and that the first (copyright) comment end with pattern "^ */"
......
......@@ -88,7 +88,7 @@ LIBS=libsffu.a
> $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.c,%.d,$(patsubst %.o,%.c,$(LIBSFFUCOBS)))
include $(patsubst %.c,%.d,$(patsubst %.o,%.c,$(LIBSFFUCOBS)))
.PHONY: install-include
install-include:
......
......@@ -99,7 +99,7 @@ LIBSRC=sffxx.cc wid2compare.cc wid2inrange.cc wid2isample.cc \
widXio.cc
INCSRC=sffxx.h sffostream.h
-include $(patsubst %.cc,%.d,$(LIBSRC))
include $(patsubst %.cc,%.d,$(LIBSRC))
libsffxx.a: $(patsubst %.cc,%.o,$(LIBSRC))
ar rcv $@ $^
......
......@@ -136,7 +136,7 @@ clean-include: libtf.h
> $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.c,%.d,$(wildcard *.c))
include $(patsubst %.c,%.d,$(wildcard *.c))
#======================================================================
# compile
......
......@@ -161,7 +161,7 @@ clean: ;
> $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.cc,%.d,$(SRC) $(TESTS))
include $(patsubst %.cc,%.d,$(SRC) $(TESTS))
#======================================================================
......@@ -181,7 +181,7 @@ libtfxx.so: $(SRC:.cc=.o)
%.hd: %.h; echo $(notdir $<.strip): $< > $@
-include $(patsubst %.h,%.hd,$(HEADERS))
include $(patsubst %.h,%.hd,$(HEADERS))
# first awk rule assumes that the first non-comment line starts with '#'
# and that the first (copyright) comment end with pattern "^ */"
......
......@@ -203,8 +203,8 @@ ALLFILES=$(KERNEL) $(FCODE) $(CWRAPPER) $(CCODE) Makefile $(README) \
| sed '\''s,\($*\)\.o[ :]*,\1.o $@ : ,g'\'' > $@; \
[ -s $@ ] || rm -f $@'
-include $(patsubst %.c,%.d,$(CWRAPPER) $(CCODE) $(CHANDLER) $(CTESTS))
-include $(patsubst %.cc,%.d,$(CXXTESTS) $(CXXCODE))
include $(patsubst %.c,%.d,$(CWRAPPER) $(CCODE) $(CHANDLER) $(CTESTS))
include $(patsubst %.cc,%.d,$(CXXTESTS) $(CXXCODE))
#======================================================================
#
......
......@@ -132,7 +132,7 @@ clean: ;
# library part
# ------------
-include $(patsubst %.cc,%.d,$(LIBSRC))
include $(patsubst %.cc,%.d,$(LIBSRC))
libtsxx.a: $(patsubst %.cc,%.o,$(LIBSRC))
ar rcv $@ $^
......@@ -147,7 +147,7 @@ libtsxx.so: $(patsubst %.cc,%.o,$(LIBSRC))
%.hd: %.h; echo $(notdir $<.strip): $< > $@
-include $(patsubst %.h,%.hd,$(HEADERS))
include $(patsubst %.h,%.hd,$(HEADERS))
# first awk rule assumes that the first non-comment line starts with '#'
# and that the first (copyright) comment end with pattern "^ */"
......
......@@ -94,7 +94,7 @@ libttsynt.a: $(LIBOBS)
%.d: %.f
echo $<: $(shell cat $< | egrep '^ +include' | cut -f 2 -d \' | sort | uniq) > $@
-include $(patsubst %.f,%.d,$(LIBSRC))
include $(patsubst %.f,%.d,$(LIBSRC))
%.o: %.f
$(FC) -O2 -o $@ -c $< $(FFLAGS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment