File: rules

package info (click to toggle)
libzn-poly 0.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 904 kB
  • sloc: ansic: 10,736; python: 124; makefile: 12; sh: 6
file content (17 lines) | stat: -rwxr-xr-x 429 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_configure:
	python3 makemakefile.py >Makefile \
	  --prefix="$(CURDIR)/debian/tmp/usr" --cflags="$(CFLAGS) $(CPPFLAGS) -fPIC" --ldflags="$(LDFLAGS)" \
	  --cppflags="$(CPPFLAGS)" --cxxflags="$(CXXFLAGS)" \
	  --gmp-prefix="/usr" --triplet="$(DEB_HOST_MULTIARCH)" --disable-tuning

override_dh_auto_build:
	$(MAKE) libzn_poly.so

override_dh_auto_test:
	$(MAKE) test
	test/test all