2 # rules file for the ipip package, requires debhelper
3 # copyright 1998 by Bdale Garbee, distributed under the terms of the GPL
7 CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
8 CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
9 CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
10 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
12 build: build-arch build-indep
13 build-arch: build-stamp
14 build-indep: build-stamp
27 # Build architecture-independent files here.
30 # Build architecture-dependent files here.
37 cp ipip debian/ipip/usr/sbin
38 cp debian/ipip.config debian/ipip/etc/ipip/config
39 cp debian/ipip.routes debian/ipip/etc/ipip/routes
42 dh_installexamples samples/*
58 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
60 binary: binary-indep binary-arch
61 .PHONY: build clean binary-indep binary-arch binary