convert-volparse-to-afsconfig-and-cleanup-20010605
[openafs.git] / src / util / Makefile
index 30abb0b..95acedf 100644 (file)
@@ -9,7 +9,7 @@ SHELL = /bin/sh
 COMPONENT=util
 include ../config/Makefile.${SYS_NAME}
 
-CFLAGS = ${OPTMZ} -I$(SRCDIR)include ${XCFLAGS}
+CFLAGS = ${OPTMZ} -I${TOP_SRCDIR}/config -I. -I$(SRCDIR)include ${XCFLAGS}
 LDFLAGS = ${OPTMZ} ${XLDFLAGS}
 
 objects = assert.o base64.o casestrcpy.o ktime.o volparse.o hostparse.o \
@@ -33,6 +33,7 @@ install0: ${DESTDIR}include/afs/dirpath.h \
        ${DESTDIR}include/afs/pthread_nosigs.h \
        ${objects} util.a ${DESTDIR}bin/sys ${someheaders} doc 
        ${INSTALL} util.a ${DESTDIR}lib/afs
+       ${INSTALL} util.a ${DESTDIR}lib/afs/libafsutil.a
        ${INSTALL} assert.h errors.h vice.h remote.h ktime.h fileutil.h \
                netutils.h packages.h afsutil.h pthread_glock.h \
                afs_atomlist.h afs_lhash.h \
@@ -41,6 +42,12 @@ install0: ${DESTDIR}include/afs/dirpath.h \
 
 install: install0 kinstall ukinstall
 
+install_headers:
+       ${INSTALL} assert.h errors.h vice.h remote.h ktime.h fileutil.h \
+               netutils.h packages.h afsutil.h pthread_glock.h \
+               afs_atomlist.h afs_lhash.h \
+               ${DESTDIR}include/afs
+
 kinstall:
        ${INSTALL} vice.h ../libafs/afs
        ${INSTALL} base64.c ../libafs/afs/afs_base64.c