1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Copyright © 2003 Jonas Smedegaard <dr@jones.dk>
DEB_SRCDIR = src/Unix
include /usr/share/cdbs/1/rules/debhelper.mk
# Use autotools-vars.mk from CVS to avoid cross-compiling on same host
include debian/cdbs/autotools-vars.mk
include /usr/share/cdbs/1/class/autotools.mk
DEB_CONFIGURE_USER_FLAGS = --enable-xf86-dga --disable-fbdev-dga
# Don't know why, but upstream added this and it seems to be needed
#CXXFLAGS += -fno-merge-constants
ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
DEB_CONFIGURE_USER_FLAGS += --without-mon
endif
# We have no tests to run
DEB_MAKE_CHECK_TARGET :=
DEB_INSTALL_DOCS_ALL += TECH
binary-predeb/basilisk2::
dh_buildinfo
# These are only used manually to (re)generate/remove automade files.
DEB_PHONY_RULES += ultraclean autogen
ultraclean:
-$(MAKE) -C src/Unix distclean
cd src/Unix && rm -f config.h.in aclocal.m4 configure config.log ltmain.sh missing
cd src/Unix && rm -rf autom4te.cache
autogen: ultraclean
cd src/Unix && NO_CONFIGURE=naturligvis ./autogen.sh
|