[go: up one dir, main page]

File: rules

package info (click to toggle)
fribidi 1.0.16-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,008 kB
  • sloc: ansic: 8,767; sh: 4,766; makefile: 353; python: 27
file content (21 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

FRIBIDI_UDEB=libfribidi0-udeb

ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
OBJS += xmalloc.o
else
DEB_CFLAGS=-Os -fomit-frame-pointer -g
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-malloc --enable-static CFLAGS="$(shell dpkg-buildflags --get CFLAGS) ${DEB_CFLAGS}"

override_dh_makeshlibs:
	dh_makeshlibs -V --add-udeb="$(FRIBIDI_UDEB)"