summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtc%netscape.com <devnull@localhost>2001-06-05 00:32:14 +0000
committerwtc%netscape.com <devnull@localhost>2001-06-05 00:32:14 +0000
commit168e0f6c076b984d538c86299de360d3e751cee2 (patch)
treeec29257e3797d78cfaf60df6a59a046d4b395e17
parent7821025e801a2c80010b60971ea0336734d0e512 (diff)
downloadnss-hg-168e0f6c076b984d538c86299de360d3e751cee2.tar.gz
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
-rw-r--r--security/coreconf/rules.mk7
-rw-r--r--security/nss/lib/fortcrypt/swfort/manifest.mn3
2 files changed, 7 insertions, 3 deletions
diff --git a/security/coreconf/rules.mk b/security/coreconf/rules.mk
index 7d347d5f3..db1838622 100644
--- a/security/coreconf/rules.mk
+++ b/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/security/nss/lib/fortcrypt/swfort/manifest.mn b/security/nss/lib/fortcrypt/swfort/manifest.mn
index c8f6f578f..6320cdd62 100644
--- a/security/nss/lib/fortcrypt/swfort/manifest.mn
+++ b/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