summaryrefslogtreecommitdiffstats
path: root/rules/portmap.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-05-11 12:20:14 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-05-11 12:20:14 +0000
commit709abc3a78839cc8cd16f5f28f471a23630cd48b (patch)
tree2d19a63a10366e9cad91225533ae91ab0d956193 /rules/portmap.make
parent948f9345baa03c33ec790bed3895e98ce17f35a4 (diff)
downloadptxdist-709abc3a78839cc8cd16f5f28f471a23630cd48b.tar.gz
ptxdist-709abc3a78839cc8cd16f5f28f471a23630cd48b.tar.xz
[portmap] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10435 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/portmap.make')
-rw-r--r--rules/portmap.make62
1 files changed, 22 insertions, 40 deletions
diff --git a/rules/portmap.make b/rules/portmap.make
index ed3b25085..7eaefb5e2 100644
--- a/rules/portmap.make
+++ b/rules/portmap.make
@@ -28,24 +28,16 @@ PORTMAP_DIR := $(BUILDDIR)/$(PORTMAP)
# Get
# ----------------------------------------------------------------------------
-portmap_get: $(STATEDIR)/portmap.get
-
-$(STATEDIR)/portmap.get: $(portmap_get_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
-
$(PORTMAP_SOURCE):
- @$(call targetinfo, $@)
+ @$(call targetinfo)
@$(call get, PORTMAP)
# ----------------------------------------------------------------------------
# Extract
# ----------------------------------------------------------------------------
-portmap_extract: $(STATEDIR)/portmap.extract
-
-$(STATEDIR)/portmap.extract: $(portmap_extract_deps_default)
- @$(call targetinfo, $@)
+$(STATEDIR)/portmap.extract:
+ @$(call targetinfo)
@$(call clean, $(PORTMAP_DIR))
@$(call extract, PORTMAP)
@$(call patchin, PORTMAP)
@@ -55,24 +47,20 @@ $(STATEDIR)/portmap.extract: $(portmap_extract_deps_default)
#ifndef PTXCONF_TCPWRAPPER
# sed -i -e 's/$$(WRAP_DIR)\/libwrap.a//' $(PORTMAP_DIR)/Makefile
#endif
- @$(call touch, $@)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-portmap_prepare: $(STATEDIR)/portmap.prepare
-
$(STATEDIR)/portmap.prepare: $(portmap_prepare_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
+ @$(call targetinfo)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
-portmap_compile: $(STATEDIR)/portmap.compile
-
PORTMAP_ENV = $(CROSS_ENV)
PORTMAP_PATH = PATH=$(CROSS_PATH)
@@ -80,37 +68,33 @@ ifdef PTXCONF_TCPWRAPPER
PORTMAP_MAKEVARS = WRAP_DIR=$(SYSROOT)/lib
endif
-$(STATEDIR)/portmap.compile: $(portmap_compile_deps_default)
- @$(call targetinfo, $@)
+$(STATEDIR)/portmap.compile:
+ @$(call targetinfo)
cd $(PORTMAP_DIR) && \
$(PORTMAP_ENV) $(PORTMAP_PATH) make $(PORTMAP_MAKEVARS)
- @$(call touch, $@)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
-portmap_install: $(STATEDIR)/portmap.install
-
-$(STATEDIR)/portmap.install: $(portmap_install_deps_default)
- @$(call targetinfo, $@)
- @$(call touch, $@)
+$(STATEDIR)/portmap.install:
+ @$(call targetinfo)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
-portmap_targetinstall: $(STATEDIR)/portmap.targetinstall
-
-$(STATEDIR)/portmap.targetinstall: $(portmap_targetinstall_deps_default)
- @$(call targetinfo, $@)
+$(STATEDIR)/portmap.targetinstall:
+ @$(call targetinfo)
@$(call install_init, portmap)
@$(call install_fixup, portmap,PACKAGE,portmap)
@$(call install_fixup, portmap,PRIORITY,optional)
@$(call install_fixup, portmap,VERSION,$(PORTMAP_VERSION))
@$(call install_fixup, portmap,SECTION,base)
- @$(call install_fixup, portmap,AUTHOR,"Juergen Beisert <jbeisert\@netscape.net>")
+ @$(call install_fixup, portmap,AUTHOR,"Juergen Beisert <jbeisert@netscape.net>")
@$(call install_fixup, portmap,DEPENDS,)
@$(call install_fixup, portmap,DESCRIPTION,missing)
@@ -118,26 +102,24 @@ $(STATEDIR)/portmap.targetinstall: $(portmap_targetinstall_deps_default)
$(PORTMAP_DIR)/portmap, \
/sbin/portmap)
- #
- # busybox init
- #
-
+# #
+# # busybox init
+# #
ifdef PTXCONF_INITMETHOD_BBINIT
ifdef PTXCONF_PORTMAP_STARTSCRIPT
@$(call install_alternative, portmap, 0, 0, 0755, /etc/init.d/portmapd, n)
endif
endif
- #
- # /etc/inetd.conf sniplet
- #
-
+# #
+# # /etc/inetd.conf sniplet
+# #
ifdef PTXCONF_PORTMAP_INETD_SERVER
@$(call install_alternative, portmap, 0, 0, 0644, /etc/inetd.conf.d/portmap, n)
endif
@$(call install_finish, portmap)
- @$(call touch, $@)
+ @$(call touch)
# ----------------------------------------------------------------------------
# Clean