-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathJamfile
More file actions
29 lines (24 loc) · 768 Bytes
/
Jamfile
File metadata and controls
29 lines (24 loc) · 768 Bytes
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
MAKE = 1 ;
JAM = 1 ;
if $(UNIX)
{
C++ = g++ -DMAKEFILE ;
LINK = g++ ;
}
C++FLAGS += `libgcrypt-config --cflags ` ;
LINKFLAGS += `libgcrypt-config --cflags --libs` -ldb ;
LIBSOURCES = build.cc argpc.cc argpcoption.cc exception.cc rules.cc dependencies.cc plotter.cc utilities.cc debug.cc re.cc variables.cc ;
SOURCES = main.cc find.cc ;
if $(UNIX) { LIBSOURCES += subprocess_unix.cc file_unix.cc ; }
if $(NT) { LIBSOURCES += subprocess_win.cc ; }
Yacc make_parse.cc : make_parse.y ;
Yacc jam_parse.cc : jam_parse.y ;
Library libptmake : $(LIBSOURCES) ;
if $(MAKE) {
Main make : make.cc make_rules.cc make_parse.cc $(SOURCES) ;
LinkLibraries make : libptmake ;
}
if $(JAM) {
Main jam : jam.cc jam_parse.cc $(SOURCES) ;
LinkLibraries jam : libptmake ;
}