Closed Bug 270276 Opened 20 years ago Closed 16 years ago

Make Makefile.ref easier to use w/ other stuff

Categories

(Core :: JavaScript Engine, enhancement)

x86
Windows XP
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX
Future

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(2 obsolete files)

sample input/output:
R:\mozilla\js\src>make JS_THREADSAFE=1 PROG=js NSPR_DIR=nspr-4.4.1 -f
Makefile.ref -s
cd fdlibm; make -f Makefile.ref all

R:\mozilla\js\src>make JS_THREADSAFE=1 PROG=mtstress NSPR_DIR=nspr-4.4.1 -f
Makefile.ref -s
cd fdlibm; make -f Makefile.ref all

mtstress is jband's test app, having to setup the nspr world for it wasn't
something i really wanted to do, now i can specify it from the make commandline.
Attached patch changes (obsolete) — Splinter Review
Attached patch better patch (obsolete) — Splinter Review
PROG=foo this makes it possible to specify an app to be built (there are a few
things other than jsshell that testers provide occasionally).
NSPR_DIR=nspr-4.1.1 provides an easy way to specify the path to an arbitrary
nspr dir.
JS_VERSION=140 lets you specify some non standard version of js to build.
Attachment #166168 - Attachment is obsolete: true
Attachment #181588 - Flags: review?(brendan)
Flags: testcase-
Attachment #181588 - Flags: review?(mrbkap)
Comment on attachment 181588 [details] [diff] [review]
better patch

>Index: Makefile.ref
>+NSPR_DIR         = $(MOZ_DEPTH)/dist/$(OBJDIR)

Do you not have to move the definition of $(MOZ_DEPTH) above this? Looks fine otherwise.
Attachment #181588 - Flags: review?(mrbkap) → review+
QA Contact: pschwartau → general
Comment on attachment 181588 [details] [diff] [review]
better patch

Old patch and request. Might still be relevant, trying crowder.

/be
Attachment #181588 - Flags: review?(brendan) → review?(crowder)
Comment on attachment 181588 [details] [diff] [review]
better patch

Would be nice to see an answer for comment 3, but otherwise good.
Attachment #181588 - Flags: review?(crowder) → review+
Whiteboard: [timeless: need new patch, address comment 3]
Target Milestone: --- → Future
Comment on attachment 181588 [details] [diff] [review]
better patch

Rotted.
Attachment #181588 - Attachment is obsolete: true
This has become totally obsolete, due to the introduction of autoconf-based builds.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Whiteboard: [timeless: need new patch, address comment 3]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: