summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcls%seawood.org <devnull@localhost>1999-07-23 15:36:02 +0000
committercls%seawood.org <devnull@localhost>1999-07-23 15:36:02 +0000
commita4c9b6995b1dc9309f5237c976a8290cb90f392f (patch)
tree11237533e5d43fa6deb3cf3c29fafb5a3f8266e3
parent1d135a242ceda1ea5c6c6c70425711762551bb69 (diff)
downloadnspr-hg-unlabeled-1.4.2.tar.gz
Hacked prtypes.h to use user specified md/_platform.cfg if MDCPUCFG is defined. Exported the md/_platform.cfg files so that it can be changed at compile-time rather than configure time.unlabeled-1.4.2
-rw-r--r--pr/include/md/Makefile.in19
1 files changed, 10 insertions, 9 deletions
diff --git a/pr/include/md/Makefile.in b/pr/include/md/Makefile.in
index 8bca5718..99c1c3c0 100644
--- a/pr/include/md/Makefile.in
+++ b/pr/include/md/Makefile.in
@@ -25,6 +25,7 @@ VPATH = @srcdir@
include $(MOD_DEPTH)/config/autoconf.mk
HEADERS = $(wildcard $(srcdir)/*.h)
+CONFIGS = $(wildcard $(srcdir)/*.cfg)
include $(topsrcdir)/config/rules.mk
@@ -152,15 +153,15 @@ endif
endif # ! USE_AUTOCONF
-export:: $(MDCPUCFG_H)
- $(INSTALL) -m 444 $(srcdir)/$(MDCPUCFG_H) $(DIST)/include
-ifeq ($(MOZ_BITS),16)
- cp $(DIST)/include/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h
- $(INSTALL) -m 444 $(MDCPUCFG_H) $(MOZ_INCL)
- mv -f $(DIST)/include/$(MDCPUCFG_H) $(MOZ_INCL)/prcpucfg.h
-else
- mv -f $(DIST)/include/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h
-endif
+export:: #$(MDCPUCFG_H)
+ $(INSTALL) -m 444 $(CONFIGS) $(DIST)/include/md
+#ifeq ($(MOZ_BITS),16)
+# cp $(DIST)/include/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h
+# $(INSTALL) -m 444 $(MDCPUCFG_H) $(MOZ_INCL)
+# mv -f $(DIST)/include/$(MDCPUCFG_H) $(MOZ_INCL)/prcpucfg.h
+#else
+ cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h
+#endif
ifeq ($(OS_ARCH),OpenVMS)
# mv'ing a link causes the file itself to move, not the link, so fix it.
rm -f $(DIST)/include/$(MDCPUCFG_H)