win95-initial-port-20010430
[openafs.git] / src / procmgmt / Makefile
1 # Copyright 2000, International Business Machines Corporation and others.
2 # All Rights Reserved.
3
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
7
8 include ../config/Makefile.${SYS_NAME}
9 include ../config/Makefile.version
10
11 CFLAGS = $(DBUG) -I${SRCDIR}include ${XCFLAGS}
12
13 ########################################################################
14 # build libprocmgmt.a
15 LIBOBJS=procmgmt_unix.o
16
17 libprocmgmt.a: ${LIBOBJS} AFS_component_version_number.o
18         $(RM) -f libprocmgmt.a
19         $(AR) r libprocmgmt.a ${LIBOBJS} AFS_component_version_number.o
20         $(RANLIB) libprocmgmt.a
21
22 procmgmt_unix.o: procmgmt_unix.c procmgmt.h
23
24 #######################################################################
25 system: install
26
27 kinstall ukinstall webinstall: install
28         @echo No relevant source here.
29
30 ${DESTDIR}lib/afs/libprocmgmt.a: libprocmgmt.a
31         ${INSTALL}   $? $@
32
33
34 install: ${DESTDIR}lib/afs/libprocmgmt.a 
35         ${INSTALL} procmgmt.h ${DESTDIR}include/afs
36
37 includes:
38         ${INSTALL} procmgmt.h ${DESTDIR}include/afs
39
40 clean:
41         $(RM) -f *.o libprocmgmt.a   \
42          core  AFS_component_version_number.c