File: rules

package info (click to toggle)
nexus 4.4.3-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 26,860 kB
  • sloc: cpp: 34,928; ansic: 17,317; f90: 2,326; xml: 2,071; java: 1,953; fortran: 1,529; python: 766; makefile: 533; sh: 460; tcl: 173; lisp: 169
file content (17 lines) | stat: -rwxr-xr-x 485 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

# Enable additional hardening options.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --buildsystem cmake

override_dh_auto_configure:
	dh_auto_configure -- -DENABLE_HDF5=1 -DENABLE_HDF4=1 -DENABLE_APPS=1 -DENABLE_CXX=1 -DENABLE_JAVA=1
# 	-DENABLE_MXML=1
# mxml 3.x breaks nexus, so disable it
# see https://github.com/nexusformat/code/issues/465

override_dh_makeshlibs:
	dh_makeshlibs -X /usr/lib/jni