#!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 DEB_GS_FRAMEWORKS = BioCocoa DEB_GS_INTERFACE_VERSION_BioCocoa = 2 DEB_GS_DEVPKG_NAME_BioCocoa = libbiococoa-dev include /usr/share/cdbs/1/rules/gnustep.mk include /usr/share/cdbs/1/class/gnumakefile.mk DEB_GS_AUTO_DH_INSTALL = y DEB_DH_MAKESHLIBS_ARGS_$(DEB_GS_LIBPKG_NAME_BioCocoa) := --noscripts # Get verbose build logs. export messages=yes framework = BioCocoa d_dev = $(CURDIR)/debian/$(DEB_GS_DEVPKG_NAME_$(framework)) # Get rid of the libgcc dependency (explicitly added by gnustep-make); # might help with eventual GCC transitions. LDFLAGS += -Wl,-z,defs -Wl,--as-needed # Build with optimization by default, currently not handled by # gnustep-make. The GNUstep CDBS rules lack support for "noopt". ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) OPTFLAG := -O0 else OPTFLAG := -O2 endif DEB_MAKE_INVOKE += OPTFLAG=$(OPTFLAG)