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
|
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs. Originaly written by Robert Millan.
# This file is public domain.
# where sources are
DEB_SRCDIR = $(CURDIR)/
# in which directory to build
DEB_BUILDDIR = $(DEB_SRCDIR)/
# in which directory to install the sofware
DEB_DESTDIR = $(CURDIR)/debian/tmp
#DEB_TAR_SRCDIR := parmetis-3.1
DEB_AUTO_CLEANUP_RCS := yes
export MACHINE=LINUX
DEB_MAKE_CLEAN_TARGET := clean
DEB_MAKE_BUILD_TARGET := parmetis
DEB_MAKE_INSTALL_TARGET := #install DESTDIR=$(CURDIR)/debian/tmp/
# no check for this software
DEB_MAKE_CHECK_TARGET :=
DEB_DH_COMPRESS_ARGS := -X pdf
include /usr/share/cdbs/1/class/makefile.mk
include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/rules/tarball.mk
#include /usr/share/cdbs/1/rules/simple-patchsys.mk
INSTALL_PROG=install -D
INSTALL_DATA=install -m 644 -D
#DEB_MAKE_ENVVARS :=
CFLAGS=-O3
CXXFLAGS=-O3
CPPFLAGS=-I/usr/lib/mpich/include -I.
|