Commit Graph

22 Commits

Author SHA1 Message Date
illiliti b8a0b953e6 Revert "Makefile: add stub symbol versioning"
This reverts commit 000ff7bf2f.
2021-11-16 16:17:40 +03:00
illiliti 000ff7bf2f Makefile: add stub symbol versioning
Fixes: #38
2021-09-08 21:44:45 +03:00
Naoto Yamaguchi eb30a8bc85 Fix install error at make install
At db72f8610d is missing change in Makefile.
This err was reporting at bkuhls.
This patch fix it.
2021-06-09 08:37:50 +00:00
Naoto Yamaguchi 75a40e1040 Add license information to source files
Current libudev-zero source code doesn't have license information in source files.
This patch add license information to source files based on SPDX standard.
2021-06-05 07:38:25 +00:00
Naoto Yamaguchi db72f8610d Fix building library name from libudev.so to libudev.so.1
Currently, "-soname" set at "libudev.so.1", but building library file name was "libudev.so".
Typical shared library structure as a follow;
  libudev.so -> libudev.so.1
  libudev.so.1
Current installation is reversed.

This patch fix this.
2021-06-05 07:38:25 +00:00
Naoto Yamaguchi def1a43f53 Add PKGCONFIGDIR for installation
Ubuntu/Debian style file placement are ;
 No.1 libudev.so and libudev.so.1 in /lib or /lib/arch/
 No.2 libudev.h in /usr/include
 No.3 libudev.pc in /usr/lib/pkgconfig or /usr/lib/arch/pkgconfig

Current Makefile can install No.1 and No.2 pattern by
"make PREFIX=/usr LIBDIR=/lib INCLUDEDIR=/usr/include install",
but it can't install No.3 pattern.

This patch added PKGCONFIGDIR environment variable to achieve all install pattern by
"make PREFIX=/usr LIBDIR=/lib INCLUDEDIR=/usr/include PKGCONFIGDIR=/usr/lib install"
2021-06-05 07:38:25 +00:00
illiliti b82f9d9e4f udev.c: move udev_hwdb here 2021-06-03 11:35:08 +03:00
Ethan Sommer 5cebefbc85 libudev.pc: add prefix and exec_prefix support 2020-11-04 14:48:17 -05:00
illiliti 7cdcebdf58 drop libudev.pc from all 2020-09-15 01:49:49 +03:00
illiliti 6e6fe8652c drop chmod 2020-08-24 17:11:42 +03:00
illiliti e988d6f67c implement pthreads
before - 3.870 total
after  - 2.964 total

not really big difference, huh ?
2020-07-28 13:05:51 +03:00
illiliti 28ff928699 split 2020-07-25 16:23:46 +03:00
illiliti df1b1b4319 add CPPFLAGS 2020-07-18 18:28:33 +03:00
illiliti af7bbc8bec drop _POSIX_VERSION definition 2020-07-18 05:59:11 +03:00
illiliti 8a946ad9e6 drop UDEV_EXPORT 2020-07-18 05:15:00 +03:00
illiliti 20314c6256 add udev_hwdb 2020-07-17 07:53:32 +03:00
illiliti 82de2c9cf8 format 2020-07-14 03:19:35 +03:00
illiliti 0fe2371c0d add libudev.pc. thanks @E5ten 2020-07-10 20:59:25 +03:00
illiliti 944d249b40 fix makefile 2020-07-08 14:44:44 +03:00
illiliti a5b5667dce rewrite 2020-07-08 14:38:40 +03:00
illiliti bceae57798 formatting fixes 2020-07-04 10:18:24 +03:00
illiliti 7a09bb0557 init 2020-07-04 09:25:16 +03:00