1# name of executable to build
2EXECUTABLE=libcsputils.a
3# C++ source (with .cpp extension)
4CPSOURCE= commonCpp.cpp nssAppUtils.cpp ssleayUtils.cpp
5# C source (.c extension)
6CSOURCE= 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#
12PROJ_LIBS= 
13#
14# Optional lib search paths
15#
16PROJ_LIBPATH=
17#
18# choose one for cc
19#
20VERBOSE=
21#VERBOSE=-v
22
23#
24# Other files to remove at 'make clean' time
25#
26OTHER_TO_CLEAN=
27
28#
29# non-standard frameworks (e.g., -framework foo)
30#
31PROJ_FRAMEWORKS=
32
33#
34# project-specific includes, with leading -I
35#
36PROJ_INCLUDES= 
37
38#
39# Optional C flags (warnings, optimizations, etc.)
40#
41#PROJ_CFLAGS= -Os
42PROJ_CFLAGS= -fvisibility=hidden
43
44#
45# Optional link flags (using cc, not ld)
46#
47PROJ_LDFLAGS= 
48
49#
50# Optional dependencies
51#
52PROJ_DEPENDS=
53
54include ../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
60