3 CFLAGS := -g -O2 -fstack-protector-all -fPIE
4 LDFLAGS := -pie -Wl,--as-needed
7 cd src && make CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
14 python setup.py -q clean -a --build-base=build-ceo
15 python setupd.py -q clean -a --build-base=build-ceod
16 rm -rf build-ceo build-ceod
22 python setup.py -q build --build-base=build-ceo install --no-compile -O0 --prefix=/usr --root=debian/ceo-python
23 python setupd.py -q build --build-base=build-ceod install --no-compile -O0 --prefix=/usr --root=debian/ceo-daemon \
24 --install-scripts=/usr/lib/ceod
25 $(MAKE) -C src DESTDIR=$(CURDIR)/debian/ceo-clients PREFIX=/usr install_clients
26 $(MAKE) -C src DESTDIR=$(CURDIR)/debian/ceo-daemon PREFIX=/usr install_daemon
28 binary-arch: build install
34 dh_installinit --name ceod -- start 95 2 3 4 5 . stop 05 0 1 6 .
50 binary: binary-indep binary-arch
52 .PHONY: build clean binary-indep binary-arch binary install