srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
+include @TOP_OBJDIR@/src/config/Makefile.lwp
+
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
${TOP_LIBDIR}/libafsauthent.a ${TOP_LIBDIR}/libafsrpc.a \
${MT_LIBS} ${ULIBS} ${XLIBS} ${LIBRPC} -lpthread
-THRULE = ${MT_CC} ${CFLAGS} ${MT_CFLAGS}
+THRULE = ${MT_CC} $(COMMON_CFLAGS) $(MT_CFLAGS)
noversion all test system: stress
stress: stress.o stress.xdr.o stress_c.o stress_s.o stress.cs.o \
stress.ss.o stress_errs.o
- $(CC) $(CFLAGS) -o stress stress.o stress.xdr.o stress_c.o \
- stress_s.o stress.cs.o stress.ss.o stress_errs.o ${LIBS} ${XLIBS}
+ $(AFS_LDRULE) stress.o stress.xdr.o stress_c.o \
+ stress_s.o stress.cs.o stress.ss.o stress_errs.o \
+ ${LIBS} ${XLIBS}
th_stress: th_stress.o th_stress.xdr.o th_stress_c.o th_stress_s.o \
th_stress.cs.o th_stress.ss.o stress_errs.o \
${LIBRPC}
- ${CC} ${CFLAGS} ${THFLAGS} -o th_stress th_stress.o th_stress.xdr.o \
- th_stress_c.o th_stress_s.o th_stress.cs.o th_stress.ss.o \
- stress_errs.o ${THLIBS} ${XLIBS}
+ $(AFS_LDRULE) th_stress.o th_stress.xdr.o th_stress_c.o \
+ th_stress_s.o th_stress.cs.o th_stress.ss.o stress_errs.o \
+ ${THLIBS} ${XLIBS}