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
authorcls%seawood.org
Fri, 23 Jul 1999 15:36:02 +0000
branchunlabeled-1.4.2
changeset 725 c3fe4f02edd3
parent 661 9b79f9399763
child 726 aaf416529e06
push idunknown
push userunknown
push dateunknown
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.
pr/include/md/Makefile.in
--- a/pr/include/md/Makefile.in
+++ b/pr/include/md/Makefile.in
@@ -20,16 +20,17 @@
 MOD_DEPTH	= ../../..
 topsrcdir	= @top_srcdir@
 srcdir		= @srcdir@
 VPATH		= @srcdir@
 
 include $(MOD_DEPTH)/config/autoconf.mk
 
 HEADERS = $(wildcard $(srcdir)/*.h)
+CONFIGS = $(wildcard $(srcdir)/*.cfg)
 
 include $(topsrcdir)/config/rules.mk
 
 ifndef USE_AUTOCONF
 
 ifeq ($(OS_ARCH),IRIX)
 ifeq ($(USE_64), 1)
 MDCPUCFG_H = _irix64.cfg
@@ -147,25 +148,25 @@ MDCPUCFG_H = _qnx.cfg
 endif
 
 ifeq ($(OS_ARCH),BeOS)
 MDCPUCFG_H = _beos.cfg
 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)
 	if [ ! -L $(DIST)/include/prcpucfg.h ]; then \
 	  mv -f $(DIST)/include/prcpucfg.h $(MDCPUCFG_H); \
 	  ln -fs ../../../nsprpub/pr/include/md/$(MDCPUCFG_H) \
 	    $(DIST)/include/prcpucfg.h; \
 	fi