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/.
6 topsrcdir
= @top_srcdir@
10 include $(DEPTH
)/config
/autoconf.mk
12 # This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
13 # shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
18 # Don't create a dependency on mozglue, which is impossible (difficult?)
19 # to dynamically link into our executable, as we copy it to arbitrary locations.
21 MOZ_GLUE_PROGRAM_LDFLAGS
=
23 LOCAL_INCLUDES
+= -I
$(topsrcdir
)/toolkit
/xre
24 LOCAL_INCLUDES
+= -I
$(topsrcdir
)/xpcom
/base
25 LOCAL_INCLUDES
+= -I
$(topsrcdir
)/xpcom
/build
26 LOCAL_INCLUDES
+= -I
$(DEPTH
)/build
28 DEFINES
+= -DXPCOM_GLUE
32 $(XPCOM_STANDALONE_GLUE_LDOPTS
) \
35 PROGRAMS_DEST
= $(DIST
)/bin
37 include $(topsrcdir
)/config
/rules.mk
39 GRE_BUILDID
:= $(shell cat
$(DEPTH
)/config
/buildid
)
40 DEFINES
+= -DGRE_BUILDID
=$(GRE_BUILDID
)
42 webapprt.
$(OBJ_SUFFIX
): $(DEPTH
)/config
/buildid