9
0
Fork 0

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

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
Sylvain Munaut 2011-10-18 13:15:29 +02:00
parent 3a4c67b4bf
commit ca36f29364
3 changed files with 15 additions and 0 deletions

View File

@ -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

View File

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

11
libgtp.pc.in Normal file
View File

@ -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}/