1 |
# |
# |
2 |
# Copyright (C) 1994,95,96,97,98,99,2000,01 Free Software Foundation, Inc. |
# Copyright (C) 1994,95,96,97,98,99,2000,01,02 Free Software Foundation, Inc. |
3 |
# |
# |
4 |
# This program is free software; you can redistribute it and/or |
# This program is free software; you can redistribute it and/or |
5 |
# modify it under the terms of the GNU General Public License as |
# modify it under the terms of the GNU General Public License as |
21 |
targets = shd ps settrans showtrans syncfs fsysopts \ |
targets = shd ps settrans showtrans syncfs fsysopts \ |
22 |
storeinfo login w uptime ids loginpr sush vmstat portinfo \ |
storeinfo login w uptime ids loginpr sush vmstat portinfo \ |
23 |
devprobe vminfo addauth rmauth unsu setauth ftpcp ftpdir storecat \ |
devprobe vminfo addauth rmauth unsu setauth ftpcp ftpdir storecat \ |
24 |
storeread ping msgport rpctrace mount gcore |
storeread ping msgport rpctrace mount gcore fakeauth |
25 |
special-targets = loginpr sush uptime |
special-targets = loginpr sush uptime |
26 |
SRCS = shd.c ps.c settrans.c syncfs.c showtrans.c addauth.c rmauth.c \ |
SRCS = shd.c ps.c settrans.c syncfs.c showtrans.c addauth.c rmauth.c \ |
27 |
fsysopts.c storeinfo.c login.c loginpr.sh sush.sh w.c \ |
fsysopts.c storeinfo.c login.c loginpr.sh sush.sh w.c \ |
28 |
uptime.sh psout.c ids.c vmstat.c portinfo.c devprobe.c vminfo.c \ |
uptime.sh psout.c ids.c vmstat.c portinfo.c devprobe.c vminfo.c \ |
29 |
parse.c frobauth.c frobauth-mod.c setauth.c pids.c nonsugid.c \ |
parse.c frobauth.c frobauth-mod.c setauth.c pids.c nonsugid.c \ |
30 |
unsu.c ftpcp.c ftpdir.c storeread.c storecat.c ping.c msgport.c \ |
unsu.c ftpcp.c ftpdir.c storeread.c storecat.c ping.c msgport.c \ |
31 |
rpctrace.c mount.c gcore.c |
rpctrace.c mount.c gcore.c fakeauth.c |
32 |
LCLHDRS = psout.h parse.h pids.h frobauth.h |
LCLHDRS = psout.h parse.h pids.h frobauth.h |
33 |
|
|
34 |
OBJS = $(filter-out %.sh,$(SRCS:.c=.o)) |
OBJS = $(filter-out %.sh,$(SRCS:.c=.o)) |
70 |
|
|
71 |
$(filter-out $(special-targets), $(targets)): %: %.o |
$(filter-out $(special-targets), $(targets)): %: %.o |
72 |
|
|
73 |
rpctrace: ../libports/libports.a ../libihash/libihash.a ../libthreads/libthreads.a |
rpctrace: ../libthreads/libthreads.a \ |
74 |
|
../libports/libports.a ../libihash/libihash.a |
75 |
|
|
76 |
|
fakeauth: authServer.o auth_requestUser.o interruptServer.o \ |
77 |
|
../libthreads/libthreads.a \ |
78 |
|
../libports/libports.a ../libihash/libihash.a \ |
79 |
|
../libshouldbeinlibc/libshouldbeinlibc.a |
80 |
|
auth-MIGSFLAGS = -imacros $(srcdir)/../auth/authmutations.h |
81 |
|
fakeauth-CPPFLAGS = -I$(srcdir)/../auth |
82 |
|
authServer-CPPFLAGS = -I$(srcdir)/../auth |
83 |
|
auth_requestUser-CPPFLAGS = -I$(srcdir)/../auth |
84 |
|
|
85 |
mount: ../sutils/fstab.o ../sutils/clookup.o \ |
mount: ../sutils/fstab.o ../sutils/clookup.o \ |
86 |
$(foreach L,fshelp ports,../lib$L/lib$L.a) |
$(foreach L,fshelp ports,../lib$L/lib$L.a) |