File: rules

package info (click to toggle)
libchipcard 5.0.3beta-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,384 kB
  • ctags: 1,894
  • sloc: ansic: 20,920; sh: 11,062; xml: 6,709; makefile: 596; cpp: 448
file content (18 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# let LibChipcard benefit from symbol visibility feature of gcc
# this explicit setting is needed because the corresponding test in
# configure.ac checks for the basename of the called $CC binary.
CC=gcc

override_dh_clean:
	find $(CURDIR) -type l -exec rm -v \{\} \;
	dh_clean

override_dh_auto_configure:
	dh_auto_configure -- \
	    --with-pcsc-libs=/usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH) \
	    $(shell dpkg-buildflags --export=configure)

%:
	dh $@ --with autoreconf