Bug 408062 - "Provide short-hand includetype=unstable .pc files for libxul and libxul-embedding" [p=asac@jwsdot.com (Alexander Sack) r=bsmedberg a1.9=damons]
authorreed@reedloden.com
Fri, 04 Jan 2008 22:50:34 -0800
changeset 9875 82a733cff1ca7b15c3f241e7acea47d620b5fd3b
parent 9874 9c4aeac0ab0e99acdd360f23594af5fd607dc3e7
child 9876 0ea26695c3341f1e01497ee3b3c46e20cc7d9187
push id1
push userbsmedberg@mozilla.com
push dateThu, 20 Mar 2008 16:49:24 +0000
treeherdermozilla-central@61007906a1f8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs408062
milestone1.9b3pre
Bug 408062 - "Provide short-hand includetype=unstable .pc files for libxul and libxul-embedding" [p=asac@jwsdot.com (Alexander Sack) r=bsmedberg a1.9=damons]
xulrunner/installer/Makefile.in
xulrunner/installer/libxul-embedding-unstable.pc.in
xulrunner/installer/libxul-unstable.pc.in
--- a/xulrunner/installer/Makefile.in
+++ b/xulrunner/installer/Makefile.in
@@ -80,16 +80,18 @@ install:: $(MOZILLA_VERSION).system.conf
 	$(SYSINSTALL) $^ $(DESTDIR)$(regdir)
 endif
 
 # Add pkg-config files to the install:: target
 
 pkg_config_files = \
 	libxul.pc \
 	libxul-embedding.pc \
+	libxul-unstable.pc \
+	libxul-embedding-unstable.pc \
 	mozilla-js.pc \
 	mozilla-plugin.pc \
 	$(NULL)
 
 ifdef MOZ_NATIVE_NSPR
 NSPR_NAME=nspr
 NSPR_VERSION=$(shell $(NSPR_CONFIG) --version)
 else
new file mode 100644
--- /dev/null
+++ b/xulrunner/installer/libxul-embedding-unstable.pc.in
@@ -0,0 +1,11 @@
+prefix=%prefix%
+sdkdir=%sdkdir%
+includedir=%includedir%
+idldir=%idldir%
+includetype=unstable
+
+Name: libxul-embedding-unstable
+Description: Static library for version-independent embedding of the Mozilla runtime (unstable API)
+Version: %MOZILLA_VERSION%
+Libs: -L${sdkdir}/lib -lxpcomglue
+Cflags: -DXPCOM_GLUE -I${includedir}/${includetype} -fshort-wchar
new file mode 100644
--- /dev/null
+++ b/xulrunner/installer/libxul-unstable.pc.in
@@ -0,0 +1,12 @@
+prefix=%prefix%
+sdkdir=%sdkdir%
+includedir=%includedir%
+idldir=%idldir%
+includetype=unstable
+
+Name: libxul
+Description: The Mozilla Runtime and Embedding Engine (unstable API)
+Version: %MOZILLA_VERSION%
+Requires: %NSPR_NAME% >= %NSPR_VERSION%
+Libs: -L${sdkdir}/lib -lxpcomglue_s -lxul -lxpcom
+Cflags: -I${includedir}/${includetype} -fshort-wchar