8
0
Fork 0

build: Add a proper pkgconfig libgtp.pc for the GTP library

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
osmo-ggsn
Sylvain Munaut 11 years ago
parent 3a4c67b4bf
commit ca36f29364
  1. 3
      Makefile.am
  2. 1
      configure.in
  3. 11
      libgtp.pc.in

@ -1,2 +1,5 @@
## Process this file with automake to produce Makefile.in
SUBDIRS = lib gtp ggsn sgsnemu doc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libgtp.pc

@ -115,5 +115,6 @@ AC_CONFIG_FILES([Makefile
sgsnemu/Makefile
src/Makefile
tests/Makefile
libgtp.pc
openggsn.spec])
AC_OUTPUT

@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: OpenGGSN STP Library
Description: C Utility Library
Version: @VERSION@
Libs: -L${libdir} -lgtp
Cflags: -I${includedir}/