-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrules.mk
More file actions
executable file
·23 lines (17 loc) · 722 Bytes
/
rules.mk
File metadata and controls
executable file
·23 lines (17 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
BITS := $(shell test `arch` = x86_64 && echo 64 || echo 32)
CC = $(shell which gcc-7 || which gcc)
CXX = $(shell which g++-7 || which g++)
DEB_SRCDIR = $(CURDIR)/fw
DEB_BUILD_OPTIONS = nocheck
DEB_MAKE_EXTRA_ARGS = BUILD_TYPE=r BUILD_CONFIG=Release
# no need to run clean
DEB_MAKE_CLEAN_TARGET =
DEB_MAKE_BUILD_TARGET = Fw-build-package
DEB_MAKE_INSTALL_TARGET = install-package DESTDIR=$(DEB_DESTDIR)
# don't run tests
DEB_MAKE_CHECK_TARGET =
DEB_SHLIBDEPS_INCLUDE = /usr/lib/fieldworks:/usr/lib/fieldworks/lib:/opt/mono5-sil/lib
DEB_DH_SHLIBDEPS_ARGS_ALL := -X/usr/lib/fieldworks/Firefox-Linux$(BITS)/