Closed Bug 419242 Opened 16 years ago Closed 16 years ago

'all' is not the default makefile target in lib/softoken and lib/softoken/legacydb

Categories

(NSS :: Build, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wtc, Assigned: wtc)

Details

Attachments

(2 files)

Attached patch Proposed patchSplinter Review
The default makefile target should be 'all' (which is
equivalent to 'export libs') so that when we say

  gmake

it will build the 'all' makefile target.  This requires
that 'all' (from coreconf/rules.mk) be the first makefile
target in the makefile.

This is not the case in lib/softoken and lib/softoken/legacydb
because it has a makefile target defined in the local config.mk,
which is included before coreconf/rules.mk.

The attached patch fixes this problem.
Attachment #305278 - Flags: review?(christophe.ravel.bugs)
Attachment #305278 - Flags: review?(christophe.ravel.bugs) → review+
I checked in the patch on the NSS trunk for NSS 3.12.

Checking in Makefile;
/cvsroot/mozilla/security/nss/lib/softoken/Makefile,v  <--  Makefile
new revision: 1.6; previous revision: 1.5
done
Checking in config.mk;
/cvsroot/mozilla/security/nss/lib/softoken/config.mk,v  <--  config.mk
new revision: 1.24; previous revision: 1.23
done
Checking in legacydb/Makefile;
/cvsroot/mozilla/security/nss/lib/softoken/legacydb/Makefile,v  <--  Makefile
new revision: 1.3; previous revision: 1.2
done
Checking in legacydb/config.mk;
/cvsroot/mozilla/security/nss/lib/softoken/legacydb/config.mk,v  <--  config.mknew revision: 1.6; previous revision: 1.5
done
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.12
lib/ssl needs the same change because the SSL bypass code also
uses freebl.
Attachment #307117 - Flags: review?(christophe.ravel.bugs)
Attachment #307117 - Flags: review?(christophe.ravel.bugs) → review+
Comment on attachment 307117 [details] [diff] [review]
Supplemental patch

I checked in this patch (for lib/ssl) on the NSS trunk for
NSS 3.12.

Checking in Makefile;
/cvsroot/mozilla/security/nss/lib/ssl/Makefile,v  <--  Makefile
new revision: 1.7; previous revision: 1.6
done
Checking in config.mk;
/cvsroot/mozilla/security/nss/lib/ssl/config.mk,v  <--  config.mk
new revision: 1.24; previous revision: 1.23
done
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: