From 66e9f7acebdc5984d0553a00df3fe6e4e95ab0e4 Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Tue, 5 Jun 2001 00:32:14 +0000 Subject: [PATCH] Bugzilla bug #83811: added a new implicit rule to build BUILT_CSRCS because VPATH or vpath doesn't search in a directory that doesn't exist at the beginning of a make invocation even if it is created by the make invocation. Modified files: coreconf/rules.mk, nss/lib/fortcrypt/swfort/manifest.mn git-svn-id: svn://10.0.0.236/trunk@96373 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/coreconf/rules.mk | 7 +++++++ mozilla/security/nss/lib/fortcrypt/swfort/manifest.mn | 3 --- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mozilla/security/coreconf/rules.mk b/mozilla/security/coreconf/rules.mk index 7d347d5f39e..db1838622f2 100644 --- a/mozilla/security/coreconf/rules.mk +++ b/mozilla/security/coreconf/rules.mk @@ -413,6 +413,13 @@ else $(CC) -o $@ -c $(CFLAGS) $< endif +$(PROG_PREFIX)%$(OBJ_SUFFIX): %.c +ifdef USE_NT_C_SYNTAX + $(CC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$<) +else + $(CC) -o $@ -c $(CFLAGS) $< +endif + ifneq ($(OS_ARCH), WINNT) $(OBJDIR)/$(PROG_PREFIX)%$(OBJ_SUFFIX): %.s @$(MAKE_OBJDIR) diff --git a/mozilla/security/nss/lib/fortcrypt/swfort/manifest.mn b/mozilla/security/nss/lib/fortcrypt/swfort/manifest.mn index c8f6f578fd7..6320cdd6278 100644 --- a/mozilla/security/nss/lib/fortcrypt/swfort/manifest.mn +++ b/mozilla/security/nss/lib/fortcrypt/swfort/manifest.mn @@ -46,9 +46,6 @@ CSRCS = swfalg.c \ $(NULL) DIRS = pkcs11 -VPATH = $(OBJDIR) - - EXPORTS = swfort.h swfortt.h PRIVATE_EXPORTS = swforti.h swfortti.h