2003-06-06 19:00:42 +00:00
|
|
|
## -*-Makefile -*-
|
|
|
|
## $Id$
|
|
|
|
|
2014-05-01 17:38:05 +00:00
|
|
|
# For debugging purposes
|
|
|
|
#AM_DEFAULT_VERBOSITY=1
|
|
|
|
|
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 = \
|
2012-11-02 00:58:57 +00:00
|
|
|
-I$(top_srcdir) \
|
2003-06-06 19:00:42 +00:00
|
|
|
-I$(top_srcdir)/api \
|
|
|
|
-I$(top_srcdir)/db \
|
2012-02-28 06:57:28 +00:00
|
|
|
-I$(top_srcdir)/lib \
|
2009-01-13 23:06:02 +00:00
|
|
|
-I$(top_srcdir)/lib/mac \
|
2012-02-28 06:57:28 +00:00
|
|
|
-I$(top_srcdir)/sched \
|
|
|
|
-I$(top_srcdir)/tools \
|
|
|
|
-I$(top_srcdir)/vda \
|
2009-01-13 23:06:02 +00:00
|
|
|
$(PTHREAD_CFLAGS)
|
|
|
|
|
2013-03-05 21:47:37 +00:00
|
|
|
AM_CFLAGS = -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -Wcast-align
|
2009-01-13 23:06:02 +00:00
|
|
|
|
2011-09-27 19:45:27 +00:00
|
|
|
AM_CXXFLAGS = $(AM_CFLAGS)
|
2009-01-13 23:06:02 +00:00
|
|
|
|
|
|
|
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
|
2009-07-14 17:50:33 +00:00
|
|
|
LIBBOINC_CRYPT = $(top_builddir)/lib/libboinc_crypt.la
|
|
|
|
$(LIBBOINC_CRYPT):
|
2014-08-11 18:30:34 +00:00
|
|
|
cd $(top_builddir)/lib; ${MAKE} libboinc_crypt.la
|
2009-01-13 23:06:02 +00:00
|
|
|
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
|
|
|
|
|
2009-07-15 22:10:54 +00:00
|
|
|
SERVERLIBS = $(LIBSCHED) $(LIBBOINC_CRYPT) $(LIBBOINC) $(MYSQL_LIBS) $(PTHREAD_LIBS) $(RSA_LIBS) $(SSL_LIBS)
|
2017-01-20 07:58:49 +00:00
|
|
|
SERVERLIBS_MIN = $(LIBSCHED) $(LIBBOINC_CRYPT) $(LIBBOINC) $(PTHREAD_LIBS) $(RSA_LIBS) $(SSL_LIBS)
|
2009-07-15 22:10:54 +00:00
|
|
|
SERVERLIBS_FCGI = $(LIBSCHED_FCGI) $(LIBBOINC_CRYPT) $(LIBBOINC_FCGI) -lfcgi $(MYSQL_LIBS) $(PTHREAD_LIBS) $(RSA_LIBS) $(SSL_LIBS)
|
2009-01-13 23:06:02 +00:00
|
|
|
APPLIBS = $(LIBAPI) $(LIBBOINC)
|
2014-06-17 23:02:59 +00:00
|
|
|
FUHLIBS = $(LIBBOINC_CRYPT) $(LIBBOINC) $(RSA_LIBS) $(SSL_LIBS)
|
2009-01-13 23:06:02 +00:00
|
|
|
|