# Makefile template 
# you may edit the original in
#	~/config/settings/Eddie/TemplateMakefile

# (To edit the template now, place the cursor inside the path and press Alt-D)
# This template works with the generic makefile in
#	/boot/develop/etc/makefile-engine
# and is a subset of
#	/boot/develop/etc/makefile

# you may add stuff here 


# name of your binary
NAME= libicq2000.so

# type of binary (one of APP, SHARED, STATIC, DRIVER)
TYPE= SHARED

# @src->@ 

ORIGIN := /boot/home/linus/sources/cvs/Gim-ICQ/libicq2000/ 

src_src := \
	src/Capabilities.cpp \
	src/Client.cpp \
	src/Contact.cpp \
	src/ContactList.cpp \
	src/DirectClient.cpp \
	src/ICBMCookie.cpp \
	src/ICQ.cpp \
	src/MessageHandler.cpp \
	src/SMTPClient.cpp \
	src/SNAC-BOS.cpp \
	src/SNAC-BUD.cpp \
	src/SNAC-GEN.cpp \
	src/SNAC-LOC.cpp \
	src/SNAC-MSG.cpp \
	src/SNAC-SBL.cpp \
	src/SNAC-SRV.cpp \
	src/SNAC-UIN.cpp \
	src/SNAC-base.cpp \
	src/SNAC.cpp \
	src/SocketClient.cpp \
	src/TLV.cpp \
	src/Translator.cpp \
	src/UserInfoBlock.cpp \
	src/Xml.cpp \
	src/buffer.cpp \
	src/events.cpp \
	src/exceptions.cpp \
	src/socket.cpp \
	src/time_extra.cpp \
	src/userinfohelpers.cpp \
	src/version.cpp \
#

SRCS := \
	$(src_src) \
#

# @<-src@ 


# list the libraries your binary needs to link against
# (lbe, ltracker, etc.)
LIBS= stdc++.r4 sigc

LIBPATHS=../libsigc++-1.0.4/sigc++/.libs

# you may add stuff here 

SYSTEM_INCLUDE_PATHS = ../ ./ ../libsigc++-1.0.4/ ../libsigc++-1.0.4/sigc++/config

#	NONE = supress all warnings
#	ALL = enable all warnings
WARNINGS = ALL

#	specify whether image symbols will be created
#	so that stack crawls in the debugger are meaningful
#	if TRUE symbols will be created
SYMBOLS = TRUE

#	specify any preprocessor symbols to be defined.  The symbols will not
#	have their values set automatically; you must supply the value (if any)
#	to use.  For example, setting DEFINES to "DEBUG=1" will cause the
#	compiler option "-DDEBUG=1" to be used.  Setting DEFINES to "DEBUG"
#	would pass "-DDEBUG" on the compiler's command line.
DEFINES= HAVE_CONFIG_H

#	specify the level of optimization that you desire
#	NONE, SOME, FULL
OPTIMIZE= FULL

#	specify additional compiler flags for all files
COMPILER_FLAGS =

#	specify additional linker flags
LINKER_FLAGS =

#BONE vs net_server
ifeq ($(wildcard /boot/develop/headers/be/bone/arpa/inet.h),)
DEFINES += BEOS_NETSERVER
LIBS += net
else
LIBS += socket bind
endif

include ./makefile-engine
