try to fix caplist wueuing in verakons
[gnucap-felix.git] / gnucap.mk.in
blobfb5b742ef67fa03e7d9763389dc074c2f6caa3ae
1 #!@WHICH_MAKE@ -f
3 help:
4 @echo "$(lastword $(MAKEFILE_LIST)) <target>"
6 prefix = @prefix@
7 GNUCAP_MAKEDIR = $(prefix)/share/gnucap/make
8 GNUCAP_CPPFLAGS = @GNUCAP_CPPFLAGS@
9 # not yet, almost
10 # GNUCAP_LDFLAGS = @GNUCAP_LDFLAGS@
11 # GNUCAP_LIBS = -lgnucap
12 AM_V_CXX_ = @echo CXX $@;
13 AM_V_CXX_0 = @echo CXX $@;
14 AM_V_CXX = $(AM_V_CXX_$V)
15 CXX = @CXX@
16 CXXFLAGS = @CXXFLAGS@
18 # non GNUCAP_-prefixed variables are meant to override stuff.
19 %.so: %.cc
20 $(AM_V_CXX)$(CXX) $(CPPFLAGS) $(GNUCAP_CPPFLAGS) -DADD_VERSION $(CXXFLAGS) $(GNUCAP_CXXFLAGS) $< -shared -fPIC -DPIC $(LDFLAGS) $(GNUCAP_LDFLAGS) $(LIBS) $(GNUCAP_LIBS) -o $@