2003-06-06 19:00:42 +00:00
|
|
|
## -*-Makefile -*-
|
|
|
|
## $Id$
|
|
|
|
|
2003-07-19 00:37:06 +00:00
|
|
|
# Note: MYSQL_CFLAGS and MYSQL_LIBS set by configure from mysql_config
|
|
|
|
|
|
|
|
MYSQL_LIBS = @MYSQL_LIBS@
|
|
|
|
MYSQL_CFLAGS = @MYSQL_CFLAGS@
|
2004-10-29 04:42:37 +00:00
|
|
|
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
|
|
|
PTHREAD_LIBS = @PTHREAD_LIBS@
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2005-01-08 07:44:22 +00:00
|
|
|
RSA_LIBS = -L$(top_builddir)/RSAEuro/source -lrsaeuro
|
|
|
|
SCHED_LIB = -L$(top_builddir)/sched -lsched
|
|
|
|
BOINC_LIB = -L$(top_builddir)/lib -lboinc
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2003-07-19 00:37:06 +00:00
|
|
|
AM_CPPFLAGS = \
|
2003-06-06 19:00:42 +00:00
|
|
|
-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 \
|
2003-09-02 21:16:55 +00:00
|
|
|
-I$(top_srcdir)/sched \
|
2003-07-19 00:37:06 +00:00
|
|
|
$(MYSQL_CFLAGS) \
|
2004-10-29 04:42:37 +00:00
|
|
|
$(PTHREAD_CFLAGS) \
|
2003-07-18 21:43:12 +00:00
|
|
|
-include $(top_builddir)/config.h
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2005-01-08 07:44:22 +00:00
|
|
|
# dependencies to make sure libs gets compiled before
|
|
|
|
# programs linking to them:
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2005-01-08 07:44:22 +00:00
|
|
|
LIBRSA = $(top_builddir)/RSAEuro/source/librsaeuro.a
|
2003-06-08 00:49:48 +00:00
|
|
|
$(LIBRSA):
|
2003-06-08 10:46:19 +00:00
|
|
|
cd $(top_builddir)/RSAEuro/source; ${MAKE} librsaeuro.a
|
2005-01-08 07:44:22 +00:00
|
|
|
|
|
|
|
LIBSCHED = $(top_builddir)/libsched.a
|
|
|
|
$(LIBSCHED):
|
|
|
|
cd $(top_builddir)/sched; ${MAKE} libsched.a
|
|
|
|
|
|
|
|
LIBBOINC = $(top_builddir)/libboinc.a
|
|
|
|
$(LIBBOINC):
|
|
|
|
cd $(top_builddir)/lib; ${MAKE} libboinc.a
|