summaryrefslogtreecommitdiff
path: root/config/config.mk
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>2000-12-30 05:44:01 +0000
committercls%seawood.org <devnull@localhost>2000-12-30 05:44:01 +0000
commit31f59ca50c82c358f2248c2eb9d3003c3c580dc6 (patch)
tree1e01c99f1db3fc4da8d192fd2f2eb517558923cd /config/config.mk
parent65f394e4b844a3a8bafb256bd4b28f95eba048a0 (diff)
downloadnspr-hg-31f59ca50c82c358f2248c2eb9d3003c3c580dc6.tar.gz
Preparations for building on win32 with autoconf Makefile.ins.
Diffstat (limited to 'config/config.mk')
-rw-r--r--config/config.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/config.mk b/config/config.mk
index eba5b389..29e2b514 100644
--- a/config/config.mk
+++ b/config/config.mk
@@ -70,7 +70,13 @@ NOMD_CFLAGS = $(CC_ONLY_FLAGS) $(OPTIMIZER) $(NOMD_OS_CFLAGS)\
NOMD_CCFLAGS = $(CCC_ONLY_FLAGS) $(OPTIMIZER) $(NOMD_OS_CFLAGS)\
$(XP_DEFINE) $(DEFINES) $(INCLUDES) $(XCFLAGS)
-NSINSTALL = $(MOD_DEPTH)/config/$(OBJDIR_NAME)/nsinstall
+LDFLAGS = $(OS_LDFLAGS)
+
+define MAKE_OBJDIR
+if test ! -d $(@D); then rm -rf $(@D); $(NSINSTALL) -D $(@D); fi
+endef
+
+LINK_DLL = $(LD) $(OS_DLLFLAGS) $(DLLFLAGS)
ifeq ($(NSDISTMODE),copy)
# copy files, but preserve source mtime