2 # from topdir ./debian/rules binary
5 # Enable hardening flags
6 CFLAGS += $(shell dpkg-buildflags --get CFLAGS)
7 CXXFLAGS += $(shell dpkg-buildflags --get CXXFLAGS)
8 LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
10 build build-arch build-indep: build-stamp
14 @if [ ! -e configure ] ; then ./autogen.sh; fi
15 CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" \
16 ./configure --enable-opengl --prefix=/usr $(CONFFLAGS)
23 [ ! -f Makefile ] || $(MAKE) clean
32 $(MAKE) install DESTDIR=$(CURDIR)/debian/cin
33 install -D -m644 debian/sysctl.d debian/cin/etc/sysctl.d/50-cin.conf
35 binary-indep: build install
37 binary-arch: build install
48 binary: binary-indep binary-arch