/make.uuidgen.sh (c287b3b49e71fcab240f09cc2cbcda4ad689782d) (2326 bytes) (mode 100644) (type blob)
if test x$disable_dynamic = xno; then
################################################################################
sep_start;echo 'duuidgen:compile src files'
for uuidgen_src_file in $uuidgen_src_files
do
# build object names prefixed with 'd', like 'D'ynamic
duuidgen_o_file_name=$(basename $uuidgen_src_file .c)
duuidgen_o_file=$(dirname $uuidgen_src_file)/d${duuidgen_o_file_name}.o
echo "DBIN_CC $uuidgen_src_file-->$duuidgen_o_file"
mkdir -p -- $(dirname $duuidgen_o_file)
$dbin_cc -o $duuidgen_o_file \
-I./src \
-I$fake_root/$e_includedir \
-I$src_path/src/ \
-I$src_path/src/utils \
$src_path/$uuidgen_src_file
duuidgen_o_files="$duuidgen_o_file $duuidgen_o_files"
done
sep_end
#-------------------------------------------------------------------------------
mkdir -p -- $fake_root/${e_bindir}d
#-------------------------------------------------------------------------------
sep_start;echo 'duuidgen:link the object files to produce the dynamic binary'
echo "DBIN_CCLD uuidgen"
$dbin_ccld -o $fake_root/${e_bindir}d/uuidgen \
$duuidgen_o_files \
-L$fake_root/$e_libdir -luuid
sep_end
################################################################################
fi
if test x$disable_static = xno; then
################################################################################
sep_start;echo 'uuidgen:compile src files'
for uuidgen_src_file in $uuidgen_src_files
do
uuidgen_o_file=${uuidgen_src_file%.c}
uuidgen_o_file=${uuidgen_o_file}.o
echo "BIN_CC $uuidgen_src_file-->$uuidgen_o_file"
mkdir -p -- $(dirname $uuidgen_o_file)
$bin_cc -o $uuidgen_o_file \
-I./src \
-I$src_path/src/ \
-I$fake_root/$e_includedir \
-I$src_path/src/utils \
$src_path/$uuidgen_src_file
uuidgen_o_files="$uuidgen_o_file $uuidgen_o_files"
done
sep_end
#-------------------------------------------------------------------------------
mkdir -p -- $fake_root/$e_bindir
#-------------------------------------------------------------------------------
sep_start;echo 'uuidgen:link the object files to produce the static binary'
echo "BIN_CCLD uuidgen"
$bin_ccld -o $fake_root/$e_bindir/uuidgen \
$uuidgen_o_files \
$fake_root/$e_libdir/libuuid.a
sep_end
################################################################################
fi
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
24 |
20ff7cb125a29d358b42d1030371e16c440fbaa0 |
LICENSE |
100644 |
blob |
368 |
39e75084147df4dfd7e64db20a2d3ef5686f9526 |
README |
100644 |
blob |
972 |
28a207684ae607e311aa177f41a52f681e78391d |
libuuid.sym |
100755 |
blob |
7919 |
09f5414234482635076eab52d74453ec06d30e42 |
make |
100644 |
blob |
2525 |
8504b1cac2353489a30c795e432dc8825043a341 |
make.libuuid.sh |
100644 |
blob |
2326 |
c287b3b49e71fcab240f09cc2cbcda4ad689782d |
make.uuidgen.sh |
040000 |
tree |
- |
59b9cbf5951fc364e45bae1a731b67bf08471a8b |
src |
100644 |
blob |
210 |
5b554ec18480e2d4b170a844b901e18948e9e10e |
uuid.pc.in |
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/nyanuuid
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/sylware/nyanuuid
Clone this repository using git:
git clone git://git.rocketgit.com/user/sylware/nyanuuid
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