File: rules

package info (click to toggle)
android-platform-system-tools-hidl 9.0.0+r45-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,252 kB
  • sloc: cpp: 19,477; yacc: 1,394; java: 828; lex: 501; sh: 272; python: 44; ansic: 24; xml: 20; makefile: 9
file content (14 lines) | stat: -rwxr-xr-x 358 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export OUT_DIR = debian/out
export DEB_CPPFLAGS_MAINT_APPEND = -I/usr/include/android -I. -I$(OUT_DIR)
export DEB_LDFLAGS_MAINT_APPEND = -fPIC

$(OUT_DIR)/hidl-gen: debian/hidl-gen.mk
	dh_auto_build --buildsystem=makefile -- --file $<

%:
	dh $@

override_dh_auto_build: $(OUT_DIR)/hidl-gen