summaryrefslogtreecommitdiff
path: root/pr/include/md/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'pr/include/md/Makefile.in')
-rw-r--r--pr/include/md/Makefile.in18
1 files changed, 10 insertions, 8 deletions
diff --git a/pr/include/md/Makefile.in b/pr/include/md/Makefile.in
index 70d0b1a6..1b8e4b5b 100644
--- a/pr/include/md/Makefile.in
+++ b/pr/include/md/Makefile.in
@@ -147,6 +147,10 @@ ifeq ($(OS_ARCH),QNX)
MDCPUCFG_H = _qnx.cfg
endif
+ifeq ($(OS_TARGET),NTO)
+MDCPUCFG_H = _nto.cfg
+endif
+
ifeq ($(OS_ARCH),BeOS)
MDCPUCFG_H = _beos.cfg
endif
@@ -160,22 +164,20 @@ export:: #$(MDCPUCFG_H)
# $(INSTALL) -m 444 $(MDCPUCFG_H) $(MOZ_INCL)
# mv -f $(DIST)/include/$(MDCPUCFG_H) $(MOZ_INCL)/prcpucfg.h
#else
+ifneq ($(OS_ARCH),OpenVMS)
@if cmp -s $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; then \
echo $(DIST)/include/prcpucfg.h unchanged; \
else \
echo cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; \
cp -f $(srcdir)/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h; \
fi
-#endif
-ifeq ($(OS_ARCH),OpenVMS)
-# mv'ing a link causes the file itself to move, not the link, so fix it.
+else
+# mv'ing a link causes the file itself to move, not the link.
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
+ rm -f $(DIST)/include/prcpucfg.h
+ ln -fs `pwd`/$(MDCPUCFG_H) $(DIST)/include/prcpucfg.h
endif
+#endif
release:: export
@echo "Copying machine-dependent prcpucfg.h"