mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-28 22:23:21 +01:00
50 lines
1.1 KiB
Text
50 lines
1.1 KiB
Text
####################################
|
|
# ARABICA CONFIG
|
|
# edit for your parser choice - may include more than one USE_*
|
|
PARSER_CONFIG = -DUSE_EXPAT -DARABICA_NO_WCHAR_T
|
|
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
|
|
|
|
####################################
|
|
# TOOLS
|
|
#####
|
|
MAKE = make
|
|
# C++ compiler
|
|
CXX = gcc
|
|
# preprocessor
|
|
CPP = gcc -E
|
|
# linker
|
|
LD = gcc
|
|
# archiver
|
|
AR = ar r
|
|
|
|
###########
|
|
# 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
|
|
EXPAT_PATH = /data1/home/jhiggins/expat
|
|
|
|
CXXFLAGS = -Wall -fPIC
|
|
# need these -Rs to tell the linker the runtime location of these libraries
|
|
# I had them installed in wacky places, because I don't have root privs
|
|
LDFLAGS = -R$(EXPAT_PATH)/lib -R/usr/local/lib -R/data1/home/jhiggins/arabica/bin
|
|
|
|
# Includes and library directories
|
|
INCS_DIRS = -I.. -I$(EXPAT_PATH)/include
|
|
LIBS_DIRS = -L$(EXPAT_PATH)/lib
|
|
|
|
STATIC_LIBS =
|
|
DYNAMIC_LIBS = -lexpat -lstdc++ -lsocket
|
|
|
|
# you'll only need to change these if you use Cygwin
|
|
EXESUFFIX =
|
|
LIBSUFFIX = .so
|
|
|
|
|
|
|