/make.libudev.sh (307eda511fd9f87338d1cb44a7a920beee7e9d79) (1340 bytes) (mode 100644) (type blob)
################################################################################
sep_start;echo 'libudev:compile src files'
for libudev_src_file in $libudev_src_files
do
libudev_o_file_name=$(basename $libudev_src_file .c)
libudev_o_file=$(dirname $libudev_src_file)/${libudev_o_file_name}.o
echo "LIBUDEV_CC $libudev_src_file-->$libudev_o_file"
$libudev_cc -o $libudev_o_file \
-D_GNU_SOURCE \
$INTERNAL_CPPFLAGS \
-I. \
-I$src_path \
$src_path/src/$libudev_src_file
libudev_o_files="$libudev_o_file $libudev_o_files"
done
sep_end
#-------------------------------------------------------------------------------
sep_start;echo 'libudev:link the object files to produce the dynamically linked shared library '
echo "LIBUDEV_CCLD libudev.so.${libudev_api}.0.0"
mkdir -p -- $fake_root$e_libdir
$libudev_ccld -o $fake_root$e_libdir/libudev.so.${libudev_api}.0.0 \
-Wl,--version-script=$src_path/src/libudev.sym \
$libudev_o_files
ln -s libudev.so.${libudev_api}.0.0 $fake_root$e_libdir/libudev.so.${libudev_api}
ln -s libudev.so.${libudev_api} $fake_root$e_libdir/libudev.so
sep_end
################################################################################
sep_start;echo 'libudev:fake installing headers'
mkdir -p -- $fake_root$e_includedir
cp -f $src_path/src/libudev.h $fake_root$e_includedir
sep_end
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
18092 |
d159169d1050894d3ea3b98e1c965c4058208fe1 |
COPYING-GPL |
100644 |
blob |
26525 |
d2e31278b0ee6fef16025fe44061062ad9acece4 |
COPYING-LGPL |
100644 |
blob |
6035 |
c1a2782caf56be5ae9fc1dbafe0568a99edbb78b |
README |
100644 |
blob |
14 |
2430e121d55dea637b402ee33da9b2b9d2b7553e |
TODO |
100755 |
blob |
10096 |
e770b37da1d18f6a5f1f255435a538a020467992 |
make |
100644 |
blob |
1340 |
307eda511fd9f87338d1cb44a7a920beee7e9d79 |
make.libudev.sh |
100644 |
blob |
2995 |
850cc113476c3d734d6c63ce5e4b690b73a9a31b |
make.udevd.sh |
040000 |
tree |
- |
1e20d200b76becb71a8bc5bd8d56381c2ed3cd8f |
rules |
040000 |
tree |
- |
6855eb6c4e5205055b820aae4e3b0e26400707d9 |
src |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/sylware/mudev
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/mudev
Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/mudev
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main