Codebase list mozc / 871c6f2
Remove hardending support Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@debian.org> Nobuhiro Iwamatsu 11 years ago
2 changed file(s) with 9 addition(s) and 28 deletion(s). Raw diff Collapse all Expand all
00 mozc (1.5.1090.102-1) UNRELEASED; urgency=low
11
2 * Enable hardening options.
32 * Update debian/control.
43 - Add hardening-includes to Build-Depends.
54 - Update debhelper to 9.
11 # -*- makefile -*-
22 #
33 #
4 include /usr/share/hardening-includes/hardening.make
5
6 CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
7 LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
8 CFLAGS+=$(HARDENING_CFLAGS)
9 LDFLAGS+=$(HARDENING_LDFLAGS)
10
114 DEB_BUILD_ARCH_OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
125 DEB_BUILD_MULTIARCH :=$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH)
136 ifeq ($(DEB_BUILD_ARCH_OS),linux)
1811 endif
1912 BUILD_DIR=./out_linux
2013
21 TARGETS = unix/ibus/ibus.gyp:ibus_mozc \
14 TARGETS=unix/ibus/ibus.gyp:ibus_mozc \
2215 unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup \
2316 unix/emacs/emacs.gyp:mozc_emacs_helper \
17 unix/uim/uim.gyp:uim-mozc \
18 unix/fcitx/fcitx.gyp:fcitx-mozc \
2419 server/server.gyp:mozc_server gui/gui.gyp:mozc_tool \
25 renderer/renderer.gyp:mozc_renderer \
26 unix/uim/uim.gyp:uim-mozc
27
28
29 #TARGETS=unix/ibus/ibus.gyp:ibus_mozc \
30 # unix/scim/scim.gyp:scim_mozc unix/scim/scim.gyp:scim_mozc_setup \
31 # unix/emacs/emacs.gyp:mozc_emacs_helper \
32 # unix/uim/uim.gyp:uim-mozc \
33 # unix/fcitx/fcitx.gyp:fcitx-mozc \
34 # server/server.gyp:mozc_server gui/gui.gyp:mozc_tool \
35 # renderer/renderer.gyp:mozc_renderer
20 renderer/renderer.gyp:mozc_renderer
3621
3722 # for architecture dependent variables and changelog vars
3823 vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
4631 dh $@
4732
4833 override_dh_auto_configure:
49 python build_mozc.py gyp --gypdir=/usr/bin
50 #python build_mozc.py gyp --gypdir=/usr/bin --channel_dev=0 \
51 # --build_base=$(BUILD_DIR) \
52 # --use_libprotobuf
34 python build_mozc.py gyp --gypdir=/usr/bin --channel_dev=0 \
35 --build_base=$(BUILD_DIR) \
36 --use_libprotobuf
5337
5438 override_dh_auto_build:
5539 override_dh_auto_build:
56 python build_mozc.py build_tools -c Release
57 python build_mozc.py build $(TARGETS) -c Release
58 # python build_mozc.py build_tools -c Release #--jobs=1
59 # python build_mozc.py build $(TARGETS) -c Release #--jobs=1
40 python build_mozc.py build_tools -c Release #--jobs=1
41 python build_mozc.py build $(TARGETS) -c Release #--jobs=1
6042
6143 override_dh_auto_clean:
6244 python build_mozc.py clean