convert-all-makefiles-to-makefile-ins-20010802
[openafs.git] / src / null / Makefile.in
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=@DESTDIR@
10 SRCDIR=@SRCDIR@
11 TOP_SRCDIR=@TOP_SRCDIR@
12 SYS_NAME=@AFS_SYSNAME@
13
14
15
16 SHELL=/bin/sh
17
18
19 include ../config/Makefile.${SYS_NAME}
20 include ../config/Makefile.version
21 CFLAGS = ${XCFLAGS}
22
23 all: libnull.a
24
25 null.o: null.c AFS_component_version_number.o
26
27 libnull.a: null.o
28         -rm -f $@
29         ar rv $@ null.o
30         $(RANLIB) $@
31
32 system install noversion install.noversion version: all
33         ${INSTALL} libnull.a ${DESTDIR}lib/afs
34
35 clean:
36         rm -f *.o *.a AFS_component_version_number.c