#!/usr/bin/make -f

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

# Aim for the top, adapt if anything should break on the buildds.
DEB_BUILD_MAINT_OPTIONS=	hardening=+all
export DEB_BUILD_MAINT_OPTIONS

DEB_CFLAGS_MAINT_APPEND= -Wall
export DEB_CFLAGS_MAINT_APPEND

DEB_LDFLAGS_MAINT_APPEND= -Wl,-z,defs
export DEB_LDFLAGS_MAINT_APPEND

PLUGINS = \
	plugins/fgfx.so plugins/agua.so plugins/fire.so \
	plugins/ttf.so plugins/image.so plugins/net.so \
	plugins/mpeg.so plugins/exec.so \
	plugins/tcpsock.so plugins/fsock.so

override_dh_auto_build:
	dh_auto_build -- $(PLUGINS)

override_dh_auto_clean:
	dh_auto_clean -- fullclean

override_dh_makeshlibs:

%:
	dh $@ --with autoreconf
