File: rules

package info (click to toggle)
libchipcard 5.0.3beta-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,384 kB
  • sloc: ansic: 20,920; sh: 11,062; xml: 6,709; makefile: 595; cpp: 448
file content (17 lines) | stat: -rwxr-xr-x 429 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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

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

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

%:
	dh $@