diff options
author | cls%seawood.org <devnull@localhost> | 2005-11-23 06:25:05 +0000 |
---|---|---|
committer | cls%seawood.org <devnull@localhost> | 2005-11-23 06:25:05 +0000 |
commit | 402800b8dd4ca7bf7104bfe103b602ecc4f79b2e (patch) | |
tree | 03a432bd4e5eecf386075e1c7c6970308c7f0421 | |
parent | 111731fbcb8ba473621868b3e8d5a9ae51f8aa26 (diff) | |
download | nspr-hg-402800b8dd4ca7bf7104bfe103b602ecc4f79b2e.tar.gz |
Only export *.cfg files needed for cross-compiling.
Thanks to Wan-Teh Chang <wtchang@redhat.com> for the patch.
Bug #304239 r=cls
-rw-r--r-- | pr/include/md/Makefile.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pr/include/md/Makefile.in b/pr/include/md/Makefile.in index 3f3c08bc..41e31180 100644 --- a/pr/include/md/Makefile.in +++ b/pr/include/md/Makefile.in @@ -44,13 +44,14 @@ VPATH = @srcdir@ include $(MOD_DEPTH)/config/autoconf.mk -HEADERS = $(wildcard $(srcdir)/*.h) +# The .cfg files need to be exported and installed to support +# cross-compilation. CONFIGS = $(wildcard $(srcdir)/*.cfg) include $(topsrcdir)/config/rules.mk export:: $(MDCPUCFG_H) - $(INSTALL) -m 444 $(CONFIGS) $(HEADERS) $(dist_includedir)/md + $(INSTALL) -m 444 $(CONFIGS) $(dist_includedir)/md $(INSTALL) -m 444 $(srcdir)/$(MDCPUCFG_H) $(dist_includedir) ifeq ($(OS_ARCH),OpenVMS) # On OpenVMS mv updates the file's modified time, so we create a hard link. @@ -62,10 +63,10 @@ else mv -f $(dist_includedir)/$(MDCPUCFG_H) $(dist_includedir)/prcpucfg.h endif -real_install:: +install:: $(NSINSTALL) -D $(DESTDIR)$(includedir)/md cp $(srcdir)/$(MDCPUCFG_H) $(DESTDIR)$(includedir)/prcpucfg.h - $(NSINSTALL) -t -m 644 $(HEADERS) $(DESTDIR)$(includedir)/md + $(NSINSTALL) -t -m 644 $(CONFIGS) $(DESTDIR)$(includedir)/md release:: export @echo "Copying machine-dependent prcpucfg.h" |