summaryrefslogtreecommitdiffstats
path: root/rules/tcpwrapper.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2003-07-16 04:23:28 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2003-07-16 04:23:28 +0000
commitf14eac4eb220c1115a52c75746ca501cf0d0df4c (patch)
treea6b3c37c657365afaaf18bac7de66285c44a5022 /rules/tcpwrapper.make
parentb9c9c7e740c3d62333a7a8a2d6395efe520dc409 (diff)
downloadptxdist-f14eac4eb220c1115a52c75746ca501cf0d0df4c.tar.gz
ptxdist-f14eac4eb220c1115a52c75746ca501cf0d0df4c.tar.xz
big fat update!
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunk@71 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/tcpwrapper.make')
-rw-r--r--rules/tcpwrapper.make20
1 files changed, 12 insertions, 8 deletions
diff --git a/rules/tcpwrapper.make b/rules/tcpwrapper.make
index 8b4ab5642..12e66d5b7 100644
--- a/rules/tcpwrapper.make
+++ b/rules/tcpwrapper.make
@@ -1,4 +1,5 @@
-# $Id: tcpwrapper.make,v 1.3 2003/06/30 15:43:26 bsp Exp $
+# -*-makefile-*-
+# $Id: tcpwrapper.make,v 1.4 2003/07/16 04:23:28 mkl Exp $
#
# (c) 2003 by Pengutronix e.K., Hildesheim, Germany
# See CREDITS for details about who has contributed to this project.
@@ -34,14 +35,15 @@ TCPWRAPPER_PTXPATCH_SOURCE = $(SRCDIR)/$(TCPWRAPPER_PTXPATCH).diff
tcpwrapper_get: $(STATEDIR)/tcpwrapper.get
$(STATEDIR)/tcpwrapper.get: $(TCPWRAPPER_SOURCE) $(TCPWRAPPER_PTXPATCH_SOURCE)
+ @$(call targetinfo, tcpwrapper.get)
touch $@
$(TCPWRAPPER_SOURCE):
- @$(call targetinfo, tcpwrapper.get)
+ @$(call targetinfo, $(TCPWRAPPER_SOURCE))
wget -P $(SRCDIR) $(PASSIVEFTP) $(TCPWRAPPER_URL)
-
+
$(TCPWRAPPER_PTXPATCH_SOURCE):
- @$(call targetinfo, tcpwrapper-ptxpatch.get)
+ @$(call targetinfo, $(TCPWRAPPER_PTXPATCH_SOURCE))
wget -P $(SRCDIR) $(PASSIVEFTP) $(TCPWRAPPER_PTXPATCH_URL)
# ----------------------------------------------------------------------------
@@ -52,6 +54,7 @@ tcpwrapper_extract: $(STATEDIR)/tcpwrapper.extract
$(STATEDIR)/tcpwrapper.extract: $(STATEDIR)/tcpwrapper.get
@$(call targetinfo, tcpwrapper.extract)
+ @$(call clean, $(TCPWRAPPER_DIR))
$(TCPWRAPPER_EXTRACT) $(TCPWRAPPER_SOURCE) | $(TAR) -C $(BUILDDIR) -xf -
cd $(TCPWRAPPER_DIR) && patch -p1 < $(TCPWRAPPER_PTXPATCH_SOURCE)
touch $@
@@ -62,7 +65,7 @@ $(STATEDIR)/tcpwrapper.extract: $(STATEDIR)/tcpwrapper.get
tcpwrapper_prepare: $(STATEDIR)/tcpwrapper.prepare
-$(STATEDIR)/tcpwrapper.prepare: $(STATEDIR)/tcpwrapper.extract
+$(STATEDIR)/tcpwrapper.prepare: $(STATEDIR)/virtual-xchain.install $(STATEDIR)/tcpwrapper.extract
@$(call targetinfo, tcpwrapper.prepare)
touch $@
@@ -72,9 +75,10 @@ $(STATEDIR)/tcpwrapper.prepare: $(STATEDIR)/tcpwrapper.extract
tcpwrapper_compile: $(STATEDIR)/tcpwrapper.compile
-TCPWRAPPER_ENVIRONMENT = CC=$(PTXCONF_GNU_TARGET)-gcc PATH=$(PTXCONF_PREFIX)/bin:$$PATH
+TCPWRAPPER_ENVIRONMENT = PATH=$(CROSS_PATH)
+TCPWRAPPER_MAKEVARS = $(CROSS_ENV)
-$(STATEDIR)/tcpwrapper.compile: $(STATEDIR)/tcpwrapper.prepare
+$(STATEDIR)/tcpwrapper.compile: $(STATEDIR)/tcpwrapper.prepare
@$(call targetinfo, tcpwrapper.compile)
$(TCPWRAPPER_ENVIRONMENT) make -C $(TCPWRAPPER_DIR) linux $(TCPWRAPPER_MAKEVARS)
touch $@
@@ -100,7 +104,7 @@ $(STATEDIR)/tcpwrapper.targetinstall: $(STATEDIR)/tcpwrapper.install
ifeq (y, $(PTXCONF_TCPWRAPPER_INSTALL_TCPD))
mkdir -p $(ROOTDIR)/usr/sbin
install $(TCPWRAPPER_DIR)/tcpd $(ROOTDIR)/usr/sbin
- $(CROSSSTRIP) -S $(ROOTDIR)/usr/sbin/tcpd
+ $(CROSSSTRIP) -R .notes -R .comment $(ROOTDIR)/usr/sbin/tcpd
endif
touch $@