summaryrefslogtreecommitdiff
path: root/usr.sbin/afs
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2003-08-27 08:10:13 +0000
committerHans Insulander <hin@cvs.openbsd.org>2003-08-27 08:10:13 +0000
commit6360c6ed21d2a8a5cdf361138af70c855aee2e9f (patch)
treee30b72fb004fc57fd3db83ee576c954ccd3f3888 /usr.sbin/afs
parent964b94cb09827860a4790635ef6930bba5118fcf (diff)
Build process.S using the rules in bsd.lib.mk, instead of having a specific
target for building it. This makes the build work for people who build with DEBUGLIBS=Yes. Tested by brad and jolan. ok brad@ jolan@
Diffstat (limited to 'usr.sbin/afs')
-rw-r--r--usr.sbin/afs/lib/libarla/Makefile.lwp.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.sbin/afs/lib/libarla/Makefile.lwp.inc b/usr.sbin/afs/lib/libarla/Makefile.lwp.inc
index cb19a87c17a..c4fc5dfa2d8 100644
--- a/usr.sbin/afs/lib/libarla/Makefile.lwp.inc
+++ b/usr.sbin/afs/lib/libarla/Makefile.lwp.inc
@@ -4,6 +4,7 @@ OBJS += process.o
CLEANFILES += process.S process.o lwp.c lwp.h
.PATH: ${AFSSRC}/lwp
CFLAGS += -DAFS_BSD_ENV -DFD_SPEED_HACK -I${AFSSRC}/lwp
+AINC += -DUSING_ASM -DHAVE_PIC
# We use the handcoded assembler stuff for context switching, not
# pthreads (because pthreads do not work for now).
@@ -32,7 +33,4 @@ process.S:
esac; \
ln -s ${AFSSRC}/lwp/$$PROCESS_S process.S
-process.o: process.S
- ${CC} ${CFLAGS} -DUSING_ASM -DHAVE_PIC -c process.S
-
-all: lwp.h \ No newline at end of file
+all: lwp.h