summaryrefslogtreecommitdiff
path: root/source4/lib/appweb/ejs-2.0/mpr/Makefile
blob: 6dd0e45d9e2373361d98a1b7c6bc83ebcd67641f (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
#
#	Makefile for the Mbedthis Portable Runtime (MPR) library 
#
#	Copyright (c) Mbedthis Software LLC, 2003-2006. All Rights Reserved.
#

COMPILE			:= *.c 
EXPORT_OBJECTS	:= yes

include 		make.dep

ifeq 			($(BLD_HOST_UNIX),1)
PRE_DIRS		= UNIX
else
PRE_DIRS		= $(BLD_HOST_OS)
endif

POST_DIRS		= package

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

compileExtra: $(TARGETS)

#
#	Build the mpr libraries
#
$(BLD_BIN_DIR)/libmpr$(BLD_LIB): files \
	$(shell BLD_OBJ=$(BLD_OBJ) \; BLD_OBJ_DIR=$(BLD_OBJ_DIR) \; \
		eval echo `cat files`)
	@bld --library $(BLD_BIN_DIR)/libmpr \
		--objectsDir $(BLD_OBJ_DIR) --objectList files

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

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