boinc/Makefile.incl

42 lines
1.1 KiB
Makefile
Raw Normal View History

## -*-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
$(LIBRSA):
cd $(top_srcdir)/RSAEuro/source; ${MAKE} librsaeuro.a
.PHONY: LIBRSA