summaryrefslogtreecommitdiff
path: root/source4/lib/appweb/ejs-2.0/exml/Makefile
blob: 663e65ed53d9836b05a2c08446017a8560283079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#
#	Makefile for Embedded XML (EXML)
#
#	Copyright (c) Mbedthis Software LLC, 2003-2006. All Rights Reserved.
#

#
#	EXML may be linked into shared handlers so we must build the objects both
#	shared and static.
#
COMPILE			:= *.c
EXPORT_OBJECTS	:= yes
MAKE_IFLAGS		:= -I../mpr

include 		make.dep

ifeq 			($(BLD_FEATURE_TEST),1)
POST_DIRS		:= test
endif

TARGETS			+= $(BLD_BIN_DIR)/libexml$(BLD_LIB)

ifeq 			($(BLD_FEATURE_XML),1)
compileExtra: $(TARGETS)
endif

# MOB -- remove when FEATURE_XML is defined
compileExtra: $(TARGETS)

$(BLD_BIN_DIR)/libexml$(BLD_LIB): $(FILES)
	@bld --library $(BLD_BIN_DIR)/libexml \
		--objectsDir $(BLD_OBJ_DIR) --objectList files --libs mpr

cleanExtra:
	@echo "rm -f $(TARGETS)" | $(BLDOUT)
	@rm -f $(TARGETS)
	@rm -f $(BLD_BIN_DIR)/libexml.*

## Local variables:
## tab-width: 4
## End:
## vim: tw=78 sw=4 ts=4