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

#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 = libmxml ;
Executables = ;
Headers = mxml.h ;

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

if $(NT) {
	DEFINES += WIN32 ;
}

# mXML library
Library libmxml : mxml-attr.c mxml-entity.c mxml-file.c mxml-get.c mxml-index.c
                  mxml-node.c mxml-private.c mxml-search.c mxml-set.c mxml-string.c ;

LINKLIBS = libmxml ;

MainsFromSources testmxml.c ;