summaryrefslogtreecommitdiff
path: root/yajl/Jamfile
blob: d5456a119718edd378afea6622454f19d058c412 (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
 
# JAM style makefile for yajl

#PREF_CCFLAGS 	= $(CCOPTFLAG) ;		# Turn optimisation on
PREF_CCFLAGS    = $(CCDEBUGFLAG) ;		# Debugging flags
#PREF_CCFLAGS	= $(CCHEAPDEBUG) ;		# Heap Debugging flags
PREF_LINKFLAGS	= $(LINKDEBUGFLAG) ;	# Link debugging flags

#Products
Libraries = libyajl ;
Executables = ;
Headers = yajl_common.h  yajl_gen.h  yajl_parse.h  yajl_tree.h ;		# API headers

#Install
#InstallBin  $(DESTDIR)$(PREFIX)/bin : $(Executables) ;
#InstallFile $(DESTDIR)$(PREFIX)/h : $(Headers) ;
#InstallLib  $(DESTDIR)$(PREFIX)/lib : $(Libraries) ;

SRC = 
	yajl.c
	yajl_alloc.c
	yajl_buf.c
	yajl_encode.c
	yajl_gen.c
	yajl_lex.c
	yajl_parser.c
	yajl_tree.c
	yajl_version.c
	;

# config parser based on yajl 
Library libyajl : $(SRC) ;

# Link all utilities here with libicc
LINKLIBS = libyajl ;

# All utils are made from a single source file 
MainsFromSources yajl_test.c json_verify.c ;