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