X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Futil%2FMakefile;h=95acedf5e5325f4c3ce2d0a2bc8e80b93fcc620a;hp=7cde3d9a8c8e7c8cf16f496869a59a34a411ae7c;hb=7705453b05ddb140a0e26f9e43a7e640c4cb62ab;hpb=87c10e8d7f05dbbdf12ee9e8651dcec07e08af3f diff --git a/src/util/Makefile b/src/util/Makefile index 7cde3d9..95acedf 100644 --- a/src/util/Makefile +++ b/src/util/Makefile @@ -1,16 +1,21 @@ +# Copyright 2000, International Business Machines Corporation and others. +# All Rights Reserved. +# +# This software has been released under the terms of the IBM Public +# License. For details, see the LICENSE file in the top-level source +# directory or online at http://www.openafs.org/dl/license10.html 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} -INSTALL = ${SRCDIR}bin/install objects = assert.o base64.o casestrcpy.o ktime.o volparse.o hostparse.o \ hputil.o kreltime.o isathing.o get_krbrlm.o uuid.o serverLog.o \ dirpath.o fileutil.o netutils.o flipbase64.o \ - afs_atomlist.o afs_lhash.o + afs_atomlist.o afs_lhash.o snprintf.o ${REGEX_OBJ} headers = assert.h potpourri.h itc.h errors.h afsutil.h pthread_glock.h \ dirpath.h afs_atomlist.h afs_lhash.h @@ -28,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 \ @@ -36,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 @@ -55,10 +67,10 @@ ukinstall webinstall: install0 ${DESTDIR}include/afs/dirpath.h: dirpath.h ${INSTALL} dirpath.h ${DESTDIR}include/afs - + ${DESTDIR}include/afs/pthread_nosigs.h: pthread_nosigs.h ${INSTALL} pthread_nosigs.h ${DESTDIR}include/afs - + doc: echo no documents in this directory @@ -70,6 +82,9 @@ util.a: ${objects} AFS_component_version_number.o volparse.o: volparse.c ${CC} ${CFLAGS} -c volparse.c +snprintf.o: snprintf.c + ${CC} ${CFLAGS} -c snprintf.c + base64.o: base64.c ${CC} ${CFLAGS} -c base64.c