1 # Copyright 2000, International Business Machines Corporation and others.
4 # This software has been released under the terms of the IBM Public
5 # License. For details, see the LICENSE file in the top-level source
6 # directory or online at http://www.openafs.org/dl/license10.html
9 TOP_INCDIR=@TOP_INCDIR@
10 TOP_LIBDIR=@TOP_LIBDIR@
12 exec_prefix=@exec_prefix@
15 libexecdir=@libexecdir@
17 includedir=@includedir@
19 afssrvbindir=@afssrvbindir@
20 afssrvsbindir=@afssrvsbindir@
21 afssrvlibexecdir=@afssrvlibexecdir@
22 COMPILE_ET=${TOP_SRCDIR}/comerr/compile_et
23 RXGEN=${TOP_SRCDIR}/rxgen/rxgen
24 TOP_SRCDIR=@TOP_SRCDIR@
25 SYS_NAME=@AFS_SYSNAME@
27 include ../config/Makefile.${SYS_NAME}
29 CFLAGS=$(DBUG) -I${TOP_INCDIR} -I${TOP_SRCDIR}/config ${XCFLAGS}
31 all: ${TOP_LIBDIR}/libprocmgmt.a ${TOP_INCDIR}/afs/procmgmt.h
36 libprocmgmt.a: procmgmt_unix.o AFS_component_version_number.o
38 $(AR) crv $@ procmgmt_unix.o AFS_component_version_number.o
41 procmgmt_unix.o: procmgmt_unix.c procmgmt.h
46 install: ${DESTDIR}${libdir}/afs/libprocmgmt.a ${DESTDIR}${includedir}/afs/procmgmt.h
48 ${DEST}/lib/afs/libprocmgmt.a: libprocmgmt.a
51 ${DEST}/include/afs/procmgmt.h: procmgmt.h
58 $(RM) -f *.a *.o core AFS_component_version_number.c
60 include ../config/Makefile.version
61 ${DESTDIR}${libdir}/afs/libprocmgmt.a: libprocmgmt.a
64 ${TOP_LIBDIR}/libprocmgmt.a: libprocmgmt.a
67 ${DESTDIR}${includedir}/afs/procmgmt.h: procmgmt.h
70 ${TOP_INCDIR}/afs/procmgmt.h: procmgmt.h
73 dest: ${DEST}/lib/afs/libprocmgmt.a ${DEST}/include/afs/procmgmt.h