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
|
|
|
|
|
2009-01-13 23:06:02 +00:00
|
|
|
# ignore any LIBS set by configure
|
|
|
|
LIBS=
|
|
|
|
|
|
|
|
LIBBOINC_VERSION = @LIBBOINC_VERSION@
|
|
|
|
|
2003-07-19 00:37:06 +00:00
|
|
|
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
|
2003-06-06 19:00:42 +00:00
|
|
|
|
2009-01-13 23:06:02 +00:00
|
|
|
AM_LIBTOOLFLAGS =
|
|
|
|
|
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)/client \
|
|
|
|
-I$(top_srcdir)/tools \
|
2003-09-02 21:16:55 +00:00
|
|
|
-I$(top_srcdir)/sched \
|
2009-01-13 23:06:02 +00:00
|
|
|
-I$(top_srcdir)/lib/mac \
|
|
|
|
$(PTHREAD_CFLAGS)
|
|
|
|
|
|
|
|
AM_CFLAGS =
|
|
|
|
|
|
|
|
AM_CXXFLAGS =
|
|
|
|
|
|
|
|
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
|
|
|
|
2009-01-13 23:06:02 +00:00
|
|
|
LIBSCHED = $(top_builddir)/sched/libsched.la
|
2005-01-08 07:44:22 +00:00
|
|
|
$(LIBSCHED):
|
2009-01-13 23:06:02 +00:00
|
|
|
cd $(top_builddir)/sched; ${MAKE} libsched.la
|
|
|
|
LIBSCHED_FCGI = $(top_builddir)/sched/libsched_fcgi.la
|
|
|
|
$(LIBSCHED_FCGI):
|
|
|
|
cd $(top_builddir)/sched; ${MAKE} libsched_fcgi.la
|
|
|
|
LIBBOINC = $(top_builddir)/lib/libboinc.la
|
2005-01-08 07:44:22 +00:00
|
|
|
$(LIBBOINC):
|
2009-01-13 23:06:02 +00:00
|
|
|
cd $(top_builddir)/lib; ${MAKE} libboinc.la
|
|
|
|
LIBBOINC_FCGI = $(top_builddir)/lib/libboinc_fcgi.la
|
|
|
|
$(LIBBOINC_FCGI):
|
|
|
|
cd $(top_builddir)/lib; ${MAKE} libboinc_fcgi.la
|
|
|
|
LIBAPI = $(top_builddir)/api/libboinc_api.la
|
2008-03-15 03:26:14 +00:00
|
|
|
$(LIBAPI):
|
2009-01-13 23:06:02 +00:00
|
|
|
cd $(top_builddir)/api; ${MAKE} libboinc_api.la
|
|
|
|
|
|
|
|
SERVERLIBS = $(LIBSCHED) $(LIBBOINC) $(MYSQL_LIBS) $(PTHREAD_LIBS) $(RSA_LIBS)
|
|
|
|
SERVERLIBS_FCGI = $(LIBSCHED_FCGI) $(LIBBOINC_FCGI) -lfcgi $(MYSQL_LIBS) $(PTHREAD_LIBS) $(RSA_LIBS)
|
|
|
|
APPLIBS = $(LIBAPI) $(LIBBOINC)
|
|
|
|
|