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 \ music_source.h \
sample_bank.cpp \ sample_bank.cpp \
sample_bank.h \ sample_bank.h \
sample_bank_manager.cpp \
sample_bank_manager.h \
simple_sound.cpp \ simple_sound.cpp \
simple_sound.h \ simple_sound.h \
simple_source.cpp \ simple_source.cpp \
@ -54,7 +56,11 @@ libnelsnd_la_SOURCES = async_file_manager_sound.cpp \
source_common.cpp \ source_common.cpp \
source_common.h \ source_common.h \
stdsound.cpp \ stdsound.cpp \
stdsound.h stdsound.h \
stream_source.cpp \
stream_source.h \
stream_sound.cpp \
stream_sound.h
AM_CXXFLAGS = -I$(top_srcdir)/src 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: all:
+make $(MAKE_ALL_ARGS) -C src all +make $(MAKE_ALL_ARGS) -C src all

View file

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