mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Added initial jamfiles.
This commit is contained in:
parent
9790b512ab
commit
8748103d5e
9
Jamfile
Normal file
9
Jamfile
Normal 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
30
Jamrules
Normal 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
10
edelib2/Jamfile
Normal 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
3
edialog/Jamfile
Normal file
@ -0,0 +1,3 @@
|
||||
SubDir TOP edialog ;
|
||||
|
||||
MakeProgram edialog : edialog.cpp ;
|
5
eimage/Jamfile
Normal file
5
eimage/Jamfile
Normal file
@ -0,0 +1,5 @@
|
||||
SubDir TOP eimage ;
|
||||
|
||||
LOCALFLAGS += -Wall ;
|
||||
|
||||
MakeProgram eimage : eimage.cpp ;
|
Loading…
Reference in New Issue
Block a user