mirror of
https://github.com/jezhiggins/arabica
synced 2024-11-17 07:48:50 +01:00
A copy of the OS X one
This commit is contained in:
parent
dc021947f9
commit
48974a54c6
1 changed files with 50 additions and 0 deletions
50
Makefile.header.darwin
Normal file
50
Makefile.header.darwin
Normal file
|
@ -0,0 +1,50 @@
|
|||
####################################
|
||||
# ARABICA CONFIG
|
||||
# edit for your parser choice - may include more than one USE_*
|
||||
PARSER_CONFIG = -DUSE_LIBXML2
|
||||
#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
|
||||
|
||||
CXXFLAGS = -Wall
|
||||
LDFLAGS =
|
||||
|
||||
# Includes and library directories
|
||||
INCS_DIRS = -I.. -I/usr/include/libxml2
|
||||
LIBS_DIRS =
|
||||
|
||||
# OSX includes libxml2
|
||||
STATIC_LIBS =
|
||||
DYNAMIC_LIBS = -lxml2 -lstdc++
|
||||
|
||||
# link flag to create a shared library
|
||||
LINK_SHARED = -dynamiclib
|
||||
|
||||
EXESUFFIX =
|
||||
LIBSUFFIX = .dylib
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue