#!/usr/bin/make -f # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir xmkmf $(MAKE) LOCAL_LDFLAGS="$(LDFLAGS)" touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp #-$(MAKE) clean -rm -f xmix.o Makefile xmix dh_clean install: build dh_testdir dh_testroot dh_prep dh_install binary-indep: build install # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs dh_installmenu dh_installman xmix.1 dh_installchangelogs dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure