From 9fcaf6786dedd5ddd4f4626e3b2caee82ea4d984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20=E2=80=9CCyberTailor=E2=80=9D?= Date: Wed, 10 Nov 2021 00:20:36 +0500 Subject: [PATCH] Add libboinc_opencl.pc pkg-config file --- api/Makefile.am | 1 + api/libboinc_opencl.pc.in | 13 +++++++++++++ configure.ac | 1 + 3 files changed, 15 insertions(+) create mode 100644 api/libboinc_opencl.pc.in diff --git a/api/Makefile.am b/api/Makefile.am index 51092568cf..342e034343 100644 --- a/api/Makefile.am +++ b/api/Makefile.am @@ -55,6 +55,7 @@ libboinc_graphics2_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) -ljpeg endif #BUILD_GRAPHICS_API lib_LTLIBRARIES += libboinc_opencl.la +pkgconfig_DATA += libboinc_opencl.pc libboinc_opencl_la_SOURCES = $(opencl_files) libboinc_opencl_la_LDFLAGS = -version-number $(LIBBOINC_VERSION) diff --git a/api/libboinc_opencl.pc.in b/api/libboinc_opencl.pc.in new file mode 100644 index 0000000000..5050acd700 --- /dev/null +++ b/api/libboinc_opencl.pc.in @@ -0,0 +1,13 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: boinc_opencl +Description: BOINC OpenCL API +Version: @PACKAGE_VERSION@ +URL: https://boinc.berkeley.edu/trac/wiki/OpenclApps + +Cflags: -I${includedir}/boinc +Cflags.private: @GLUT_CFLAGS@ +Libs: -L${libdir} -lboinc_opencl diff --git a/configure.ac b/configure.ac index ec2b0cbd7a..c0cc4459a7 100644 --- a/configure.ac +++ b/configure.ac @@ -1340,6 +1340,7 @@ AC_CONFIG_FILES([ api/Makefile api/libboinc_api.pc api/libboinc_graphics2.pc + api/libboinc_opencl.pc apps/Makefile clientgui/Makefile clientgui/res/Makefile