]> git.saurik.com Git - apple/security.git/blob - SecuritySNACCRuntime/c-examples/test-lib/makefile
Security-54.1.3.tar.gz
[apple/security.git] / SecuritySNACCRuntime / c-examples / test-lib / makefile
1 # c-examples/test-lib/makefile
2 #
3 # $Header: /cvs/Darwin/src/live/Security/SecuritySNACCRuntime/c-examples/test-lib/makefile,v 1.1.1.1 2001/05/18 23:14:07 mb Exp $
4 # $Log: makefile,v $
5 # Revision 1.1.1.1 2001/05/18 23:14:07 mb
6 # Move from private repository to open source repository
7 #
8 # Revision 1.1.1.1 1999/03/16 18:06:09 aram
9 # Originals from SMIME Free Library.
10 #
11 # Revision 1.4 1995/07/24 20:50:11 rj
12 # changed `_' to `-' in file names.
13 #
14 # Revision 1.3 1995/02/13 15:05:59 rj
15 # augment CPPFLAGS, not overwrite.
16 #
17 # Revision 1.2 1994/08/31 21:43:20 rj
18 # rebuild the executables when the c-lib is newer.
19 #
20 # Revision 1.1 1994/08/31 08:46:37 rj
21 # first check-in. for a list of changes to the snacc-1.1 distribution please refer to the ChangeLog.
22 #
23
24 include ../../makehead
25
26 TOP = ../..
27
28 ASN1_C_LIB_DIR = $(TOP)/c-lib
29 ASN1_C_INC_DIR = $(ASN1_C_LIB_DIR)/inc
30 ASN1_C_LIB = $(ASN1_C_LIB_DIR)/libasn1csbuf.a
31
32 CPPFLAGS += -I$(TOP) -I$(ASN1_C_INC_DIR) -DUSE_SBUF
33
34 LDLIBS = $(ASN1_C_LIB) $(LIBS)
35
36 CFILES = \
37 test-lib.c
38
39 DISTFILES = \
40 README \
41 makefile \
42 $(CFILES)
43
44 #-------------------------------------------------------------------------------
45
46 default:: check
47
48 check:: test-lib
49 ./test-lib
50
51 test-lib: $(ASN1_C_LIB)
52
53 clean::
54 $(RM) *.o *~ .emacs* test-lib core
55
56 include ../../maketail