File: rules

package info (click to toggle)
xmount 0.7.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 784 kB
  • sloc: ansic: 9,081; xml: 163; sh: 34; makefile: 6
file content (10 lines) | stat: -rwxr-xr-x 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/make -f

CMAKE_C_FLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) -g -fno-strict-aliasing -std=c99 -Wall
CMAKE_LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DCMAKE_C_FLAGS="$(CMAKE_C_FLAGS)" -DCMAKE_BUILD_TYPE=Release -DCMAKE_SHARED_LINKER_FLAGS="$(CMAKE_LDFLAGS)" -DCMAKE_EXE_LINKER_FLAGS="$(CMAKE_LDFLAGS)" -DCMAKE_MODULE_LINKER_FLAGS="$(CMAKE_LDFLAGS)"