]> git.saurik.com Git - apple/security.git/blob - SecurityTests/cspxutils/utilLib/Makefile
Security-57031.1.35.tar.gz
[apple/security.git] / SecurityTests / cspxutils / utilLib / Makefile
1 # name of executable to build
2 EXECUTABLE=libcsputils.a
3 # C++ source (with .cpp extension)
4 CPSOURCE= commonCpp.cpp nssAppUtils.cpp ssleayUtils.cpp
5 # C source (.c extension)
6 CSOURCE= common.c cspwrap.c fileIo.c bsafeUtils.c t_stdlib.c rijndael-alg-ref.c \
7 rijndaelApi.c cputime.c
8
9 #
10 # project-specific libraries, e.g., -lstdc++
11 #
12 PROJ_LIBS=
13 #
14 # Optional lib search paths
15 #
16 PROJ_LIBPATH=
17 #
18 # choose one for cc
19 #
20 VERBOSE=
21 #VERBOSE=-v
22
23 #
24 # Other files to remove at 'make clean' time
25 #
26 OTHER_TO_CLEAN=
27
28 #
29 # non-standard frameworks (e.g., -framework foo)
30 #
31 PROJ_FRAMEWORKS=
32
33 #
34 # project-specific includes, with leading -I
35 #
36 PROJ_INCLUDES=
37
38 #
39 # Optional C flags (warnings, optimizations, etc.)
40 #
41 #PROJ_CFLAGS= -Os
42 PROJ_CFLAGS= -fvisibility=hidden
43
44 #
45 # Optional link flags (using cc, not ld)
46 #
47 PROJ_LDFLAGS=
48
49 #
50 # Optional dependencies
51 #
52 PROJ_DEPENDS=
53
54 include ../Makefile.lib
55
56 # Special case for this object file...normally we ignore header dependencies, but
57 # this header is auto generated on a regular basis.
58 $(OBJROOT)/commonCpp.o: commonCpp.cpp cssmErrorStrings.h
59 $(CC) $(ALL_CFLAGS) -c -o $(OBJROOT)/commonCpp.o commonCpp.cpp