Merge git://www.ginac.de/ginac
[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.4.1-1-blah (Debian version) ==> 1.4 (LT_RELEASE)
11 GINAC_RELEASE := $(shell echo $(DEB_VERSION) | cut -f 1,2 -d . )
12 GINACLIB := libginac$(GINAC_RELEASE)
13
14 DEB_DH_MAKESHLIBS_ARGS := -V"$(GINACLIB) (>= $(GINAC_RELEASE).0)"
15 DEB_DH_SHLIBDEPS_ARGS := --libpackage=$(GINACLIB) -l debian/$(GINACLIB)/usr/lib
16 DEB_DBG_PACKAGE_ALL =
17 DEB_DBG_PACKAGE_$(GINACLIB) = $(GINACLIB)-dbg