boinc/Makefile.incl

39 lines
1.1 KiB
Makefile

## -*-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_builddir)/RSAEuro/source \
-lrsaeuro
AM_CFLAGS = -g -Wall
AM_CXXFLAGS = -g -Wall
AM_CPPFLAGS = \
-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
# this is useful as a dependency to make sure librsaeuro gets compiled before
# programs linking to it:
LIBRSA = $(top_builddir)/RSAEuro/source/librsaeuro.a
$(LIBRSA):
cd $(top_builddir)/RSAEuro/source; ${MAKE} librsaeuro.a