8000 re #30: update jam config to reflect new all in workspace setup · randomcoding/PSAI-MessageRelay@c49a6b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit c49a6b1

Browse files
author
tim@5f1bb9e6-f381-11dc-ac94-59e6f598b727
committed
re #30: update jam config to reflect new all in workspace setup
1 parent 1b392d3 commit c49a6b1

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

Jamconfig

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,22 @@ COMPILER.C++FLAGS += -fvisibility-inlines-hidden ;
4747
COMPILER.CFLAGS += -fvisibility=hidden ;
4848
COMPILER.CFLAGS.VISIBILITY_DEFAULT ?= -fvisibility=default ;
4949

50-
PS.DEV.DIR ?= /media/devdisk/phd/development/planeshift ;
51-
5250
CRYSTAL.AVAILABLE ?= yes ;
5351
CRYSTAL.VERSION ?= 1.4 ;
54-
CRYSTAL.CFLAGS ?= -I$(PS.DEV.DIR)/cs/include ;
55-
CRYSTAL.LFLAGS ?= -L$(PS.DEV.DIR)/cs/out/linux/optimize/libs -lcrystalspace-1.4 -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
56-
CRYSTAL.INCLUDE_DIR ?= $(PS.DEV.DIR)/cs/include ;
52+
CRYSTAL.CFLAGS ?= -I$(PS.DEV.DIR)/CrystalSpace/include ;
53+
CRYSTAL.LFLAGS ?= -L$(PS.DEV.DIR)/CrystalSpace/out/linuxx86/optimize/libs -lcrystalspace-1.4 -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
54+
CRYSTAL.INCLUDE_DIR ?= $(PS.DEV.DIR)/CrystalSpace/include ;
5755
CRYSTAL.AVAILABLE_LIBS ?= crystalspace crystalspace_opengl ;
58-
CRYSTAL.STATICDEPS ?= $(PS.DEV.DIR)/cs/out/linux/optimize/libs/crystalspace_staticplugins.jam ;
56+
CRYSTAL.STATICDEPS ?= $(PS.DEV.DIR)/CrystalSpace/out/linuxx86/optimize/libs/crystalspace_staticplugins.jam ;
5957

6058
CAL3D.AVAILABLE ?= yes ;
61-
CAL3D.CFLAGS ?= -I$(PS.DEV.DIR)/cal3d/src ;
62-
CAL3D.LFLAGS ?= -L$(PS.DEV.DIR)/cal3d/src/cal3d/.libs -lcal3d -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
63-
CAL3D.INCLUDE_DIR ?= $(PS.DEV.DIR)/cal3d/src ;
59+
CAL3D.CFLAGS ?= -I$(PS.DEV.DIR)/Cal3d/src ;
60+
CAL3D.LFLAGS ?= -L$(PS.DEV.DIR)/Cal3d/src/cal3d/.libs -lcal3d -lz -lpthread -lc -lm -ldl -lnsl -L/usr/local/lib ;
61+
CAL3D.INCLUDE_DIR ?= $(PS.DEV.DIR)/Cal3d/src ;
6462

6563
PS.VERSION ?= 0.4 ;
66-
PS.INCLUDES ?= -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/include -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/src/client -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/src/common -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/src/eedit -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/src/npcclient -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/src/pslaunch -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/src/server -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/src/setup -I$(PS.DEV.DIR)/workspace-psai/PlaneShift/src/tools ;
67-
PS.LIB_DIR ?= $(PS.DEV.DIR)/workspace-psai/PlaneShift/out/linux/optimize/libs ;
64+
PS.INCLUDES ?= -I$(PS.DEV.DIR)/PlaneShift/include -I$(PS.DEV.DIR)/PlaneShift/src/client -I$(PS.DEV.DIR)/PlaneShift/src/common -I$(PS.DEV.DIR)/PlaneShift/src/eedit -I$(PS.DEV.DIR)/PlaneShift/src/npcclient -I$(PS.DEV.DIR)/PlaneShift/src/pslaunch -I$(PS.DEV.DIR)/PlaneShift/src/server -I$(PS.DEV.DIR)/PlaneShift/src/setup -I$(PS.DEV.DIR)/PlaneShift/src/tools ;
65+
PS.LIB_DIR ?= $(PS.DEV.DIR)/PlaneShift/out/linuxx86/optimize/libs ;
6866

6967
PSENGINE.AVAILABLE ?= yes ;
7068
PSENGINE.CFLAGS ?= $(PS.INCLUDES) ;

Jamfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ IncludeDir tests ;
1717
IncludeDir tests xml ;
1818

1919
# other library includes
20-
IncludeDir $(TOP) .. .. cal3d src ;
21-
IncludeDir $(TOP) .. .. cs include ;
20+
IncludeDir $(TOP) .. Cal3d src ;
21+
IncludeDir $(TOP) .. Cal3d include ;
22+
IncludeDir $(TOP) .. CrystalSpace include ;
2223

2324
# PlaneShift include directories
2425
IncludeDir $(TOP) .. PlaneShift include ;
@@ -66,7 +67,7 @@ Help distclean : "Remove built targets and configuration" ;
6667

6768
RegisterCompileGroups psailib tests ;
6869

69-
# List the first layer of subdirectories containing the jamfiles for the projects you wish to compile. This is order sensistive.
70+
# List the first layer of subdirectories containing the jamfiles for the projects you wish to compile. This is order sensitive.
7071
# Library targets must be seen by Jam before Application and Plugin targets.
7172

7273
SubInclude TOP src ;

0 commit comments

Comments
 (0)
0