-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathMakefile.inc.in
64 lines (53 loc) · 1.82 KB
/
Makefile.inc.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#
# This makefile is included from all other makefiles.
#
# Notes:
# - Use $(CXX) variable for compiler.
# - Use $(LINK.cpp) for linker. Currently it is equal to "$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)", but if you need real linker detection, use libtool + LT_PATH_LD macros
# - Pass optimization flags as follows:
# CXXFLAGS="-g -O3" ./configure
# There are no defaults for any options as there is no guarantee, that target compiler supports them, see http://www.gnu.org/software/autoconf/manual/make/Command-Variables.html.
#
NAME := @PACKAGE_NAME@
VERSION := @PACKAGE_VERSION@
LIB_MAJOR_VERSION := @LIB_MAJOR_VERSION@
LIB_MINOR_VERSION := @LIB_MINOR_VERSION@
LIB_PATCH_VERSION := @LIB_PATCH_VERSION@
NAME_VERSION := $(NAME)-$(VERSION)
prefix := @prefix@
exec_prefix := @exec_prefix@
bindir := @bindir@
libdir := @libdir@
includedir := @includedir@
datarootdir := @datarootdir@
datadir := @datadir@
docdir := @docdir@
mandir := @mandir@
TARGET_CPU := @build_cpu@
TARGET_OS := @build_os@
CXX := @CXX@
RM := @RM@
LN_S := @LN_S@
RANLIB := @RANLIB@
AR := @AR@
INSTALL := @INSTALL@
INSTALL_PROGRAM := @INSTALL_PROGRAM@
INSTALL_DATA := @INSTALL_DATA@
INSTALL_DIR := ${INSTALL} -d -m 755
NATURALDOCS := @NATURALDOCS@
XSLTPROC := @XSLTPROC@
TESSERACT_LIB := @TESSERACT_LIB@
OSRA_LIB := @OSRA_LIB@
OSRA_JAVA := @OSRA_JAVA@
# Notes: see "configure --enable-static-linking" to enable static linking; use "configure --enable-profiling" to include extra debug info.
CXXFLAGS := @CXXFLAGS@
CPPFLAGS := @CPPFLAGS@
LDFLAGS := @LDFLAGS@
# Important that this variable is re-evaluated each time when used:
LDSHAREDFLAGS = @LDSHAREDFLAGS@
EXEEXT := @EXEEXT@
SHAREDEXT := @SHAREDEXT@
LIBS := @LIBS@
PHONY_TARGETS := all install uninstall clean distclean
.PHONY: $(PHONY_TARGETS)
.SUFFIXES: .c .cpp