]> git.sur5r.net Git - ngadmin/commitdiff
Lib: provide libngadmin.pc
authordarkcoven <admin@darkcoven.tk>
Mon, 7 Oct 2013 20:20:23 +0000 (22:20 +0200)
committerdarkcoven <admin@darkcoven.tk>
Mon, 7 Oct 2013 20:20:23 +0000 (22:20 +0200)
.gitignore
configure.ac
lib/src/Makefile.am
lib/src/libngadmin.pc.in [new file with mode: 0644]

index 4c5b25804e3f6e0dd273d169cd61ef769e1ac983..3fdd61b6320febf7dca8102c24917bfc734c1f77 100644 (file)
@@ -5,6 +5,7 @@
 *.so
 *.a
 *.la
+*.pc
 ngcli
 ngspy
 lib/doc/
index ff5d01905cf2a2ba51460de988db07709342760d..eeafab3a7ce657fbeed0e170679384b29d85a466 100644 (file)
@@ -97,6 +97,7 @@ AC_CONFIG_FILES([
        lib/Makefile
        lib/include/Makefile
        lib/src/Makefile
+       lib/src/libngadmin.pc
        cli/Makefile
        cli/man/Makefile
        cli/src/Makefile
index 11c6d349d819cb92d8702e80a9a12de98fc3c965..58371abda272d2b7024ae9d883628cab4207f71b 100644 (file)
@@ -1,4 +1,7 @@
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libngadmin.pc
+
 lib_LTLIBRARIES = libngadmin.la
 
 libngadmin_la_SOURCES = network.c bitrate.c firmware.c libconf.c mirror.c misc.c \
diff --git a/lib/src/libngadmin.pc.in b/lib/src/libngadmin.pc.in
new file mode 100644 (file)
index 0000000..3655f66
--- /dev/null
@@ -0,0 +1,13 @@
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libngadmin
+Description: Library to manage Netgear switches using NSDP protocol
+Version: @VERSION@
+Requires: 
+Libs: -L${libdir} -lngadmin
+Cflags: -I${includedir}
+