khanat-opennel-code/code/ryzom/server/src/input_output_service/Makefile

60 lines
1.5 KiB
Makefile
Raw Normal View History

2010-05-06 00:08:41 +00:00
#############################################################################
# Setting up the compiler settings...
# Global variables
include ../../../Variables.mk
# The flags for the C++ compiler
CXXFLAGS = $(FLAGS_CMN) $(FLAGS_DBG_$(DBG)) \
-I/usr/include/libxml2 \
-I$(NEL_INCLUDE) \
-I$(RYZOM_COMMON_SRC) \
-I..
LDFLAGS = $(LD_FLAGS_CMN) \
-L$(NEL_PATH)/lib \
-L$(RYZOM_COMMON_SRC)/game_share \
-L../server_share \
-L../pd_lib \
-L../admin_modules \
-lpd_lib \
-lserver_share \
-lgame_share \
-ladmin_modules \
-lnelgeorges \
-lnelnet \
-lnelmisc \
-lxml2 \
-lrt\
-ldl
#############################################################################
# The bit that changes each time we cut paste and hack this file :o)
# The list of targets to build
TARGETS = input_output_service
DSP_TARGET = $(TARGETS).vcproj
PACKED_SHEETS = \
ios_sheets.packed_sheets \
# The default build rule
all: exe packed_sheets
exe: check-deps $(TARGETS)
$(TARGETS): $(OBJS) ../admin_modules/libadmin_modules.a \
$(RYZOM_COMMON_SRC)/game_share/libgame_share.a \
../pd_lib/libpd_lib.a
$(CXX) -o $@ $(OBJS) $(LDFLAGS)
cp -a $(TARGETS) $(TARGETS)_debug
strip $(TARGETS)
packed_sheets: $(TARGETS)
/bin/sh ../update_packed_sheets.sh ./$(TARGETS) $(PACKED_SHEETS)
#############################################################################
# Rules
include ../../../Rules.mk