Fixed: make it compile

This commit is contained in:
vl 2010-05-11 18:07:00 +02:00
parent e6663934f1
commit 300259046a
4 changed files with 16 additions and 15 deletions

View file

@ -39,6 +39,8 @@ libnelsnd_la_SOURCES = async_file_manager_sound.cpp \
music_source.h \
sample_bank.cpp \
sample_bank.h \
sample_bank_manager.cpp \
sample_bank_manager.h \
simple_sound.cpp \
simple_sound.h \
simple_source.cpp \
@ -54,7 +56,11 @@ libnelsnd_la_SOURCES = async_file_manager_sound.cpp \
source_common.cpp \
source_common.h \
stdsound.cpp \
stdsound.h
stdsound.h \
stream_source.cpp \
stream_source.h \
stream_sound.cpp \
stream_sound.h
AM_CXXFLAGS = -I$(top_srcdir)/src

View file

@ -1,9 +1,4 @@
night:
+make $(MAKE_NIGHT_ARGS) -k -C src night CXX=$(CXX)
$(BIN_DIR)/publish_nel
$(BIN_DIR)/publish_src
all:
+make $(MAKE_ALL_ARGS) -C src all

View file

@ -9,15 +9,15 @@ include ../../Variables.mk
WWWFLAGS = $(shell libwww-config --cflags)
WWWLDFLAGS = $(shell libwww-config --libs)
LUAFLAGS = $(shell lua-config --include)
LUALDFLAGS = $(shell lua-config --libs)
LUAFLAGS = $(shell pkg-config lua5.1 --cflags)
LUALDFLAGS = $(shell pkg-config lua5.1 --libs)
# The flags for the C++ compiler
CXXFLAGS = $(WWWFLAGS) $(LUAFLAGS) \
$(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
-I/usr/include/libxml2 \
-I$(RYZOM_PATH)/../../code/luabind \
-I$(NEL_PATH)/include \
-I$(NEL_INCLUDE) \
-I$(RYZOM_PATH)/common/src \
-I$(RYZOM_PATH)/client/src/seven_zip \
-I.. \
@ -28,8 +28,8 @@ LDFLAGS = $(WWWLDFLAGS) $(LUALDFLAGS) $(LD_FLAGS_CMN) \
-L$(RYZOM_PATH)/common/src/game_share \
-L$(RYZOM_PATH)/client/src/client_sheets \
-L$(RYZOM_PATH)/client/src/seven_zip \
-lclient_sheets \
-lseven_zip \
-lclient_sheets \
-lseven_zip \
-lgame_share \
-lnel3d \
-lnelpacs \
@ -38,12 +38,12 @@ LDFLAGS = $(WWWLDFLAGS) $(LUALDFLAGS) $(LD_FLAGS_CMN) \
-lnelgeorges \
-lnelnet \
-lnelmisc \
-lfreetype \
-lxml2 \
-ljpeg \
-lpng \
-lrt \
-ldl \
-llua50 \
-lluabind \
-lcurl \
-lX11
@ -66,10 +66,10 @@ $(TARGETS): $(OBJS)
strip $(TARGETS)
client_sheets:
+make $(MAKE_ALL_ARGS) -C client_sheets all
make $(MAKE_ALL_ARGS) -C client_sheets all
seven_zip:
+make $(MAKE_ALL_ARGS) -C seven_zip all
make $(MAKE_ALL_ARGS) -C seven_zip all
#############################################################################
# Rules