1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 # You can obtain one at http://mozilla.org/MPL/2.0/.
5 # This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
6 # shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
9 # Don't create a dependency on mozglue, which is impossible (difficult?)
10 # to dynamically link into our executable, as we copy it to arbitrary locations.
12 MOZ_GLUE_PROGRAM_LDFLAGS
=
14 LOCAL_INCLUDES
+= -I
$(topsrcdir
)/toolkit
/xre
15 LOCAL_INCLUDES
+= -I
$(topsrcdir
)/xpcom
/base
16 LOCAL_INCLUDES
+= -I
$(topsrcdir
)/xpcom
/build
17 LOCAL_INCLUDES
+= -I
$(DEPTH
)/build
22 $(XPCOM_STANDALONE_GLUE_LDOPTS
) \
25 PROGRAMS_DEST
= $(DIST
)/bin
27 include $(topsrcdir
)/config
/rules.mk
29 GRE_BUILDID
:= $(shell cat
$(DEPTH
)/config
/buildid
)
30 DEFINES
+= -DGRE_BUILDID
=$(GRE_BUILDID
)
32 webapprt.
$(OBJ_SUFFIX
): $(DEPTH
)/config
/buildid