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-08-04 16:17:30 +00:00
|
|
|
RSA_LIBS = -lcrypto
|
2005-01-08 07:44:22 +00:00
|
|
|
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 = \
|
2005-10-07 20:00:15 +00:00
|
|
|
@PICFLAGS@ \
|
2003-06-06 19:00:42 +00:00
|
|
|
-I$(top_srcdir)/lib \
|
|
|
|
-I$(top_srcdir)/api \
|
|
|
|
-I$(top_srcdir)/db \
|
|
|
|
-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) \
|
2005-12-20 07:03:42 +00:00
|
|
|
$(PTHREAD_CFLAGS)
|
2005-02-09 19:39:04 +00:00
|
|
|
|
|
|
|
AM_CFLAGS = $(AM_CPPFLAGS)
|
|
|
|
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
|
|
|
AM_LDFLAGS =
|
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
|
|
|
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
|
2005-02-09 19:39:04 +00:00
|
|
|
|