boinc/dcapi/common/Makefile.am

30 lines
604 B
Makefile

noinst_LTLIBRARIES =
AM_CPPFLAGS = -I$(top_srcdir)/include
# Symbol file for the master side
EXTRA_DIST = master.sym
if BUILD_MASTER
noinst_LTLIBRARIES += libdcapi-common-master.la
libdcapi_common_master_la_CPPFLAGS = $(AM_CPPFLAGS) $(GLIB_CFLAGS) -DMASTER
libdcapi_common_master_la_SOURCES = \
cfg-master.c \
logger.c \
util.c
libdcapi_common_master_la_LIBADD = $(GLIB_LIBS)
endif
if BUILD_CLIENT
noinst_LTLIBRARIES += libdcapi-common-client.la
libdcapi_common_client_la_CPPFLAGS = $(AM_CPPFLAGS) -DCLIENT
libdcapi_common_client_la_SOURCES = \
cfg-client.c \
logger.c \
util.c
endif