File: rules

package info (click to toggle)
coinor-ipopt 3.11.9-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 24,656 kB
  • sloc: cpp: 75,373; sh: 11,170; ansic: 2,798; makefile: 2,247; java: 632; fortran: 342
file content (37 lines) | stat: -rwxr-xr-x 1,369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk

CPPFLAGS += -I/usr/include/mumps_seq -DHAVE_CSTDDEF
LDFLAGS += -llapack -lblas -ldmumps_seq -ldl
DEB_CONFIGURE_EXTRA_FLAGS += --enable-static --disable-pkg-config \
							 --with-mumps-incdir=/usr/include \
							 --with-mumps-lib='-ldmumps_seq'
DEB_MAKE_CHECK_TARGET = test

binary-install/coinor-libipopt1v5:: debian/stamp-binary-install-coinor-libipopt1
debian/stamp-binary-install-coinor-libipopt1:
	find debian/tmp -name libipopt.la -delete
	touch $@

binary-install/coinor-libipopt-doc:: debian/stamp-binary-install-coinor-libipopt-doc
debian/stamp-binary-install-coinor-libipopt-doc:
	rm -f $(CURDIR)/debian/coinor-libipopt-doc/usr/share/doc/coinor-libipopt-doc/html/jquery.js
	ln -s ../../../javascript/jquery/jquery.js $(CURDIR)/debian/coinor-libipopt-doc/usr/share/doc/coinor-libipopt-doc/html/jquery.js
	touch $@

build/coinor-libipopt-doc:: debian/stamp-build-coinor-libipopt-doc
debian/stamp-build-coinor-libipopt-doc:
	make DESTDIR=$(CURDIR)/debian/tmp doxydoc
	$(RM) doxydoc/html/*.md5 doxydoc/html/*.dot doxydoc/html/*.map
	touch $@

get-orig-source:
	-uscan --rename --upstream-version 0
	@echo successfully retrieved upstream tarball

clean::
	$(RM) -r debian/stamp-* doxydoc/html
	$(RM) Ipopt/contrib/sIPOPT/src/Makefile
	$(RM) Makefile