ipc/app/Makefile.in

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ipc/app/Makefile.in	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,64 @@
     1.4 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.7 +
     1.8 +ifneq ($(dir $(PROGRAM)),./)
     1.9 +  GENERATED_DIRS = $(dir $(PROGRAM))
    1.10 +endif
    1.11 +
    1.12 +ifeq (android,$(MOZ_WIDGET_TOOLKIT))
    1.13 +WRAP_LDFLAGS =
    1.14 +else
    1.15 +LIBS += \
    1.16 +  $(XPCOM_LIBS) \
    1.17 +  $(NSPR_LIBS) \
    1.18 +  $(NULL)
    1.19 +endif
    1.20 +
    1.21 +ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
    1.22 +LIBS += \
    1.23 +  -lbinder \
    1.24 +  -lutils \
    1.25 +  $(NULL)
    1.26 +endif
    1.27 +
    1.28 +ifndef MOZ_WINCONSOLE
    1.29 +ifdef MOZ_DEBUG
    1.30 +MOZ_WINCONSOLE = 1
    1.31 +else
    1.32 +MOZ_WINCONSOLE = 0
    1.33 +endif
    1.34 +endif
    1.35 +
    1.36 +# This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
    1.37 +# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
    1.38 +NSDISTMODE = copy
    1.39 +
    1.40 +include $(topsrcdir)/config/config.mk
    1.41 +
    1.42 +include $(topsrcdir)/config/rules.mk
    1.43 +
    1.44 +ifeq ($(OS_ARCH),WINNT) #{
    1.45 +
    1.46 +ifdef MOZ_CONTENT_SANDBOX
    1.47 +LIBS += ../../security/sandbox/$(LIB_PREFIX)sandbox_s.$(LIB_SUFFIX)
    1.48 +LIBS += $(NSPR_LIBS)
    1.49 +endif
    1.50 +
    1.51 +# Note the manifest file exists in the tree, so we use the explicit filename
    1.52 +# here.
    1.53 +EXTRA_DEPS += plugin-container.exe.manifest
    1.54 +endif #}
    1.55 +
    1.56 +ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) #{
    1.57 +
    1.58 +libs::
    1.59 +	$(NSINSTALL) -D $(DIST)/bin/$(PROGRAM).app
    1.60 +	rsync -a -C --exclude '*.in' $(srcdir)/macbuild/Contents $(DIST)/bin/$(PROGRAM).app 
    1.61 +	sed -e 's/%PROGRAM%/$(PROGRAM)/' $(srcdir)/macbuild/Contents/Info.plist.in > $(DIST)/bin/$(PROGRAM).app/Contents/Info.plist
    1.62 +	sed -e 's/%APP_NAME%/$(MOZ_APP_DISPLAYNAME)/' $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | \
    1.63 +	  iconv -f UTF-8 -t UTF-16 > $(DIST)/bin/$(PROGRAM).app/Contents/Resources/English.lproj/InfoPlist.strings
    1.64 +	$(NSINSTALL) -D $(DIST)/bin/$(PROGRAM).app/Contents/MacOS
    1.65 +	$(NSINSTALL) $(PROGRAM) $(DIST)/bin/$(PROGRAM).app/Contents/MacOS
    1.66 +	$(RM) $(DIST)/bin/$(PROGRAM)
    1.67 +endif #}

mercurial