Lines 62-77
PKG_DMG_SOURCE = $(STAGEPATH)xulrunner-p
Link Here
|
62 |
endif |
62 |
endif |
63 |
|
63 |
|
64 |
include $(topsrcdir)/config/rules.mk |
64 |
include $(topsrcdir)/config/rules.mk |
65 |
|
65 |
|
66 |
INSTALL_SDK = 1 |
66 |
INSTALL_SDK = 1 |
67 |
|
67 |
|
68 |
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk |
68 |
include $(topsrcdir)/toolkit/mozapps/installer/packager.mk |
69 |
|
69 |
|
|
|
70 |
# the apilibdir always ends with 1.9 as every patch update will provide a link |
71 |
apilibdir = $(dir $(installdir))xulrunner-2.0 |
72 |
|
70 |
$(MOZILLA_VERSION).system.conf: $(topsrcdir)/config/milestone.txt Makefile |
73 |
$(MOZILLA_VERSION).system.conf: $(topsrcdir)/config/milestone.txt Makefile |
71 |
printf "[%s]\nGRE_PATH=%s\nxulrunner=true\nabi=%s" \ |
74 |
printf "[%s]\nGRE_PATH=%s\nxulrunner=true\nabi=%s" \ |
72 |
$(MOZILLA_VERSION) $(installdir) $(TARGET_XPCOM_ABI)> $@ |
75 |
$(MOZILLA_VERSION) $(installdir) $(TARGET_XPCOM_ABI)> $@ |
73 |
|
76 |
|
74 |
ifndef SKIP_GRE_REGISTRATION |
77 |
ifndef SKIP_GRE_REGISTRATION |
75 |
# to register xulrunner per-user, override this with $HOME/.gre.d |
78 |
# to register xulrunner per-user, override this with $HOME/.gre.d |
76 |
regdir = /etc/gre.d |
79 |
regdir = /etc/gre.d |
77 |
|
80 |
|
Lines 116-131
pkg_config_files += mozilla-nss.pc
Link Here
|
116 |
endif |
119 |
endif |
117 |
|
120 |
|
118 |
%.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS) |
121 |
%.pc: $(srcdir)/%.pc.in $(GLOBAL_DEPS) |
119 |
cat $< | sed \ |
122 |
cat $< | sed \ |
120 |
-e "s|%prefix%|$(prefix)|" \ |
123 |
-e "s|%prefix%|$(prefix)|" \ |
121 |
-e "s|%includedir%|$(includedir)|" \ |
124 |
-e "s|%includedir%|$(includedir)|" \ |
122 |
-e "s|%idldir%|$(idldir)|" \ |
125 |
-e "s|%idldir%|$(idldir)|" \ |
123 |
-e "s|%sdkdir%|$(sdkdir)|" \ |
126 |
-e "s|%sdkdir%|$(sdkdir)|" \ |
|
|
127 |
-e "s|%libdir%|$(apilibdir)|" \ |
124 |
-e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \ |
128 |
-e "s|%MOZ_APP_NAME%|$(MOZ_APP_NAME)|" \ |
125 |
-e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \ |
129 |
-e "s|%MOZILLA_VERSION%|$(MOZ_APP_VERSION)|" \ |
126 |
-e "s|%WCHAR_CFLAGS%|$(WCHAR_CFLAGS)|" \ |
130 |
-e "s|%WCHAR_CFLAGS%|$(WCHAR_CFLAGS)|" \ |
127 |
-e "s|%FULL_NSPR_LIBS%|$(FULL_NSPR_LIBS)|" \ |
131 |
-e "s|%FULL_NSPR_LIBS%|$(FULL_NSPR_LIBS)|" \ |
128 |
-e "s|%FULL_NSPR_CFLAGS%|$(FULL_NSPR_CFLAGS)|" \ |
132 |
-e "s|%FULL_NSPR_CFLAGS%|$(FULL_NSPR_CFLAGS)|" \ |
129 |
-e "s|%NSPR_NAME%|$(NSPR_NAME)|" \ |
133 |
-e "s|%NSPR_NAME%|$(NSPR_NAME)|" \ |
130 |
-e "s|%NSPR_VERSION%|$(NSPR_VERSION)|" \ |
134 |
-e "s|%NSPR_VERSION%|$(NSPR_VERSION)|" \ |
131 |
-e "s|%MOZ_XUL_LINK%|$(MOZ_XUL_LINK)|" \ |
135 |
-e "s|%MOZ_XUL_LINK%|$(MOZ_XUL_LINK)|" \ |