-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.incl
57 lines (47 loc) · 1.73 KB
/
Makefile.incl
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
BASEDIR = $(top_builddir)
#if ($(IS_I386)
# BOINC_DIR = $(BASEDIR)/../boinc/mac_build/build/`uname -p`_Deployment
#else
# BOINC_DIR = $(BASEDIR)/../boinc/mac_build/build/`uname -p`_Deployment
#endif
LIBDIR=$(top_builddir)/client/linux_build
BOINC_BASEDIR = $(top_builddir)/../boinc
BOINC_DIR = $(BOINC_BASEDIR)
FTGL_DIR=$(top_builddir)/ftgl-2.1.3
FREETYPE_DIR=$(top_builddir)/freetype-2.4.6
ZLIB_DIR=$(top_builddir)/zlib-1.2.5
CURL_DIR=$(top_builddir)/curl-7.25.0
#if OS_DARWIN
# BOINC_LIB_DIR = $(BOINC_BASEDIR)/mac_build/build/Deployment
# BOINC_LIB = -L$(BOINC_LIB_DIR) -lboinc -lboinc_api -lboinc_graphics2 -L$(BOINC_BASEDIR)/zip/build/Release -lboinc_zip
#else
# BOINC_LIB = $(BOINC_DIR)/api/libboinc_api.a $(BOINC_DIR)/api/libboinc_graphics2.a $(BOINC_DIR)/lib/libboinc.a $(BOINC_DIR)/zip/libboinc_zip.a
BOINC_LIB = -L$(LIBDIR) -lboinc_api -lboinc_graphics2 -lboinc -lboinc_zip
#endif
#ZIPARCH_DIR = $(BASEDIR)/ziparchive/ZipArchive
#BOINC_LIB = -L$(BOINC_DIR)/api -lboinc_api -lboinc_graphics2 -L$(BOINC_DIR)/lib -lboinc -L$(ZIPARCH_DIR) -lziparch
UTILDIR = $(BASEDIR)/client/util
MAINDIR = $(BASEDIR)/client/main
SENSORDIR = $(BASEDIR)/client/sensor
GRAPHICSDIR = $(BASEDIR)/client/graphics
STRIP = strip
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_LIBS = @PTHREAD_LIBS@
AM_CPPFLAGS = \
-Wall \
-DQCN -D_THREAD_SAFE -D_ZLIB \
-O2 \
-I$(BASEDIR) \
-I$(MAINDIR) \
-I$(SENSORDIR) \
-I$(UTILDIR) \
-I$(FTGL_DIR)/include \
-I$(FREETYPE_DIR)/include \
-I$(ZLIB_DIR) \
-I$(CURL_DIR)/include \
-I$(BOINC_DIR)/lib \
-I$(BOINC_DIR)/api \
-I$(BOINC_DIR)/zip \
-I$(GRAPHICSDIR)
#-I$(ZIPARCH_DIR)
AM_LDFLAGS = -L$(UTILDIR) -L$(LIBDIR)