summaryrefslogtreecommitdiff
path: root/utils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Makefile')
-rw-r--r--utils/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/utils/Makefile b/utils/Makefile
index cd32a637..a6aac774 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -20,16 +20,16 @@ makemode := utilities
targets = shd ps settrans showtrans sync su mount fsysopts \
storeinfo login w uptime ids loginpr sush vmstat portinfo \
- devprobe vminfo addauth rmauth unsu setauth
+ devprobe vminfo addauth rmauth unsu setauth ftpcp ftpdir
special-targets = mount loginpr sush uptime
SRCS = shd.c ps.c su.c settrans.c sync.c showtrans.c addauth.c rmauth.c \
mount.sh fsysopts.c storeinfo.c login.c loginpr.sh sush.sh w.c \
uptime.sh psout.c ids.c vmstat.c portinfo.c devprobe.c vminfo.c \
- parse.c frobauth.c frobauth-mod.c
+ parse.c frobauth.c frobauth-mod.c ftpcp.c ftpdir.c
LCLHDRS = psout.h parse.h pids.h frobauth.h
OBJS = $(filter-out loginpr.sh mount.sh sush.sh uptime.sh,$(SRCS:.c=.o))
-HURDLIBS = ps ihash store fshelp ports threads shouldbeinlibc
+HURDLIBS = ps ihash store fshelp ports threads ftpconn shouldbeinlibc
login-LDLIBS = -lutil $(LIBCRYPT)
addauth-LDLIBS = $(LIBCRYPT)
setauth-LDLIBS = $(LIBCRYPT)
@@ -54,11 +54,13 @@ rmauth setauth su unsu: frobauth-mod.o
ps w: psout.o ../libps/libps.a ../libihash/libihash.a
storeinfo: ../libstore/libstore.a
+ftpcp ftpdir: ../libftpconn/libftpconn.a
# We must include libthreads because of a bug in the way shared libraries
# work: all libraries that *any* routine in libfshelp uses must be defined.
settrans: ../libfshelp/libfshelp.a ../libports/libports.a ../libthreads/libthreads.a
ps w ids settrans sync showtrans fsysopts storeinfo login vmstat portinfo \
- devprobe vminfo addauth rmauth setauth su unsu: ../libshouldbeinlibc/libshouldbeinlibc.a
+ devprobe vminfo addauth rmauth setauth su unsu ftpcp ftpdir: \
+ ../libshouldbeinlibc/libshouldbeinlibc.a
$(filter-out $(special-targets), $(targets)): %: %.o