r18925: Add current snapshot of the ejs-2.0 code. Tridge, will you be incorporating...
[samba.git] / source4 / lib / appweb / ejs-2.0 / exml / Makefile
1 #
2 #       Makefile for Embedded XML (EXML)
3 #
4 #       Copyright (c) Mbedthis Software LLC, 2003-2006. All Rights Reserved.
5 #
6
7 #
8 #       EXML may be linked into shared handlers so we must build the objects both
9 #       shared and static.
10 #
11 COMPILE                 := *.c
12 EXPORT_OBJECTS  := yes
13 MAKE_IFLAGS             := -I../mpr
14
15 include                 make.dep
16
17 ifeq                    ($(BLD_FEATURE_TEST),1)
18 POST_DIRS               := test
19 endif
20
21 TARGETS                 += $(BLD_BIN_DIR)/libexml$(BLD_LIB)
22
23 ifeq                    ($(BLD_FEATURE_XML),1)
24 compileExtra: $(TARGETS)
25 endif
26
27 # MOB -- remove when FEATURE_XML is defined
28 compileExtra: $(TARGETS)
29
30 $(BLD_BIN_DIR)/libexml$(BLD_LIB): $(FILES)
31         @bld --library $(BLD_BIN_DIR)/libexml \
32                 --objectsDir $(BLD_OBJ_DIR) --objectList files --libs mpr
33
34 cleanExtra:
35         @echo "rm -f $(TARGETS)" | $(BLDOUT)
36         @rm -f $(TARGETS)
37         @rm -f $(BLD_BIN_DIR)/libexml.*
38
39 ## Local variables:
40 ## tab-width: 4
41 ## End:
42 ## vim: tw=78 sw=4 ts=4