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-06-18 09:05:15 +00:00
|
|
|
boinc_api.C \
|
|
|
|
../lib/app_ipc.C \
|
|
|
|
../lib/base64.C \
|
|
|
|
../lib/diagnostics.C \
|
|
|
|
../lib/exception.C \
|
|
|
|
../lib/parse.C \
|
|
|
|
../lib/shmem.C \
|
2004-03-29 06:14:22 +00:00
|
|
|
../lib/util.C
|
2003-06-11 22:42:42 +00:00
|
|
|
|
2004-10-18 01:54:28 +00:00
|
|
|
graphics_api_files = \
|
|
|
|
x_opengl.C \
|
|
|
|
graphics_data.C \
|
|
|
|
graphics_api.C \
|
|
|
|
reduce.C \
|
|
|
|
gutil.C
|
|
|
|
|
|
|
|
lib_LIBRARIES = libboinc_api.a libboinc_graphics_api.a
|
|
|
|
|
|
|
|
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-10-18 01:54:28 +00:00
|
|
|
|
|
|
|
## install header-files with prefix-subdir BOINC/ to avoid name-conflicts
|
|
|
|
includedir = ${prefix}/include/BOINC/
|
|
|
|
|
|
|
|
## FIXME: currently we install ALL header-files: please remove those not needed!
|
|
|
|
include_HEADERS = \
|
|
|
|
boinc_api.h \
|
|
|
|
boinc_gl.h \
|
|
|
|
graphics_api.h \
|
|
|
|
graphics_data.h \
|
|
|
|
gutil.h \
|
|
|
|
reduce.h \
|
|
|
|
x_opengl.h
|
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
|
|
|
|