src/check_progbuf.trs
src/progbuf.lo
src/test-suite.log
+src/libprogbuf.pc
test-driver
stamp-h1
.vscode/
-Ahmet Artu Yildirim
+- Ahmet Artu Yildirim (ahmet@artulab.com)
+- (2022-12-25) Generate pkg-config file
- (2022-12-24) Add a script to generate a ChangeLog file
- (2022-12-23) Add getter and setter to support nested message
- (2022-12-23) Add a unit test for raw getter and setter functions
+++ /dev/null
-#!/bin/sh
-
-./configure CPPFLAGS=-DDEBUG CFLAGS="-g -O0" && make
+++ /dev/null
-#!/bin/sh
-
-./configure && make
AC_PROG_CC
AM_PROG_AR
LT_INIT
+
+PKG_PROG_PKG_CONFIG
+PKG_INSTALLDIR
+
PKG_CHECK_MODULES([CHECK], [check])
+
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([
Makefile
src/Makefile
+ src/libprogbuf.pc:libprogbuf.pc.in
])
AC_OUTPUT
--- /dev/null
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libprogbuf
+Description: Library to serialize structured data in a programmatic way.
+Version: 1.0.0
+Libs: -L${libdir} -lprogbuf
+Cflags: -I${includedir}/libprogbuf
#!/bin/sh
-rm -rf aclocal.m4 config.sub configure depcomp m4 ar-lib compile config.guess config.h install-sh test-driver Makefile Makefile.in autom4te.cache config.h.in ltmain.sh missing libtool config.status config.log INSTALL stamp-h1 src/Makefile.in src/.libs src/.deps src/*.o src/Makefile src/libprogbuf.la src/progbuf.lo src/check_progbuf build config.h.in~
+rm -rf aclocal.m4 config.sub configure depcomp m4 ar-lib compile config.guess config.h install-sh test-driver Makefile Makefile.in autom4te.cache config.h.in ltmain.sh missing libtool config.status config.log INSTALL stamp-h1 src/Makefile.in src/.libs src/.deps src/*.o src/Makefile src/libprogbuf.la src/progbuf.lo src/check_progbuf src/test-suite.log src/libprogbuf_la-progbuf.lo src/check_progbuf.log src/check_progbuf.trs src/libprogbuf.pc build config.h.in~
lib_LTLIBRARIES = libprogbuf.la
libprogbuf_la_SOURCES = progbuf.c
-libprogbuf_la_LDFLAGS = -version-info 0:1:0
+libprogbuf_la_LDFLAGS = -version-info 1:0:0
libprogbuf_la_CFLAGS = -Wall -Wextra -Wpedantic -Werror
-include_HEADERS = progbuf.h
+
+pkginclude_HEADERS = progbuf.h
+pkgconfig_DATA = libprogbuf.pc
noinst_PROGRAMS = check_progbuf
TESTS = check_progbuf