arabica/Makefile.header

51 lines
893 B
Text
Raw Normal View History

2003-09-10 10:48:31 +02:00
####################################
# ARABICA CONFIG
# edit for your parser choice - may include more than one USE_*
2004-02-25 22:14:38 +01:00
PARSER_CONFIG = -DUSE_LIBXML2
2003-09-10 10:48:31 +02:00
#PARSER_CONFIG = -DUSE_EXPAT -DUSE_LIBXML2 -DUSE_XERCES -DUSE_GARDEN
####################################
# TOOLS
#####
MAKE = make
# C++ compiler
CXX = gcc
# preprocessor
CPP = gcc -E
# linker
2003-09-10 15:34:10 +02:00
LD = gcc
2003-09-10 10:48:31 +02:00
# 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
2004-02-25 22:14:38 +01:00
CXXFLAGS = -Wall
LDFLAGS =
2003-09-10 10:48:31 +02:00
# Includes and library directories
2004-09-10 23:04:03 +02:00
INCS_DIRS = -I.. -I/usr/include/libxml2
2003-09-10 10:48:31 +02:00
LIBS_DIRS =
2004-09-10 23:04:03 +02:00
# OSX includes libxml2
2003-09-10 10:48:31 +02:00
STATIC_LIBS =
2004-02-25 22:14:38 +01:00
DYNAMIC_LIBS = -lxml2 -lstdc++
2003-12-07 16:13:11 +01:00
2004-09-10 23:04:03 +02:00
# link flag to create a shared library
LINK_SHARED = -dynamiclib
2003-09-10 10:48:31 +02:00
2004-09-10 23:04:03 +02:00
EXESUFFIX =
LIBSUFFIX = .dylib
2003-09-10 10:48:31 +02:00