From 5a79aa40e5a82a8358df0ab581f436df1e204134 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 6 Sep 2014 08:00:47 -0600 Subject: Add an install target to all makefiles. For the import build, the top-level Makefile now does two passes: (1) builds libapp.a, then (2) installs the programs (not yet finished) --- apps/netutils/Makefile | 2 ++ apps/netutils/codecs/Makefile | 2 ++ apps/netutils/dhcpc/Makefile | 2 ++ apps/netutils/dhcpd/Makefile | 2 ++ apps/netutils/discover/Makefile | 2 ++ apps/netutils/dnsclient/Makefile | 2 ++ apps/netutils/ftpc/Makefile | 2 ++ apps/netutils/ftpd/Makefile | 2 ++ apps/netutils/json/Makefile | 2 ++ apps/netutils/netlib/Makefile | 2 ++ apps/netutils/ntpclient/Makefile | 2 ++ apps/netutils/smtp/Makefile | 2 ++ apps/netutils/telnetd/Makefile | 2 ++ apps/netutils/tftpc/Makefile | 2 ++ apps/netutils/thttpd/Makefile | 2 ++ apps/netutils/webclient/Makefile | 2 ++ apps/netutils/webserver/Makefile | 2 ++ apps/netutils/xmlrpc/Makefile | 2 ++ 18 files changed, 36 insertions(+) (limited to 'apps/netutils') diff --git a/apps/netutils/Makefile b/apps/netutils/Makefile index b6244e2f9..4d30700f8 100644 --- a/apps/netutils/Makefile +++ b/apps/netutils/Makefile @@ -58,6 +58,8 @@ $(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),distclean))) nothing: +install: + context: depend: $(foreach SDIR, $(SUBDIRS), $(SDIR)_depend) diff --git a/apps/netutils/codecs/Makefile b/apps/netutils/codecs/Makefile index f0b55c5f8..3d77f47fe 100644 --- a/apps/netutils/codecs/Makefile +++ b/apps/netutils/codecs/Makefile @@ -75,6 +75,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/dhcpc/Makefile b/apps/netutils/dhcpc/Makefile index f8a680e32..ffa88a9e8 100644 --- a/apps/netutils/dhcpc/Makefile +++ b/apps/netutils/dhcpc/Makefile @@ -81,6 +81,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/dhcpd/Makefile b/apps/netutils/dhcpd/Makefile index 5eedf758f..7fb52b33d 100644 --- a/apps/netutils/dhcpd/Makefile +++ b/apps/netutils/dhcpd/Makefile @@ -81,6 +81,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/discover/Makefile b/apps/netutils/discover/Makefile index 5054e52fe..4337e9ed7 100644 --- a/apps/netutils/discover/Makefile +++ b/apps/netutils/discover/Makefile @@ -84,6 +84,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/dnsclient/Makefile b/apps/netutils/dnsclient/Makefile index 9b5f11631..3fb2c6ba9 100644 --- a/apps/netutils/dnsclient/Makefile +++ b/apps/netutils/dnsclient/Makefile @@ -81,6 +81,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/ftpc/Makefile b/apps/netutils/ftpc/Makefile index 09ed62cdb..a0075f58e 100644 --- a/apps/netutils/ftpc/Makefile +++ b/apps/netutils/ftpc/Makefile @@ -97,6 +97,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/ftpd/Makefile b/apps/netutils/ftpd/Makefile index 1a779f4ba..6fb76ba8d 100644 --- a/apps/netutils/ftpd/Makefile +++ b/apps/netutils/ftpd/Makefile @@ -81,6 +81,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/json/Makefile b/apps/netutils/json/Makefile index 17eb55e71..44237d238 100644 --- a/apps/netutils/json/Makefile +++ b/apps/netutils/json/Makefile @@ -75,6 +75,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/netlib/Makefile b/apps/netutils/netlib/Makefile index 7eb376646..8de89a857 100644 --- a/apps/netutils/netlib/Makefile +++ b/apps/netutils/netlib/Makefile @@ -97,6 +97,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/ntpclient/Makefile b/apps/netutils/ntpclient/Makefile index cbde46060..79014d5a8 100755 --- a/apps/netutils/ntpclient/Makefile +++ b/apps/netutils/ntpclient/Makefile @@ -81,6 +81,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/smtp/Makefile b/apps/netutils/smtp/Makefile index d3dbaebf8..450fafab0 100644 --- a/apps/netutils/smtp/Makefile +++ b/apps/netutils/smtp/Makefile @@ -81,6 +81,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/telnetd/Makefile b/apps/netutils/telnetd/Makefile index 99caf425f..a377a54d3 100644 --- a/apps/netutils/telnetd/Makefile +++ b/apps/netutils/telnetd/Makefile @@ -81,6 +81,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/tftpc/Makefile b/apps/netutils/tftpc/Makefile index 952bc620e..b629978a5 100644 --- a/apps/netutils/tftpc/Makefile +++ b/apps/netutils/tftpc/Makefile @@ -83,6 +83,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/thttpd/Makefile b/apps/netutils/thttpd/Makefile index a2eaa3476..60c7fbe14 100644 --- a/apps/netutils/thttpd/Makefile +++ b/apps/netutils/thttpd/Makefile @@ -113,6 +113,8 @@ endif $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/webclient/Makefile b/apps/netutils/webclient/Makefile index aacbe0dc3..10dd2c1eb 100644 --- a/apps/netutils/webclient/Makefile +++ b/apps/netutils/webclient/Makefile @@ -81,6 +81,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/webserver/Makefile b/apps/netutils/webserver/Makefile index 06b528006..47fd1047a 100644 --- a/apps/netutils/webserver/Makefile +++ b/apps/netutils/webserver/Makefile @@ -88,6 +88,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) diff --git a/apps/netutils/xmlrpc/Makefile b/apps/netutils/xmlrpc/Makefile index a00436511..bcd17b7a6 100644 --- a/apps/netutils/xmlrpc/Makefile +++ b/apps/netutils/xmlrpc/Makefile @@ -82,6 +82,8 @@ $(COBJS): %$(OBJEXT): %.c $(call ARCHIVE, $(BIN), $(OBJS)) $(Q) touch .built +install: + context: .depend: Makefile $(SRCS) -- cgit v1.2.3