diff options
-rw-r--r-- | utils/Makefile | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/utils/Makefile b/utils/Makefile index 7eaf728f..ac29ff42 100644 --- a/utils/Makefile +++ b/utils/Makefile @@ -20,20 +20,21 @@ makemode := utilities targets = shd ps settrans showtrans sync su mount fsysopts \ storeinfo login w uptime hurdids loginpr sush vmstat portinfo \ - devprobe vminfo addu + devprobe vminfo addauth special-targets = mount loginpr sush uptime -SRCS = shd.c ps.c su.c settrans.c sync.c showtrans.c addu.c \ +SRCS = shd.c ps.c su.c settrans.c sync.c showtrans.c addauth.c \ mount.sh fsysopts.c storeinfo.c login.c loginpr.sh sush.sh w.c \ - uptime.sh psout.c hurdids.c vmstat.c portinfo.c devprobe.c vminfo.c -LCLHDRS = psout.h + uptime.sh psout.c hurdids.c vmstat.c portinfo.c devprobe.c vminfo.c \ + parse.c +LCLHDRS = psout.h parse.h OBJS = $(filter-out loginpr.sh mount.sh sush.sh uptime.sh,$(SRCS:.c=.o)) HURDLIBS = ps ihash store fshelp ports threads shouldbeinlibc login-LDLIBS = -lutil $(LIBCRYPT) -addu-LDLIBS = $(LIBCRYPT) +addauth-LDLIBS = $(LIBCRYPT) INSTALL-login-ops = -o root -m 4755 -INSTALL-addu-ops = -o root -m 4755 +INSTALL-addauth-ops = -o root -m 4755 INSTALL-hurdids-ops = -o root -m 4755 INSTALL-ps-ops = -o root -m 4755 INSTALL-w-ops = -o root -m 4755 @@ -42,12 +43,13 @@ INSTALL-vminfo-ops = -o root -m 4755 include ../Makeconf -ps w addu: psout.o ../libps/libps.a ../libihash/libihash.a +ps addauth: parse.o +ps w addauth: psout.o ../libps/libps.a ../libihash/libihash.a storeinfo: ../libstore/libstore.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 hurdids settrans sync showtrans fsysopts storeinfo login vmstat portinfo \ - devprobe vminfo addu: ../libshouldbeinlibc/libshouldbeinlibc.a + devprobe vminfo addauth: ../libshouldbeinlibc/libshouldbeinlibc.a $(filter-out $(special-targets), $(targets)): %: %.o |