[OpenAFS-devel] bunch of makefile updates to add -I for afsconfig
nneul@umr.edu
nneul@umr.edu
Wed, 16 May 2001 09:27:10 -0500
Index: rx/Makefile
===================================================================
RCS file: /cvs/openafs/src/rx/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- rx/Makefile 2001/04/30 07:03:55 1.12
+++ rx/Makefile 2001/05/16 14:27:07
@@ -14,7 +14,7 @@
MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
#CC=pcc
-CFLAGS = ${OPTMZ} -I${SRCDIR}include -DRXDEBUG ${XCFLAGS}
+CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}include -DRXDEBUG ${XCFLAGS}
#
# Generic xdr objects (or, at least, xdr stuff that's not newly defined for rx).
Index: auth/Makefile
===================================================================
RCS file: /cvs/openafs/src/auth/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- auth/Makefile 2001/04/30 06:52:54 1.4
+++ auth/Makefile 2001/05/16 14:27:07
@@ -18,7 +18,7 @@
KOBJS= cellconfig.o ktc.krb.o userok.o writeconfig.o authcon.o \
acfg_errors.o ktc_errors.o # comktc.o comvice.o comauth.o
-CFLAGS=-g -I${SRCDIR}include ${XCFLAGS}
+CFLAGS=-g -I${TOP_SRCDIR}/config-I${SRCDIR}include ${XCFLAGS}
LDIRS=
LIBS= libauth.a ${DESTDIR}lib/afs/libsys.a \
${DESTDIR}lib/librxkad.a ${DESTDIR}lib/libdes.a \
Index: rxkad/Makefile
===================================================================
RCS file: /cvs/openafs/src/rxkad/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- rxkad/Makefile 2001/03/27 22:03:40 1.4
+++ rxkad/Makefile 2001/05/16 14:27:07
@@ -17,7 +17,7 @@
COMPILE_ET = ${SRCDIR}bin/compile_et
MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
-CFLAGS = ${OPTMZ} -I${SRCDIR}include ${XCFLAGS}
+CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS}
INCLS= ${SRCDIR}include/rx/rx.h \
${SRCDIR}include/rx/xdr.h \
rxkad.h
Index: ubik/Makefile
===================================================================
RCS file: /cvs/openafs/src/ubik/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- ubik/Makefile 2001/03/27 07:10:23 1.3
+++ ubik/Makefile 2001/05/16 14:27:07
@@ -10,7 +10,7 @@
include ../config/Makefile.${SYS_NAME}
MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
-CFLAGS=${OPTMZ} -I./ -I${SRCDIR}include ${XCFLAGS}
+CFLAGS=${OPTMZ} -I${TOP_SRCDIR}/config -I./ -I${SRCDIR}include ${XCFLAGS}
UKERNELDIR=../libuafs/
LIBOBJS=disk.o remote.o beacon.o recovery.o ubik.o vote.o lock.o phys.o \
ubik_int.cs.o ubik_int.ss.o ubik_int.xdr.o ubikcmd.o \
Index: ptserver/Makefile
===================================================================
RCS file: /cvs/openafs/src/ptserver/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- ptserver/Makefile 2001/04/30 07:03:34 1.7
+++ ptserver/Makefile 2001/05/16 14:27:07
@@ -14,7 +14,7 @@
COMPILE_ET = ${SRCDIR}bin/compile_et
MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
-CFLAGS = $(DBUG) -I${SRCDIR}include ${XCFLAGS}
+CFLAGS = $(DBUG) -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS}
INCLS=${SRCDIR}include/ubik.h \
${SRCDIR}include/lock.h \
${SRCDIR}include/lwp.h \
Index: usd/Makefile
===================================================================
RCS file: /cvs/openafs/src/usd/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- usd/Makefile 2001/03/27 07:10:34 1.3
+++ usd/Makefile 2001/05/16 14:27:07
@@ -12,7 +12,7 @@
RXGEN=${SRCDIR}bin/rxgen
COMPILE_ET = ${SRCDIR}bin/compile_et
-CFLAGS = $(DBG) -I${SRCDIR}include ${XCFLAGS}
+CFLAGS = $(DBG) -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS}
#####################################################################
# include files
Index: dir/Makefile
===================================================================
RCS file: /cvs/openafs/src/dir/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- dir/Makefile 2001/03/27 07:07:46 1.3
+++ dir/Makefile 2001/05/16 14:27:07
@@ -13,7 +13,7 @@
UKERNELDIR = ../libuafs/
MKDIR_IF_NEEDED=[ -d $$1 ] || mkdir -p $$1
-INCDIRS= -I${DESTDIR}include ${XINCLS}
+INCDIRS= -I${TOP_SRCDIR}/config -I${DESTDIR}include ${XINCLS}
CFLAGS = ${OPTMZ} ${INCDIRS} ${XCFLAGS}
OBJS=buffer.o dir.o salvage.o
Index: vol/Makefile
===================================================================
RCS file: /cvs/openafs/src/vol/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- vol/Makefile 2001/04/14 17:29:20 1.6
+++ vol/Makefile 2001/05/16 14:27:07
@@ -10,7 +10,7 @@
include ../config/Makefile.${SYS_NAME}
include ../config/Makefile.version
-INCDIRS= -I. -I${DESTDIR}include ${FSINCLUDES}
+INCDIRS= -I${TOP_SRCDIR}/config -I. -I${DESTDIR}include ${FSINCLUDES}
LDFLAGS = ${OPTMZ} ${PROF} ${LDIRS} ${XLDFLAGS}
LIBS= ${DESTDIR}lib/afs/libcmd.a vlib.a ${SRCDIR}lib/afs/util.a \
Index: vlserver/Makefile
===================================================================
RCS file: /cvs/openafs/src/vlserver/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- vlserver/Makefile 2001/04/30 07:05:47 1.4
+++ vlserver/Makefile 2001/05/16 14:27:07
@@ -14,7 +14,7 @@
UKERNELDIR=../libuafs/
COMPILE_ET = ${SRCDIR}bin/compile_et
-CFLAGS = ${DBUG} -I. -I.. -I${SRCDIR}include ${XCFLAGS}
+CFLAGS = ${DBUG} -I. -I.. -I${TOP_SRCDIR}/config -I${SRCDIR}include ${XCFLAGS}
INCLS=${SRCDIR}include/ubik.h \
${SRCDIR}include/lwp.h \
${SRCDIR}include/lock.h \
Index: viced/Makefile
===================================================================
RCS file: /cvs/openafs/src/viced/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- viced/Makefile 2001/03/27 07:11:04 1.3
+++ viced/Makefile 2001/05/16 14:27:07
@@ -10,7 +10,8 @@
include ../config/Makefile.${SYS_NAME}
DBUG = -g
-CFLAGS = -DNINTERFACE ${DBUG} -I. -I${SRCDIR}include -I${SRCDIR}include/afs \
+CFLAGS = -DNINTERFACE ${DBUG} \
+ -I${TOP_SRCDIR}/config -I. -I${SRCDIR}include -I${SRCDIR}include/afs \
${XCFLAGS} ${DBG_DEFS} -DRXDEBUG
LDFLAGS = ${DBUG} ${XLDFLAGS}
Index: libafsauthent/Makefile
===================================================================
RCS file: /cvs/openafs/src/libafsauthent/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- libafsauthent/Makefile 2001/03/27 07:08:16 1.3
+++ libafsauthent/Makefile 2001/05/16 14:27:07
@@ -12,7 +12,7 @@
include ../config/Makefile.${SYS_NAME}
CC=${MT_CC}
-CFLAGS = ${OPTMZ} ${DBG} -I${SRCDIR}include ${MT_CFLAGS}
+CFLAGS = ${OPTMZ} ${DBG} -I${TOP_SRCDIR}/config -I${SRCDIR}include ${MT_CFLAGS}
CCRULE = ${CC} ${CFLAGS} -c $?
AUDIT= ../audit
Index: tviced/Makefile
===================================================================
RCS file: /cvs/openafs/src/tviced/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- tviced/Makefile 2001/04/04 17:25:02 1.6
+++ tviced/Makefile 2001/05/16 14:27:07
@@ -10,7 +10,7 @@
include ../config/Makefile.${SYS_NAME}
CC=${MT_CC}
-INCLUDES=-I. -I.. -I${SRCDIR}include -I${SRCDIR}include/afs
+INCLUDES=-I${TOP_SRCDIR}/config -I. -I.. -I${SRCDIR}include -I${SRCDIR}include/afs
CFLAGS=${DBG} ${OPTMZ} -DNINTERFACE ${INCLUDES} ${MT_CFLAGS} -DRXDEBUG
LDFLAGS=${DBG} ${XLDFLAGS}
Index: volser/Makefile
===================================================================
RCS file: /cvs/openafs/src/volser/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- volser/Makefile 2001/03/27 07:11:24 1.4
+++ volser/Makefile 2001/05/16 14:27:07
@@ -13,7 +13,7 @@
CFLAGS=${DBG} ${OPTMZ} -I${SRCDIR}include ${XCFLAGS} ${DBG_DEFS}
LDFLAGS=${DBG} ${OPTMZ} ${XLDFLAGS}
-INCDIRS= -I${SRCDIR}include/afs -I${SRCDIR}include
+INCDIRS= -I${TOP_SRCDIR}/config -I${SRCDIR}include/afs -I${SRCDIR}include
INCLIBS=-L${SRCDIR}lib/afs -L${SRCDIR}lib
VINCLS=${SRCDIR}include/afs/partition.h ${SRCDIR}include/afs/volume.h \