2004-06-18 09:05:15 +00:00
|
|
|
## -*- mode: make; tab-width: 4 -*-
|
2003-06-06 19:00:42 +00:00
|
|
|
## $Id$
|
|
|
|
|
|
|
|
include $(top_srcdir)/Makefile.incl
|
|
|
|
|
2004-10-18 01:54:28 +00:00
|
|
|
api_files= \
|
2004-12-08 20:55:53 +00:00
|
|
|
boinc_api.C
|
2003-06-11 22:42:42 +00:00
|
|
|
|
2004-12-11 01:16:36 +00:00
|
|
|
graphics_api_files = \
|
|
|
|
graphics_api.C \
|
|
|
|
graphics_data.C \
|
2004-12-11 18:38:19 +00:00
|
|
|
graphics_impl.C \
|
2004-12-11 01:16:36 +00:00
|
|
|
reduce.C \
|
|
|
|
gutil.C \
|
|
|
|
x_opengl.C
|
|
|
|
|
|
|
|
graphics_lib_files = \
|
2004-12-11 18:38:19 +00:00
|
|
|
graphics_lib.C \
|
|
|
|
graphics_data.C \
|
|
|
|
reduce.C
|
2004-12-11 01:16:36 +00:00
|
|
|
|
2004-12-11 18:38:19 +00:00
|
|
|
graphics_impl_files = \
|
2004-12-11 01:16:36 +00:00
|
|
|
graphics_data.C \
|
2004-12-11 18:38:19 +00:00
|
|
|
graphics_impl.C \
|
2004-12-11 01:16:36 +00:00
|
|
|
gutil.C \
|
|
|
|
reduce.C \
|
|
|
|
x_opengl.C
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
boinc_api.h \
|
|
|
|
boinc_gl.h \
|
|
|
|
graphics_api.h \
|
2004-12-04 00:56:22 +00:00
|
|
|
graphics_data.h \
|
2004-12-11 01:16:36 +00:00
|
|
|
graphics_impl.h \
|
|
|
|
graphics_lib.h \
|
|
|
|
gutil.h \
|
2004-12-04 00:56:22 +00:00
|
|
|
reduce.h \
|
2004-12-11 01:16:36 +00:00
|
|
|
x_opengl.h
|
2004-10-18 01:54:28 +00:00
|
|
|
|
2004-11-26 17:45:13 +00:00
|
|
|
if BUILD_GRAPHICS_API
|
2004-12-11 01:27:47 +00:00
|
|
|
graphics_libs = \
|
|
|
|
libboinc_graphics_api.a \
|
|
|
|
libboinc_graphics_lib.a \
|
|
|
|
libboinc_graphics_impl.a
|
2004-11-26 17:45:13 +00:00
|
|
|
else
|
|
|
|
graphics_libs =
|
|
|
|
endif
|
|
|
|
|
|
|
|
lib_LIBRARIES = libboinc_api.a $(graphics_libs)
|
|
|
|
|
2004-12-11 01:16:36 +00:00
|
|
|
#EXTRA_LIBRARIES = libboinc_graphics_api.a
|
2004-10-18 01:54:28 +00:00
|
|
|
|
|
|
|
libboinc_api_a_SOURCES = $(api_files)
|
|
|
|
|
|
|
|
libboinc_graphics_api_a_SOURCES = $(graphics_api_files)
|
2004-11-18 01:30:37 +00:00
|
|
|
libboinc_graphics_api_a_CPPFLAGS = -I$(top_srcdir)/lib
|
2004-12-11 01:27:47 +00:00
|
|
|
libboinc_graphics_lib_a_SOURCES = $(graphics_lib_files)
|
|
|
|
libboinc_graphics_lib_a_CPPFLAGS = -I$(top_srcdir)/lib
|
|
|
|
libboinc_graphics_impl_a_SOURCES = $(graphics_impl_files)
|
|
|
|
libboinc_graphics_impl_a_CPPFLAGS = -I$(top_srcdir)/lib
|
2004-10-18 01:54:28 +00:00
|
|
|
|
|
|
|
## install header-files with prefix-subdir BOINC/ to avoid name-conflicts
|
|
|
|
includedir = ${prefix}/include/BOINC/
|
|
|
|
|
2004-12-04 00:56:22 +00:00
|
|
|
## install only headers that are meant for exporting the API !!
|
|
|
|
include_HEADERS = \
|
|
|
|
boinc_api.h \
|
|
|
|
graphics_api.h \
|
2004-12-12 12:19:42 +00:00
|
|
|
gutil.h \
|
|
|
|
grahpics_lib.h \
|
|
|
|
graphics_impl.h
|
2004-12-04 00:56:22 +00:00
|
|
|
|
2003-10-13 21:29:42 +00:00
|
|
|
|
2003-10-15 19:08:51 +00:00
|
|
|
.PHONY: nographics
|
|
|
|
nographics:
|
|
|
|
touch libboinc_graphics_api.a $(libboinc_graphics_api_a_OBJECTS)
|
2003-08-19 00:54:49 +00:00
|
|
|
|
2003-06-06 19:00:42 +00:00
|
|
|
EXTRA_PROGRAMS = api_app api_test
|
|
|
|
|
2004-11-02 23:12:29 +00:00
|
|
|
api_app_SOURCES = api_app.C boinc_api.C ../lib/parse.C
|
2003-06-06 19:00:42 +00:00
|
|
|
api_test_SOURCES = boinc_api.C api_test.C ../lib/parse.C
|
2003-10-15 19:08:51 +00:00
|
|
|
|