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/.
13 include $(topsrcdir
)/config
/config.mk
15 include $(topsrcdir
)/config
/rules.mk
17 ifneq ($(MOZ_WIDGET_TOOLKIT
),android
)
18 #LIBS += ../contentproc/$(LIB_PREFIX)plugin-container.$(LIB_SUFFIX)
21 ifeq ($(OS_ARCH
),WINNT
) #{
22 # Note the manifest file exists in the tree, so we use the explicit filename
24 EXTRA_DEPS
+= plugin-container.exe.manifest
27 ifeq (cocoa
,$(MOZ_WIDGET_TOOLKIT
)) #{
31 $(NSINSTALL
) -D
$(DIST
)/bin
/$(PROGRAM
).app
32 rsync
-a
-C
--exclude
'*.in' $(srcdir)/macbuild
/Contents
$(DIST
)/bin
/$(MOZ_CHILD_PROCESS_NAME
).app
33 $(call py_action
,preprocessor
$(MOZ_CHILD_PROCESS_NAME
).app
/Contents
/Info.plist
,-Fsubstitution
-DEXECUTABLE
='$(MOZ_CHILD_PROCESS_NAME)' -DBUNDLEID
='$(MOZ_CHILD_PROCESS_BUNDLEID)' -DMOZ_DEVELOPER_REPO_PATH
='$(topsrcdir)' -DMOZ_DEVELOPER_OBJ_PATH
='$(topobjdir)' $(srcdir)/macbuild
/Contents
/Info.plist.in
-o
$(DIST
)/bin
/$(MOZ_CHILD_PROCESS_NAME
).app
/Contents
/Info.plist
)
34 $(call py_action
,preprocessor
$(MOZ_CHILD_PROCESS_NAME
).app
/Contents
/Resources
/English.lproj
/InfoPlist.strings
,-Fsubstitution
--output-encoding utf-16
-DAPP_NAME
='$(MOZ_CHILD_PROCESS_APPNAME)' $(srcdir)/macbuild
/Contents
/Resources
/English.lproj
/InfoPlist.strings.in
-o
$(DIST
)/bin
/$(MOZ_CHILD_PROCESS_NAME
).app
/Contents
/Resources
/English.lproj
/InfoPlist.strings
)
35 $(NSINSTALL
) -D
$(DIST
)/bin
/$(MOZ_CHILD_PROCESS_NAME
).app
/Contents
/MacOS
36 $(NSINSTALL
) $(DIST
)/bin
/$(MOZ_CHILD_PROCESS_NAME
) $(DIST
)/bin
/$(MOZ_CHILD_PROCESS_NAME
).app
/Contents
/MacOS
38 $(NSINSTALL
) -D
$(DIST
)/bin
/$(MOZ_EME_PROCESS_NAME
).app
39 rsync
-a
-C
--exclude
'*.in' $(srcdir)/macbuild
/Contents
$(DIST
)/bin
/$(MOZ_EME_PROCESS_NAME
).app
40 $(call py_action
,preprocessor
$(MOZ_EME_PROCESS_NAME
).app
/Contents
/Info.plist
,-Fsubstitution
-DEXECUTABLE
='$(MOZ_EME_PROCESS_NAME_BRANDED)' -DBUNDLEID
='$(MOZ_EME_PROCESS_BUNDLEID)' -DMOZ_EME_PROCESS_NAME_BRANDED
='$(MOZ_EME_PROCESS_NAME_BRANDED)' -DMOZ_DEVELOPER_REPO_PATH
='$(topsrcdir)' -DMOZ_DEVELOPER_OBJ_PATH
='$(topobjdir)' $(srcdir)/macbuild
/Contents
/Info.plist.in
-o
$(DIST
)/bin
/$(MOZ_EME_PROCESS_NAME
).app
/Contents
/Info.plist
)
41 $(call py_action
,preprocessor
$(MOZ_EME_PROCESS_NAME
).app
/Contents
/Resources
/English.lproj
/InfoPlist.strings
,-Fsubstitution
--output-encoding utf-16
-DAPP_NAME
='$(MOZ_EME_PROCESS_BUNDLENAME)' $(srcdir)/macbuild
/Contents
/Resources
/English.lproj
/InfoPlist.strings.in
-o
$(DIST
)/bin
/$(MOZ_EME_PROCESS_NAME
).app
/Contents
/Resources
/English.lproj
/InfoPlist.strings
)
42 $(NSINSTALL
) -D
$(DIST
)/bin
/$(MOZ_EME_PROCESS_NAME
).app
/Contents
/MacOS
43 cp
$(DIST
)/bin
/$(MOZ_CHILD_PROCESS_NAME
) "$(DIST)/bin/$(MOZ_EME_PROCESS_NAME).app/Contents/MacOS/$(MOZ_EME_PROCESS_NAME_BRANDED)"