Standardize License information
[openafs.git] / src / null / 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 # Makefile for the null library.
9 DESTDIR=DEST/
10 SRCDIR=DEST/
11 INSTALL=${SRCDIR}bin/install
12 SHELL=/bin/sh
13
14 COMPONENT=null
15 include ../config/Makefile.${SYS_NAME}
16 include ../config/Makefile.version
17 CFLAGS = ${XCFLAGS}
18
19 all: libnull.a
20
21 null.o: null.c AFS_component_version_number.o
22
23 libnull.a: null.o
24         -rm -f $@
25         ar rv $@ null.o
26         $(RANLIB) $@
27
28 system install noversion install.noversion version: all
29         ${INSTALL} libnull.a ${DESTDIR}lib/afs
30
31 clean:
32         rm -f *.o *.a AFS_component_version_number.c