more-makefiles-cleanup-20010829
[openafs.git] / src / bozo / test / 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 DESTDIR=@DESTDIR@
9 SRCDIR=@SRCDIR@
10 TOP_SRCDIR=@TOP_SRCDIR@
11 SYS_NAME=@AFS_SYSNAME@
12
13 OPTIMIZE=-O
14
15 INCDIRS= -I${DESTDIR}/include -I.. 
16 LDIRS= -L${DESTDIR}/lib -L${DESTDIR}/lib/afs -L..
17
18 CFLAGS = ${OPTIMIZE} ${INCDIRS} ${LDIRS} ${LIBS} ${XCFLAGS}
19
20 all: install
21
22 install: testproc smail-notifier
23
24 #
25 # Build targets
26 #
27 testproc: testproc.c 
28         $(CC) $(CFLAGS) -o testproc testproc.c
29
30 smail-notifier: smail-notifier.c 
31         $(CC) $(CFLAGS) -o smail-notifier smail-notifier.c
32
33 #
34 # Misc targets
35 #
36 clean:
37         $(RM) -f  *.a *.o testproc smail-notifier core
38