ipc/app/Makefile.in

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

     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
     3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
     5 ifneq ($(dir $(PROGRAM)),./)
     6   GENERATED_DIRS = $(dir $(PROGRAM))
     7 endif
     9 ifeq (android,$(MOZ_WIDGET_TOOLKIT))
    10 WRAP_LDFLAGS =
    11 else
    12 LIBS += \
    13   $(XPCOM_LIBS) \
    14   $(NSPR_LIBS) \
    15   $(NULL)
    16 endif
    18 ifeq (gonk,$(MOZ_WIDGET_TOOLKIT))
    19 LIBS += \
    20   -lbinder \
    21   -lutils \
    22   $(NULL)
    23 endif
    25 ifndef MOZ_WINCONSOLE
    26 ifdef MOZ_DEBUG
    27 MOZ_WINCONSOLE = 1
    28 else
    29 MOZ_WINCONSOLE = 0
    30 endif
    31 endif
    33 # This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
    34 # shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
    35 NSDISTMODE = copy
    37 include $(topsrcdir)/config/config.mk
    39 include $(topsrcdir)/config/rules.mk
    41 ifeq ($(OS_ARCH),WINNT) #{
    43 ifdef MOZ_CONTENT_SANDBOX
    44 LIBS += ../../security/sandbox/$(LIB_PREFIX)sandbox_s.$(LIB_SUFFIX)
    45 LIBS += $(NSPR_LIBS)
    46 endif
    48 # Note the manifest file exists in the tree, so we use the explicit filename
    49 # here.
    50 EXTRA_DEPS += plugin-container.exe.manifest
    51 endif #}
    53 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT)) #{
    55 libs::
    56 	$(NSINSTALL) -D $(DIST)/bin/$(PROGRAM).app
    57 	rsync -a -C --exclude '*.in' $(srcdir)/macbuild/Contents $(DIST)/bin/$(PROGRAM).app 
    58 	sed -e 's/%PROGRAM%/$(PROGRAM)/' $(srcdir)/macbuild/Contents/Info.plist.in > $(DIST)/bin/$(PROGRAM).app/Contents/Info.plist
    59 	sed -e 's/%APP_NAME%/$(MOZ_APP_DISPLAYNAME)/' $(srcdir)/macbuild/Contents/Resources/English.lproj/InfoPlist.strings.in | \
    60 	  iconv -f UTF-8 -t UTF-16 > $(DIST)/bin/$(PROGRAM).app/Contents/Resources/English.lproj/InfoPlist.strings
    61 	$(NSINSTALL) -D $(DIST)/bin/$(PROGRAM).app/Contents/MacOS
    62 	$(NSINSTALL) $(PROGRAM) $(DIST)/bin/$(PROGRAM).app/Contents/MacOS
    63 	$(RM) $(DIST)/bin/$(PROGRAM)
    64 endif #}

mercurial