]> www.ginac.de Git - ginac.git/blob - debian/rules
[build] Set correct rpath for linking with CLN...
[ginac.git] / debian / rules
1 #!/usr/bin/make -f
2
3 include /usr/share/cdbs/1/class/autotools.mk
4 include /usr/share/cdbs/1/rules/debhelper.mk
5
6 ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
7 CXXFLAGS += -finline-limit=1200
8 endif
9
10 # 1.5.1-1-blah (Debian version) ==> 1.5 (LT_RELEASE)
11 GINAC_RELEASE := $(shell echo $(DEB_VERSION) | cut -f 1,2 -d . )
12 GINACLIB := libginac$(GINAC_RELEASE)
13
14 DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
15 DEB_DH_MAKESHLIBS_ARGS := -V"$(GINACLIB) (>= $(GINAC_RELEASE).0)"
16 DEB_DH_SHLIBDEPS_ARGS := --libpackage=$(GINACLIB) -l debian/$(GINACLIB)/usr/lib
17 DEB_DBG_PACKAGE_ALL =
18 DEB_DBG_PACKAGE_$(GINACLIB) = $(GINACLIB)-dbg