Add libboinc_api.pc pkg-config file

This commit is contained in:
Anna “CyberTailor” 2021-11-10 00:19:00 +05:00
parent 319e2d5360
commit 05624c9a71
No known key found for this signature in database
GPG Key ID: E7B76EDC50864BB1
3 changed files with 15 additions and 0 deletions

View File

@ -42,6 +42,7 @@ AM_CXXFLAGS += @GLUT_CFLAGS@
endif
lib_LTLIBRARIES = libboinc_api.la
pkgconfig_DATA = libboinc_api.pc
libboinc_api_la_SOURCES = $(api_files)
libboinc_api_la_LDFLAGS = -version-number $(LIBBOINC_VERSION)

13
api/libboinc_api.pc.in Normal file
View File

@ -0,0 +1,13 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: boinc_api
Description: BOINC API
Version: @PACKAGE_VERSION@
URL: https://boinc.berkeley.edu/trac/wiki/BasicApi
Cflags: -I${includedir}/boinc
Cflags.private: @GLUT_CFLAGS@
Libs: -L${libdir} -lboinc_api

View File

@ -1338,6 +1338,7 @@ AC_SUBST(FULLNAME)
AC_CONFIG_FILES([
version.h
api/Makefile
api/libboinc_api.pc
apps/Makefile
clientgui/Makefile
clientgui/res/Makefile