diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-17 08:03:59 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-17 08:03:59 +0000 |
commit | ef7784a62d2ecd681b37aee7040e71bbb34a51cd (patch) | |
tree | 92daacce553b174393de87921912ada04a4ecb6e /make/newt.mk | |
parent | 8e081ea611483c35a17e0a5c3e80a943b27ab0a2 (diff) |
standardize handling of GNU configure scripts
-Erik
Diffstat (limited to 'make/newt.mk')
-rw-r--r-- | make/newt.mk | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/make/newt.mk b/make/newt.mk index 54db8eb94..56fba9ea0 100644 --- a/make/newt.mk +++ b/make/newt.mk @@ -23,10 +23,22 @@ $(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE) $(NEWT_PATCH) touch $(NEWT_DIR)/.source; $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source - (cd $(NEWT_DIR); rm -rf config.cache; CC=$(TARGET_CC1) \ - ./configure --shared --prefix=/usr --exec_prefix=$(STAGING_DIR)/usr/bin \ - --libdir=$(STAGING_DIR)/lib --includedir=$(STAGING_DIR)/include \ - --host=$(ARCH)-pc-linux-gnu); + (cd $(NEWT_DIR); rm -rf config.cache; \ + PATH=$(STAGING_DIR)/bin:$$PATH CC=$(TARGET_CC1) \ + ./configure \ + --target=$(GNU_TARGET_NAME) \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --libexecdir=/usr/lib \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --localstatedir=/var \ + --mandir=/usr/man \ + --infodir=/usr/info \ + --disable-nls \ + ); touch $(NEWT_DIR)/.configured; $(NEWT_DIR)/libnewt.so.0.50.17: $(NEWT_DIR)/.configured @@ -50,7 +62,7 @@ newt: uclibc slang $(TARGET_DIR)/lib/libnewt.so.0.50.17 newt-clean: rm -f $(TARGET_DIR)/lib/libnewt.so* - -make -C $(NEWT_DIR) clean + -$(MAKE) -C $(NEWT_DIR) clean newt-dirclean: slang-dirclean rm -rf $(NEWT_DIR) |