Update contrib.
1 # Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
3 # This component and the accompanying materials are made available
4 # under the terms of the License "Eclipse Public License v1.0"
5 # which accompanies this distribution, and is available
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 # Initial Contributors:
9 # Nokia Corporation - initial contribution.
16 include GNUmakefile.inc
18 INC=-Iutils -Istore-- -Iencdec -Iapi -I.
20 CERTAPP_TARGET= certapp
21 TARGETS=$(CERTAPP_TARGET)
23 CERTAPP_SRCS=certapp.cpp
24 CERTAPP_OBJS=$(CERTAPP_SRCS:.cpp=.o)
26 ALLSRCS=$(CERTAPP_SRCS)
27 ALLOBJS=$(ALLSRCS:.cpp=.o)
29 LDLIBS_GEN=encdec/encdec.a store--/store--.a utils/utils.a
30 LDLIBS_API=api/libcertapp-api.a
32 DEPENDFILES=$(ALLOBJS:.o=.d)
39 $(LDLIBS_GEN) $(LDLIBS_API): % : force
40 $(MAKE) -C $(dir $@) $(notdir $@)
44 etags *.cpp *.h *.inl */*.cpp */*.h */*.inl */*/*.cpp */*/*.h
48 $(CERTAPP_TARGET) : $(CERTAPP_OBJS) $(LDLIBS_GEN)
49 $(LINK.C) $^ $(LOADLIBES) $(LDLIBS_GEN) -o $@ -lcrypto
56 -$(MAKE) -C utils clean
57 -$(MAKE) -C store-- clean
58 -$(MAKE) -C encdec clean
59 -rm -f $(TSTORE_OBJS) $(CERTAPP_OBJS) $(TARGETS) $(DEPENDFILES) core
62 include $(wildcard $(DEPENDFILES))