#! /usr/bin/make -f

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

# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)


build: build-stamp

build-stamp:
	dh_testdir
	gcc -Wall -Werror workaround.c -o workaround-3415
	touch build-stamp

clean:
	dh_testdir
	dh_testroot
	rm -f workaround-3415
	rm -f build-stamp 
	dh_clean 

install:

binary-indep:

binary-arch: build
	dh_testdir
	dh_testroot
	dh_install
	dh_installdocs
	dh_installinit
	dh_installchangelogs
	dh_strip
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-arch
.PHONY: build clean binary-arch binary
