2005-10-24 05:33:52 +02:00
|
|
|
-include Makefile.common
|
|
|
|
|
2003-09-10 10:48:31 +02:00
|
|
|
####################################
|
|
|
|
# ARABICA CONFIG
|
|
|
|
# edit for your parser choice - may include more than one USE_*
|
2005-08-22 12:35:43 +02:00
|
|
|
PARSER_CONFIG = -DUSE_EXPAT -DARABICA_NO_WCHAR_T
|
2003-09-10 10:48:31 +02:00
|
|
|
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
|
|
|
|
|
|
|
|
####################################
|
|
|
|
# TOOLS
|
|
|
|
#####
|
|
|
|
MAKE = make
|
|
|
|
# C++ compiler
|
2005-08-05 10:48:17 +02:00
|
|
|
CXX = gcc
|
2003-09-10 10:48:31 +02:00
|
|
|
# preprocessor
|
2005-08-05 10:48:17 +02:00
|
|
|
CPP = gcc -E
|
2003-09-10 10:48:31 +02:00
|
|
|
# linker
|
2005-08-08 07:41:43 +02:00
|
|
|
LD = gcc
|
2003-09-10 10:48:31 +02:00
|
|
|
# archiver
|
2005-08-05 10:48:17 +02:00
|
|
|
AR = ar r
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
###########
|
|
|
|
# Utilities
|
|
|
|
REMOVE = rm -rf
|
|
|
|
LINK = ln -sf
|
|
|
|
COPY = cp -f
|
|
|
|
|
|
|
|
######################################
|
|
|
|
# BUILD FLAGS
|
|
|
|
# you probably want to set some these according to
|
|
|
|
# your parser choice
|
|
|
|
# eg DYNAMIC_LIBS = -lexpat
|
|
|
|
|
2005-08-08 07:41:43 +02:00
|
|
|
CXXFLAGS = -Wall
|
2004-02-25 22:14:38 +01:00
|
|
|
LDFLAGS =
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
# Includes and library directories
|
2005-09-28 22:02:00 +02:00
|
|
|
INCS_DIRS = -I.. -Id:/usr/include
|
|
|
|
LIBS_DIRS = -Ld:/usr/dll
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
STATIC_LIBS =
|
2005-09-28 22:02:00 +02:00
|
|
|
DYNAMIC_LIBS = -lwsock32 -lexpat -lstdc++
|
2003-12-07 16:13:11 +01:00
|
|
|
|
2005-08-15 23:09:13 +02:00
|
|
|
# link flag to create a shared library
|
2004-09-14 22:51:36 +02:00
|
|
|
LINK_SHARED = -shared
|
2003-09-10 10:48:31 +02:00
|
|
|
|
2005-08-22 12:35:43 +02:00
|
|
|
EXESUFFIX = .exe
|
|
|
|
LIBSUFFIX = .dll
|
2003-09-10 10:48:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
|