forked from BOINC/boinc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.incl
41 lines (32 loc) · 1.12 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
## -*-Makefile -*-
## $Id$
MYSQL_INCLUDES = /usr/local/mysql/include
MYSQL_INCLUDES2 = /usr/local/mysql/include/mysql
MYSQL_INCLUDES3 = /usr/include/mysql
MYSQL_LIBS = \
-L/usr/local/mysql/lib -L/sw/lib/mysql -L/usr/local/lib/mysql \
-lmysqlclient -L/usr/local/lib -lz \
-lm $(NETLIBS)
RSA_LIBS = \
-L$(top_srcdir)/RSAEuro/source \
-lrsaeuro
CPPFLAGS = -g -Wall \
-DHOSTTYPE=\"@host@\" \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/api \
-I$(top_srcdir)/db \
-I$(top_srcdir)/RSAEuro/source \
-I$(top_srcdir)/client \
-I$(top_srcdir)/tools \
-I$(MYSQL_INCLUDES) \
-I$(MYSQL_INCLUDES2) \
-I$(MYSQL_INCLUDES3) \
-include $(top_srcdir)/config.h
# -DVERSION=$(VERSION)
# -pedantic
# this is useful as a dependency to make sure librsaeuro gets compiled before
# programs linking to it:
LIBRSA: $(top_srcdir)/RSAEuro/source/librsaeuro.a
$(top_srcdir)/RSAEuro/source/librsaeuro.a:
cd $(top_srcdir)/RSAEuro/source; ${MAKE} librsaeuro.a
.PHONY: LIBRSA