diff options
| -rw-r--r-- | Makefile.am | 3 | ||||
| -rw-r--r-- | configure.ac | 1 | ||||
| -rw-r--r-- | libusbmuxd-1.0.pc.in | 12 |
3 files changed, 16 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 43dc592..12e6a35 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | SUBDIRS = src udev tools | 1 | SUBDIRS = src udev tools |
| 2 | 2 | ||
| 3 | pkgconfigdir = $(libdir)/pkgconfig | ||
| 4 | pkgconfig_DATA = libusbmuxd-1.0.pc | ||
| 5 | |||
| 3 | indent: | 6 | indent: |
| 4 | indent -kr -ut -ts4 -l120 src/*.c src/*.h tools/*.c | 7 | indent -kr -ut -ts4 -l120 src/*.c src/*.h tools/*.c |
| 5 | 8 | ||
diff --git a/configure.ac b/configure.ac index 7c54416..ef9cbdd 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -25,4 +25,5 @@ Makefile | |||
| 25 | src/Makefile | 25 | src/Makefile |
| 26 | tools/Makefile | 26 | tools/Makefile |
| 27 | udev/Makefile | 27 | udev/Makefile |
| 28 | libusbmuxd-1.0.pc | ||
| 28 | ]) | 29 | ]) |
diff --git a/libusbmuxd-1.0.pc.in b/libusbmuxd-1.0.pc.in new file mode 100644 index 0000000..84c5027 --- /dev/null +++ b/libusbmuxd-1.0.pc.in | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | prefix=@prefix@ | ||
| 2 | exec_prefix=@exec_prefix@ | ||
| 3 | libdir=@libdir@ | ||
| 4 | includedir=@includedir@ | ||
| 5 | |||
| 6 | Name: libusbmuxd | ||
| 7 | Description: A library to communicate with the usbmux daemon | ||
| 8 | Version: @VERSION@ | ||
| 9 | Requires: libusb >= 0.1.12 | ||
| 10 | Libs: -L${libdir} -lusbmuxd | ||
| 11 | Cflags: -I${includedir} | ||
| 12 | |||
