Added initial jamfiles.

This commit is contained in:
Sanel Zukan 2007-03-15 16:21:30 +00:00
parent 9790b512ab
commit 8748103d5e
5 changed files with 57 additions and 0 deletions

9
Jamfile Normal file
View File

@ -0,0 +1,9 @@
SubDir TOP ;
# We must first build edelib
SubInclude TOP edelib2 ;
# Then the rest
#SubInclude TOP efiler ;
SubInclude TOP edialog ;
SubInclude TOP eimage ;

30
Jamrules Normal file
View File

@ -0,0 +1,30 @@
FLAGS ?= -Wall -g3 -D_DEBUG ;
STDLIB ?= -lstdc++ ;
FLTKLIB ?= -L/usr/local/lib -lfltk2 ;
FLTKIMAGES ?= -L/usr/local/lib -lfltk2_images ;
X11LIBS ?= -L/usr/X11R6/lib -lX11 -lXi -lXinerama -lXft -lpthread -lm -lXext ;
IMGLIBS ?= -lpng -ljpeg -lz ;
EDELIB = edelib ;
EDELIB_NAME = lib$(edelib) ;
EDELIBDIR = edelib2 ;
# this is used by jam
CCFLAGS = $(FLAGS) $(LOCALFLAGS) ;
C++FLAGS = $(FLAGS) $(LOCALFLAGS) ;
OPTIM = ;
rule MakeLibrary
{
Library $(<) : $(>) ;
}
rule MakeProgram
{
local eldir ;
eldir = [ FDirName $(TOP) $(EDELIBDIR) ] ;
LINKLIBS on $(<) = -L$(eldir) -l$(EDELIB) $(FLTKIMAGES) $(IMGLIBS) $(FLTKLIB) $(X11LIBS) $(STDLIB) ;
Main $(<) : $(>) ;
}

10
edelib2/Jamfile Normal file
View File

@ -0,0 +1,10 @@
SubDir TOP edelib2 ;
MakeLibrary libedelib : about_dialog.cpp
Config.cpp
Icon.cpp
MimeType.cpp
process.cpp
pty.cpp
Run.cpp
Util.cpp ;

3
edialog/Jamfile Normal file
View File

@ -0,0 +1,3 @@
SubDir TOP edialog ;
MakeProgram edialog : edialog.cpp ;

5
eimage/Jamfile Normal file
View File

@ -0,0 +1,5 @@
SubDir TOP eimage ;
LOCALFLAGS += -Wall ;
MakeProgram eimage : eimage.cpp ;