boinc/Makefile.incl

36 lines
885 B
Makefile

## -*-Makefile -*-
## $Id$
# Note: MYSQL_CFLAGS and MYSQL_LIBS set by configure from mysql_config
MYSQL_LIBS = @MYSQL_LIBS@
MYSQL_CFLAGS = @MYSQL_CFLAGS@
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
PTHREAD_LIBS = @PTHREAD_LIBS@
RSA_LIBS = -lcrypto
AM_CPPFLAGS = \
-I$(top_srcdir)/lib \
-I$(top_srcdir)/api \
-I$(top_srcdir)/db \
-I$(top_srcdir)/client \
-I$(top_srcdir)/tools \
-I$(top_srcdir)/sched \
-I$(top_srcdir)/lib/mac
# dependencies to make sure libs gets compiled before
# programs linking to them:
LIBSCHED = $(top_builddir)/sched/libsched.a
$(LIBSCHED):
cd $(top_builddir)/sched; ${MAKE} libsched.a
LIBBOINC = $(top_builddir)/lib/libboinc.a
$(LIBBOINC):
cd $(top_builddir)/lib; ${MAKE} libboinc.a
LIBAPI = = $(top_builddir)/api/libboinc_api.a
$(LIBAPI):
cd $(top_builddir)/api; ${MAKE} libboinc_api.a