summaryrefslogtreecommitdiff
path: root/usr.sbin/afs/lib/libarla/Makefile.ko.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/afs/lib/libarla/Makefile.ko.inc')
-rw-r--r--usr.sbin/afs/lib/libarla/Makefile.ko.inc28
1 files changed, 23 insertions, 5 deletions
diff --git a/usr.sbin/afs/lib/libarla/Makefile.ko.inc b/usr.sbin/afs/lib/libarla/Makefile.ko.inc
index c0bf59b4d1b..ed995f6b0f9 100644
--- a/usr.sbin/afs/lib/libarla/Makefile.ko.inc
+++ b/usr.sbin/afs/lib/libarla/Makefile.ko.inc
@@ -1,9 +1,27 @@
### ko stuff
+
+.PATH: $(ROKENSRC)
+
OS_VER != uname -r
-SRCS += koerror.c kocell.c ports.c vlmisc.c part.c agetarg.c
-SRCS += sysname.c
-CLEANFILES += sysname.c gensysname gensysname.o
+SRCS += koerror.c \
+ kocell.c \
+ ports.c \
+ vlmisc.c \
+ part.c \
+ agetarg.c \
+ uae.c \
+ sysname.c \
+ afs_uuid.c \
+ misc.c \
+ ko_resolve.c
+
+# resolve.c exists in roken as well *sigh*
+ko_resolve.c:
+ ln -sf $(AFSSRC)/lib/ko/resolve.c ko_resolve.c
+
+CLEANFILES += sysname.c gensysname gensysname.o getarg.o strupr.o \
+ get_window_size.o
CFLAGS += -I${AFSSRC}/lib/ko
.PATH: ${AFSSRC}/lib/ko
@@ -12,8 +30,8 @@ CFLAGS += -I${AFSSRC}/lib/ko
sysname.c: gensysname
./gensysname -c > sysname.c
-gensysname: gensysname.o agetarg.o
- ${HOSTCC} ${CFLAGS} -o gensysname gensysname.o agetarg.o ${LIBROKEN}
+gensysname: gensysname.o getarg.o strupr.o get_window_size.o
+ ${HOSTCC} ${CFLAGS} -o gensysname gensysname.o getarg.o strupr.o get_window_size.o
CLEANFILES+= gensysname.o agetarg.o