Commit Graph

112 Commits

Author SHA1 Message Date
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
John O'Duinn
3321f999eb bug 707569 - build_and_deploy should use fast-package r=khuey 2012-05-07 17:50:26 -07:00
Ehsan Akhgari
a992263c77 Merge mozilla-central into mozilla-inbound 2012-04-24 21:29:44 -04:00
John O'Duinn
d95db2fc16 bug 746741: add makefile targets to encapsulate rebuild/repackage/install steps on android. r=ted, a=npotb 2012-04-24 10:45:47 -04:00
Steve Fink
6949e919df Bug 746382 - save a copy of whatever mozconfig you used into $OBJDIR/.mozconfig to make it easier to automate rebuilds. r=khuey
--HG--
extra : rebase_source : 08b3f46644fd97403b9306f9040e05d5b2f20087
2012-04-17 16:10:23 -07:00
Joey Armstrong
d3c2257012 Bug 741839 - Consolidate wildcard calls in client.mk. r=ted 2012-04-06 14:07:46 -04:00
Joey Armstrong
7bf7d224c1 Bug 740452 - Move check-sync-dirs test to a named target so it can be run independent of configure. r=ted 2012-04-05 18:33:21 -04:00
Joey Armstrong
ffd562b9b7 Bug 738404 - Makefile.in edits to use threadsafe mkdir (bug 680246) - r=ted 2012-04-03 16:08:16 -04:00
Nicholas Nethercote
9baf951a08 Bug 715048 - Don't re-run configure if .mozconfig.mk changes. r=khuey.
--HG--
extra : rebase_source : 0c879237191cfe21113ae701b12e03e9ea17d276
2012-01-04 20:43:30 -08:00
mh
fcda82a1ef Bug 710147 - Pass more targets from client.mk to the build system. r=ted 2011-12-16 11:23:34 +01:00
Justin Lebar
5565a9d1a8 Bug 670967 - Part 3: Pass MOZ_PGO_INSTRUMENTED=1 env var during run of instrumented PGO code. r=ted
--HG--
extra : rebase_source : 606f957525f0aa79149c832ae5d66b49d5b5ed52
2011-12-15 15:02:53 -05:00
Ed Morley
c3786e0f0f Bug 707512 - Abort Windows Pymake builds with a clearer error if MOZ_OBJDIR is an MSYS style path; r=ted 2011-12-08 20:02:26 +00:00
Ed Morley
221981eca8 Bug 643167 - js/src configure should build js-config with MAKE, not GMAKE (based on patch by Kyle Huey); r=ted
* Switches js-config generation to use $MAKE rather than $GMAKE, since using
  make.exe on pymake builds causes issues:
  "config/autoconf.mk:354: *** Windows-style srcdir being used with GNU make"
* Ensures $MAKE is defined for configure when using client.mk
* For standalone js builds client.mk won't be used, so sets $MAKE manually if it
  isn't already defined, to avoid bug 605133 comment 22.
2011-12-08 20:02:26 +00:00
Chris AtLee
aa6338033f Bug 481815: makefile hooks required for signing executable files, installer packages, and mars. r=ted
--HG--
extra : rebase_source : 7b696910865fdbc9191cb7511f558879a9b9e05d
2011-12-07 17:06:52 -05:00
Neil Rashbrook
1528fd81d5 Bug 684617 client.mk runs configure twice r=khuey 2011-09-07 20:08:36 +01:00
Kyle Huey
0e75aa6dec Back out Bug 659311 which made it to m-c prematurely. 2011-08-19 13:16:24 -04:00
Mike Hommey
cdfea56b19 Bug 659311 - Avoid clobber between profile generate and use passes of PGO builds. r=ted 2011-05-24 16:19:15 +02:00
Mike Hommey
f7145bb273 Bug 677577 - Force an early failure when check-sync-dirs.py fails. r=ted 2011-08-16 09:35:17 +02:00
Joey Armstrong
d2f242ead3 Bug 666908: Remove MAKE:=gmake. Fix editor colorization quoting problem. r=khuey 2011-06-24 15:00:04 -04:00
Matt Brubeck
27d39ad214 Back out 9fc0e6867256, 6947bbce9672, fb91a23bd158, a5870dd2ad7c, c3d3292fbd1e, 42f2aca1fde9 to fix Android failures on a CLOSED TREE 2011-07-01 11:20:52 -07:00
Joey Armstrong
a4f7fd8a7e Bug 666908: Remove MAKE:=gmake. Fix editor colorization quoting problem. r=khuey 2011-06-24 15:00:04 -04:00
Michael Wu
f809394c0f Bug 641614 - Fix reordering of localized files in omnijar, r=ted 2011-06-10 17:54:01 -07:00
Mike Hommey
78f6262ffd Bug 643704 - Allow to trigger PGO builds through mozconfig. r=ted 2011-03-25 19:50:29 +01:00
Kyle Huey
bc05b06c0e Bug 644164: Make configure depend on the Firefox version. r=ted 2011-03-23 13:24:53 -04:00
Justin Wood
9e9e11865a Bug 608036 - Cleanup some of client.mk r=khuey a=NPOTB
--HG--
extra : rebase_source : fbf93e2ba4ea8c8e83dce84424c808accae6c566
2010-10-28 14:15:15 -04:00
Michael Wu
d5fc5a0de5 Bug 589971 - Omnijar before profiling part of PGO, r=ted a=beltzner 2010-09-09 16:12:08 -04:00
Kyle Huey
49e431d43d Bug 578563: Make objdir builds the default when using client.mk. r=ted a2.0=bs 2010-08-21 09:24:34 -04:00
Neil Rashbrook
2bc3783f07 Bug 572529 Make it even easier to build with pymake r=ted 2010-06-30 12:45:21 +01:00
Vladimir Vukicevic
3e4e7227cc dummy commit 2009-09-02 00:27:27 -07:00
Chris AtLee
80e30b821f bug 445191 - Add upload target for xulrunner, upload SDK if it exists, and add 'sdk', 'upload' targets to client.mk. r=ted 2009-03-31 09:43:31 -04:00
Serge Gautherie
d05bbbc4ba Bug 480680 - nsprpub/configure often gets this unwanted(!?) local modification; (Av1a) No more autoconf; r=(ted.mielczarek + wtc) 2009-03-21 00:38:50 +01:00
Benjamin Smedberg
702b16f68a Bug 483856 - Use core_abspath and $(CURDIR) instead of shells. Use Preprocessor.py instead of preprocessor.pl to avoid perl insanity with pymake, and generally just make me happy. r=ted 2009-03-11 18:39:24 -04:00
Blake Kaplan
f070fe7877 Bug 422986 - client.mk doesn't support parallel make. r=ted 2009-02-19 18:23:17 +01:00
Jim Blandy
f83d8c9ea3 Bug 97954: Allow SpiderMonkey to be built on its own, or as part of Mozilla.
Give SpiderMonkey its own configure script and top-level Makefile.
Adjust js/src/Makefile as appropriate for life as a stand-alone
makefile, instead of a 'make export; make libs'-style Mozilla tier
makefile.  Have the configure script accept '--with-nspr-cflags' and
'--with-nspr-libs' options for using an in-tree NSPR.  Also accept
'--with-system-nspr', '--with-nspr-prefix', and
'--with-nspr-exec-prefix' flags for using an installed NSPR.  Default
to --disable-jemalloc, assuming we don't have that part of the tree
available; have the top-level configure script pass --enable-jemalloc
as needed.

Since we no longer have an export phase to copy header files into
dist/include/js before we build the library, we need to be able to
find nanojit.h in the nanojit directory; fix references in
jsbuiltins.h and jstracer.cpp.

Give SpiderMonkey it its own copies of many of the files from ./config
and ./build.  These are all exact copies, except as follows:

. js/src/config/Makefile.in: js/src only has a subset of
  js/src/config, and thus a subset of the makefile targets.

. js/src/config/autoconf.mk.in: js/src/configure.in has its own make
  variables to set, not set by the top-level configure script, so it
  needs a custom automake.mk template.

. js/src/config/make-system-wrappers.pl: a copy from nsprpub/config,
  so that we can build without having an NSPR source tree handy.

Invoke js/src/configure from ./configure, passing the values computed
for NSPR_CFLAGS and NSPR_LIBS by the top-level configure script.

Treat js/src as a static directory of the js tier, and create a new
config/js (just a Makefile) to be the js tier's non-static directory.
Let js/src/configure generate SpiderMonkey's makefiles, not
./configure.

Generate a 'js-config' script, which clients can call to find the
CFLAGS and LIBS values necessary to compile and link against an
installed SpiderMonkey library.  Don't include the js-config script in
Macintosh packages.

Teach client.mk how to rebuild js/src/configure.

Tell Mercurial to ignore files generated by autoconf in js/src.

Further work:

. Right now, callers must define JS_THREADSAFE when #including jsapi.h.
  This is fixed in a subsequent patch.

. js/src/configure is a trimmed copy of ./configure.  It could be
  trimmed more.

--HG--
rename : build/autoconf/acoutput-fast.pl => js/src/build/autoconf/acoutput-fast.pl
rename : build/autoconf/altoptions.m4 => js/src/build/autoconf/altoptions.m4
rename : build/autoconf/config.guess => js/src/build/autoconf/config.guess
rename : build/autoconf/config.sub => js/src/build/autoconf/config.sub
rename : build/autoconf/glib.m4 => js/src/build/autoconf/glib.m4
rename : build/autoconf/install-sh => js/src/build/autoconf/install-sh
rename : build/autoconf/make-makefile => js/src/build/autoconf/make-makefile
rename : build/autoconf/match-dir.sh => js/src/build/autoconf/match-dir.sh
rename : build/autoconf/nspr.m4 => js/src/build/autoconf/nspr.m4
rename : build/autoconf/pkg.m4 => js/src/build/autoconf/pkg.m4
rename : build/autoconf/update-makefile.sh => js/src/build/autoconf/update-makefile.sh
rename : build/cygwin-wrapper => js/src/build/cygwin-wrapper
rename : build/hcc => js/src/build/hcc
rename : build/hcpp => js/src/build/hcpp
rename : build/unix/mddepend.pl => js/src/build/unix/mddepend.pl
rename : build/unix/uniq.pl => js/src/build/unix/uniq.pl
rename : config/Makefile.in => js/src/config/Makefile.in
rename : config/Moz/Milestone.pm => js/src/config/Moz/Milestone.pm
rename : config/autoconf.mk.in => js/src/config/autoconf.mk.in
rename : config/config.mk => js/src/config/config.mk
rename : config/elf-dynstr-gc.c => js/src/config/elf-dynstr-gc.c
rename : config/fastcwd.pl => js/src/config/fastcwd.pl
rename : config/gcc_hidden.h => js/src/config/gcc_hidden.h
rename : config/insure.mk => js/src/config/insure.mk
rename : nsprpub/config/make-system-wrappers.pl => js/src/config/make-system-wrappers.pl
rename : config/milestone.pl => js/src/config/milestone.pl
rename : config/milestone.txt => js/src/config/milestone.txt
rename : config/mkdepend/Makefile.in => js/src/config/mkdepend/Makefile.in
rename : config/mkdepend/cppsetup.c => js/src/config/mkdepend/cppsetup.c
rename : config/mkdepend/def.h => js/src/config/mkdepend/def.h
rename : config/mkdepend/ifparser.c => js/src/config/mkdepend/ifparser.c
rename : config/mkdepend/ifparser.h => js/src/config/mkdepend/ifparser.h
rename : config/mkdepend/imakemdep.h => js/src/config/mkdepend/imakemdep.h
rename : config/mkdepend/include.c => js/src/config/mkdepend/include.c
rename : config/mkdepend/main.c => js/src/config/mkdepend/main.c
rename : config/mkdepend/mkdepend.man => js/src/config/mkdepend/mkdepend.man
rename : config/mkdepend/parse.c => js/src/config/mkdepend/parse.c
rename : config/mkdepend/pr.c => js/src/config/mkdepend/pr.c
rename : config/nfspwd.pl => js/src/config/nfspwd.pl
rename : config/nsinstall.c => js/src/config/nsinstall.c
rename : config/nsinstall.py => js/src/config/nsinstall.py
rename : config/pathsub.c => js/src/config/pathsub.c
rename : config/pathsub.h => js/src/config/pathsub.h
rename : config/preprocessor.pl => js/src/config/preprocessor.pl
rename : config/revdepth-nt.pl => js/src/config/revdepth-nt.pl
rename : config/revdepth.pl => js/src/config/revdepth.pl
rename : config/rules.mk => js/src/config/rules.mk
rename : config/system-headers => js/src/config/system-headers
rename : config/version.mk => js/src/config/version.mk
rename : config/version_win.pl => js/src/config/version_win.pl
rename : configure.in => js/src/configure.in
2008-10-29 08:29:22 -07:00
Philippe M. Chiasson
c5e7d7369d Bug 454449 - client.mk doesn't gracefully fail if it can't locate autoconf; v3; r=ted.mielczarek 2008-10-23 18:24:52 +02:00
Philippe M. Chiasson
23b22dc234 Bug 454449. Backout bustage introduced in rev c966e7e41dbd 2008-10-20 22:55:04 -04:00
Philippe M. Chiasson
8f1329e7ca Bug 454449. Teach client.mk to fail more gracefully if it can't locate autoconf. r=ted.mielczarek 2008-10-20 12:07:23 -04:00
Jim Blandy
dd450ca92a Neaten up the handling of configure script regeneration in client.mk.
Add a new 'configure-files' target, just for updating
autoconf-generated files.
2008-08-26 14:34:35 -07:00
Robert Kaiser
4a7672a529 bug 450948 - Remove Mac case from AUTOCONF detection code - simple, slightly hacky, new fix, r=ted 2008-08-24 20:02:13 +02:00
Arpad Borsos
7dcef3f649 Bug 445143 - "clean mozilla-central from unneeded references to suite, mail, etc." [r=Standard8 r=ted] 2008-08-19 23:05:00 -05:00
Oleg Romashin
dbbb2a81ec Removed some not required changes which can break trunk build
Removed empty lines changes
2008-08-03 21:10:34 +03:00
Rob Campbell
b7c2978411 client.mk still includes instructions to call python client.py checkout, p=me, r=ted 2008-06-24 16:00:30 -03:00
Axel Hecht
84a59603dd bug 439078, add allmakefiles.sh to CONFIG_STATUS_DEPS, r=ted 2008-06-13 18:08:13 +02:00
bcrowder@mozilla.com
fd051a08a3 Bug 434068 - client.mk from mozilla-central does not provide CONFIG_GUESS, r=:luser, a=jorendorff 2008-05-16 12:15:53 -07:00
Ben Turner
e4211cd6cf Bug 432911 - "Hardcoded autoconf-2.13 in client.mk breaks OS X builds". r=josh, sr+a=ted. 2008-05-16 12:05:14 -07:00
benjamin@smedbergs.us
1f36c2d078 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-10 17:07:41 -04:00
ted.mielczarek@gmail.com
d143c684fe bug 419348 - build config fixes for profile-guided optimization on mac. fixes for PGO on universal builds, configure arg to disable PGO in spite of profiled build. r=bsmedberg 2008-03-06 03:57:21 -08:00
benjamin@smedbergs.us
bd3ecfec1d Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarena.c => js/src/jsarena.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jscpucfg.c => js/src/jscpucfg.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsdhash.c => js/src/jsdhash.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jshash.c => js/src/jshash.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsutil.c => js/src/jsutil.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-02-22 16:45:09 -05:00
kaie@kuix.de
5f3d9f4a5d Bug 416571, Update NSPR to 4.7.1 beta 1 r=wtc, blocking1.9=mtschrep Bug 412937, Update NSS to NSS_3_12_BETA2 r=rrelyea, blocking1.9=mtschrep 2008-02-21 16:58:50 -08:00
ted.mielczarek@gmail.com
f7933e7360 bug 361343 - make profiledbuild work on windows. r=bsmedberg 2008-02-20 15:29:11 -08:00