File: rules

package info (click to toggle)
gsnmp 0.3.0-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 2,172 kB
  • ctags: 1,694
  • sloc: sh: 8,913; ansic: 7,037; makefile: 68
file content (12 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

%:
	dh $@ --with autoreconf	

CFLAGS := $(shell dpkg-buildflags --get CFLAGS) $(shell pkg-config --cflags glib-2.0) $(shell pkg-config --cflags gnet-2.0)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) $(shell pkg-config --libs glib-2.0) $(shell pkg-config --libs gnet-2.0)
export CFLAGS LDFLAGS

.PHONY: override_dh_strip
override_dh_strip:
	dh_strip --dbg-package=libgsnmp0-dbg