1 # c++-examples/test-lib/makefile
3 # $Header: /cvs/Darwin/Security/SecuritySNACCRuntime/c++-examples/test-lib/makefile,v 1.1.1.1 2001/05/18 23:14:05 mb Exp $
5 # Revision 1.1.1.1 2001/05/18 23:14:05 mb
6 # Move from private repository to open source repository
8 # Revision 1.2 2000/12/22 00:03:29 dmitch
9 # Misc. updates for clean build on Cheetah 1D7.
11 # Revision 1.1.1.1 1999/03/16 18:05:58 aram
12 # Originals from SMIME Free Library.
14 # Revision 1.7 1997/03/03 11:58:30 wan
15 # Final pre-delivery stuff (I hope).
17 # Revision 1.6 1997/02/28 13:39:41 wan
18 # Modifications collected for new version 1.3: Bug fixes, tk4.2.
20 # Revision 1.5 1995/07/24 15:31:14 rj
21 # changed `_' to `-' in file names.
23 # Revision 1.4 1995/02/13 14:58:17 rj
24 # augment CPPFLAGS, not overwrite
26 # Revision 1.3 1994/09/01 02:26:58 rj
27 # use CXX instead of CC to get another default linkage
29 # Revision 1.2 1994/08/31 21:44:25 rj
30 # rebuild the executables when the c++-lib is newer.
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.
36 include ../../makehead
40 ASN1_C++_LIB_DIR = $(TOP)/c++-lib
41 ASN1_C++_INC_DIR = $(ASN1_C++_LIB_DIR)/inc
42 ASN1_C++_LIB = $(ASN1_C++_LIB_DIR)/libasn1c++.a
45 CPPFLAGS += -I$(TOP) -I$(ASN1_C++_INC_DIR) -F/System/Library/PrivateFrameworks
55 #-------------------------------------------------------------------------------
62 test-lib: $(ASN1_C++_LIB) test-lib.o
63 $(CXX) $(LDFLAGS) -o $@ test-lib.o $(ASN1_C++_LIB) $(LIBS) -lstdc++
66 $(RM) *.o *~ .emacs* test-lib core
68 include ../../maketail