File: rules

package info (click to toggle)
encfs 1.7.4-5
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,096 kB
  • ctags: 1,128
  • sloc: sh: 11,121; cpp: 9,524; makefile: 150; sed: 16
file content (22 lines) | stat: -rwxr-xr-x 489 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
include /usr/share/dpkg/architecture.mk
-include /usr/share/quilt/quilt.make

#ifeq (,$(findstring mips,$(DEB_HOST_MULTIARCH)))
CFLAGS += -flto
CXXFLAGS += -flto
LDFLAGS += -flto
#endif

%:
	dh $@ --with autotools_dev

override_dh_auto_configure:
	dh_auto_configure -- --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)

override_dh_auto_install:
	dh_auto_install
	rm -f debian/encfs/usr/lib/libencfs.la