]> git.saurik.com Git - apple/security.git/blame - SecuritySNACCRuntime/c++-examples/test-lib/makefile
Security-54.1.9.tar.gz
[apple/security.git] / SecuritySNACCRuntime / c++-examples / test-lib / makefile
CommitLineData
bac41a7b
A
1# c++-examples/test-lib/makefile
2#
a66d0d4a 3# $Header: /cvs/root/Security/SecuritySNACCRuntime/c++-examples/test-lib/Attic/makefile,v 1.1.1.1 2001/05/18 23:14:05 mb Exp $
bac41a7b
A
4# $Log: makefile,v $
5# Revision 1.1.1.1 2001/05/18 23:14:05 mb
6# Move from private repository to open source repository
7#
8# Revision 1.2 2000/12/22 00:03:29 dmitch
9# Misc. updates for clean build on Cheetah 1D7.
10#
11# Revision 1.1.1.1 1999/03/16 18:05:58 aram
12# Originals from SMIME Free Library.
13#
14# Revision 1.7 1997/03/03 11:58:30 wan
15# Final pre-delivery stuff (I hope).
16#
17# Revision 1.6 1997/02/28 13:39:41 wan
18# Modifications collected for new version 1.3: Bug fixes, tk4.2.
19#
20# Revision 1.5 1995/07/24 15:31:14 rj
21# changed `_' to `-' in file names.
22#
23# Revision 1.4 1995/02/13 14:58:17 rj
24# augment CPPFLAGS, not overwrite
25#
26# Revision 1.3 1994/09/01 02:26:58 rj
27# use CXX instead of CC to get another default linkage
28#
29# Revision 1.2 1994/08/31 21:44:25 rj
30# rebuild the executables when the c++-lib is newer.
31#
32# Revision 1.1 1994/08/31 08:48:17 rj
33# first check-in. for a list of changes to the snacc-1.1 distribution please refer to the ChangeLog.
34#
35
36include ../../makehead
37
38TOP = ../..
39
40ASN1_C++_LIB_DIR = $(TOP)/c++-lib
41ASN1_C++_INC_DIR = $(ASN1_C++_LIB_DIR)/inc
42ASN1_C++_LIB = $(ASN1_C++_LIB_DIR)/libasn1c++.a
43
44CC = $(CXX)
45CPPFLAGS += -I$(TOP) -I$(ASN1_C++_INC_DIR) -F/System/Library/PrivateFrameworks
46
47CFILES = \
48 test-lib.C
49
50DISTFILES = \
51 README \
52 makefile \
53 $(CFILES)
54
55#-------------------------------------------------------------------------------
56
57default:: check
58
59check:: test-lib
60 ./test-lib
61
62test-lib: $(ASN1_C++_LIB) test-lib.o
63 $(CXX) $(LDFLAGS) -o $@ test-lib.o $(ASN1_C++_LIB) $(LIBS) -lstdc++
64
65clean::
66 $(RM) *.o *~ .emacs* test-lib core
67
68include ../../maketail