Sync from SUSE:SLFO:Main augeas revision 235683e91ce59146445fa49d591f14e1
This commit is contained in:
commit
8c31b48232
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
BIN
augeas-1.14.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
augeas-1.14.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
24
augeas-modprobe-lense.patch
Normal file
24
augeas-modprobe-lense.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff --git a/lenses/modprobe.aug b/lenses/modprobe.aug
|
||||
index bd897b9..d96f902 100644
|
||||
--- a/lenses/modprobe.aug
|
||||
+++ b/lenses/modprobe.aug
|
||||
@@ -73,6 +73,11 @@ let blacklist = Build.key_value_line_comment "blacklist" sep_space
|
||||
sto_no_spaces
|
||||
comment
|
||||
|
||||
+(* View: allow_unsupported_modules *)
|
||||
+let allow_unsupported_modules = Build.key_value_line_comment "allow_unsupported_modules" sep_space
|
||||
+ sto_no_spaces
|
||||
+ comment
|
||||
+
|
||||
(* View: config *)
|
||||
let config = Build.key_value_line_comment "config" sep_space
|
||||
(store /binary_indexes|yes|no/)
|
||||
@@ -92,6 +97,7 @@ let entry = alias
|
||||
| options
|
||||
| kv_line_command /install|remove/
|
||||
| blacklist
|
||||
+ | allow_unsupported_modules
|
||||
| config
|
||||
| softdep
|
||||
|
1513
augeas.changes
Normal file
1513
augeas.changes
Normal file
File diff suppressed because it is too large
Load Diff
111
augeas.keyring
Normal file
111
augeas.keyring
Normal file
@ -0,0 +1,111 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
mQGiBD1v+J8RBACWqKYvsYQtvapato4hAd6f3Lnpt9xdJMBPvfmRaPc7mj/hKp4m
|
||||
w0Rhb/obj+TmJyY9blcNF+FPcii6qOjpZfEP8eoBA9Q+DO+oKEetyVH1xaDfalVs
|
||||
QJhSKNJ4VG7S+nZ4UBRs6FZWHo/lOnP4qZQHD1Y1/2x48ocWuVcGgdmX7wCgmoXl
|
||||
hHGs8Bm9wUOWZo0aeFcKBHUEAIcSNjKBCGMRUah304qLbVWvLRIj6tyRMK7v7znz
|
||||
mZcft318FibhbcSYHLes6l0wx7lOqXNiQVQY/T0hG+AyOvALKILqaNkxaNVXh/F0
|
||||
M+ydYlWCaq5qnTQLeLzgD41Sfd5ZBLGFIy/Up/sxG2UtXevBmwdQ+rCndc3L7Pr0
|
||||
jPYZA/43/GfAZmjlYGsfM5oT7XCTU1gjvu5vEX95BxihOpxXIMmNsFbvD8/UlUzi
|
||||
iK1t4BkThEo4901T/UisobF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2ikH/iwI
|
||||
1kiphWvmyR0cQW1HLpgB17sI9+XJZ3wCQMzTNseqGyEOvy75v/Q/E1WmnJqTZbM8
|
||||
K9kjyO51kh8Vlh0l31jKEwmNlukGMxVz+FSrwP4oX/mHeV/PqoWR/WsuzRNC19So
|
||||
sjH7cNhXc8IPCMi+2Uf+pUPWB5ti8m7/Q4N3sYZ5fASfFidi2JL8sAV+JaFe9H2c
|
||||
pOeYQuSpCW7zsCwJcNJxantqsjvxiVGtwI8xt9S9el0NN7EuBJzw50Dh1kzwmyUi
|
||||
Dq6qBJY483B00w4IsB+tLsTYaVhssJqQmk1C5GW1pIOdU/ZSvV4lF/hrsIPsvY9W
|
||||
+rQgx/CwO7xyrABhoMJXcgCfQ9nul6Bu7D5ObeQCYEEAxScvf1IAn1pwe/F7fUpf
|
||||
SQtC9JT3ltp7QaXc
|
||||
=4JHa
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
184
augeas.spec
Normal file
184
augeas.spec
Normal file
@ -0,0 +1,184 @@
|
||||
#
|
||||
# spec file for package augeas
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: augeas
|
||||
Version: 1.14.1
|
||||
Release: 0
|
||||
Summary: An utility for changing configuration files
|
||||
License: LGPL-2.1-or-later
|
||||
Group: System/Shells
|
||||
URL: https://augeas.net/
|
||||
Source0: https://github.com/hercules-team/augeas/releases/download/release-%{version}/%{name}-%{version}.tar.gz
|
||||
Source2: %{name}.keyring
|
||||
Source3: baselibs.conf
|
||||
Patch0: augeas-modprobe-lense.patch
|
||||
# from https://patch-diff.githubusercontent.com/raw/hercules-team/augeas/pull/755.patch
|
||||
Patch1: gcc9-disable-broken-test.patch
|
||||
BuildRequires: glibc-locale
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
|
||||
%description
|
||||
An utility for programmatically editing configuration files. Augeas
|
||||
parses configuration files into a tree structure.
|
||||
|
||||
The transformation works very hard to preserve comments and formatting
|
||||
details. It is controlled by ``lens'' definitions that describe the
|
||||
file format and the transformation into a tree.
|
||||
|
||||
%package devel
|
||||
Summary: A library for changing configuration files
|
||||
Group: System/Shells
|
||||
Requires: libaugeas0 = %{version}
|
||||
Requires: libfa1 = %{version}
|
||||
|
||||
%description devel
|
||||
A library for programmatically editing configuration files. Augeas
|
||||
parses configuration files into a tree structure, which it exposes
|
||||
through its public API. Changes made through the API are written back
|
||||
to the initially read files.
|
||||
|
||||
%package -n libaugeas0
|
||||
Summary: A library for changing configuration files
|
||||
Group: System/Shells
|
||||
Recommends: %{name}-lenses = %{version}
|
||||
|
||||
%description -n libaugeas0
|
||||
A library for programmatically editing configuration files. Augeas
|
||||
parses configuration files into a tree structure, which it exposes
|
||||
through its public API. Changes made through the API are written back
|
||||
to the initially read files.
|
||||
|
||||
The transformation works very hard to preserve comments and formatting
|
||||
details. It is controlled by ``lens'' definitions that describe the
|
||||
file format and the transformation into a tree.
|
||||
|
||||
%package -n libfa1
|
||||
Summary: Finite automaton library for Augeas
|
||||
Group: System/Shells
|
||||
|
||||
%description -n libfa1
|
||||
Component library for the Augeas configuration parser.
|
||||
|
||||
%package lenses
|
||||
Summary: Official set of lenses for use by libaugeas
|
||||
Group: System/Shells
|
||||
Requires: libaugeas0 = %{version}
|
||||
|
||||
%description lenses
|
||||
Augeas parses configuration files described in lenses into a tree
|
||||
structure, which it exposes through its public API. Lenses are the
|
||||
building blocks of the file <-> tree transformation. The transformation
|
||||
is controlled by ``lens'' definitions that describe the file format and
|
||||
mapping of its contents into a tree. This package includes the official
|
||||
set of lenses.
|
||||
|
||||
%package lense-tests
|
||||
Summary: Set of tests for official Augeas lenses
|
||||
Group: System/Shells
|
||||
Requires: %{name}-lenses = %{version}
|
||||
|
||||
%description lense-tests
|
||||
Set of tests for official Augeas lenses. These can be used when
|
||||
modifying the official lenses, or when creating new ones.
|
||||
|
||||
%package bash-completion
|
||||
Summary: Bash completion for augeas
|
||||
Group: System/Shells
|
||||
Requires: %{name}
|
||||
Requires: bash-completion
|
||||
%if 0%{?suse_version} >= 1500
|
||||
Supplements: (%{name} and bash-completion)
|
||||
%else
|
||||
Supplements: packageand(%{name}:bash-completion)
|
||||
%endif
|
||||
|
||||
%description bash-completion
|
||||
bash command line completion support for augeas.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-static \
|
||||
--disable-silent-rules \
|
||||
--disable-rpath
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
# move vim files to the right location
|
||||
mv %{buildroot}/%{_datadir}/vim/vimfiles %{buildroot}/%{_datadir}/vim/site
|
||||
|
||||
%check
|
||||
# This causes a >20x slowdown otherwise (boo#1201884)
|
||||
unset MALLOC_PERTURB_
|
||||
%make_build check
|
||||
|
||||
%post -n libaugeas0 -p /sbin/ldconfig
|
||||
%postun -n libaugeas0 -p /sbin/ldconfig
|
||||
%post -n libfa1 -p /sbin/ldconfig
|
||||
%postun -n libfa1 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS
|
||||
%{_bindir}/augmatch
|
||||
%{_bindir}/augtool
|
||||
%{_bindir}/augparse
|
||||
%{_bindir}/augprint
|
||||
%{_bindir}/fadot
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%files -n libaugeas0
|
||||
%{_libdir}/libaugeas.so.*
|
||||
|
||||
%files -n libfa1
|
||||
%{_libdir}/libfa.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/augeas.pc
|
||||
# vim support files
|
||||
%dir %{_datadir}/vim
|
||||
%dir %{_datadir}/vim/site
|
||||
%dir %{_datadir}/vim/site/ftdetect
|
||||
%{_datadir}/vim/site/ftdetect/augeas.vim
|
||||
%dir %{_datadir}/vim/site/syntax
|
||||
%{_datadir}/vim/site/syntax/augeas.vim
|
||||
|
||||
%files lenses
|
||||
%dir %{_datadir}/%{name}
|
||||
%dir %{_datadir}/%{name}/lenses
|
||||
%dir %{_datadir}/%{name}/lenses/dist
|
||||
%{_datadir}/%{name}/lenses/dist/*.aug
|
||||
|
||||
%files lense-tests
|
||||
%dir %{_datadir}/%{name}/lenses/dist/tests
|
||||
%{_datadir}/%{name}/lenses/dist/tests/*.aug
|
||||
|
||||
%files bash-completion
|
||||
%{_datadir}/bash-completion/completions/augmatch
|
||||
%{_datadir}/bash-completion/completions/augprint
|
||||
%{_datadir}/bash-completion/completions/augtool
|
||||
|
||||
%changelog
|
6
baselibs.conf
Normal file
6
baselibs.conf
Normal file
@ -0,0 +1,6 @@
|
||||
libaugeas0
|
||||
libfa1
|
||||
augeas-devel
|
||||
requires -augeas-<targettype>
|
||||
requires "libaugeas0-<targettype> = <version>"
|
||||
requires "libfa1-<targettype> = <version>"
|
198
gcc9-disable-broken-test.patch
Normal file
198
gcc9-disable-broken-test.patch
Normal file
@ -0,0 +1,198 @@
|
||||
---
|
||||
gnulib/tests/Makefile.in | 52 +++++++++--------------------------------------
|
||||
1 file changed, 10 insertions(+), 42 deletions(-)
|
||||
|
||||
--- a/gnulib/tests/Makefile.in
|
||||
+++ b/gnulib/tests/Makefile.in
|
||||
@@ -136,7 +136,7 @@ TESTS = test-accept$(EXEEXT) test-alloca
|
||||
test-isblank$(EXEEXT) test-langinfo$(EXEEXT) \
|
||||
test-limits-h$(EXEEXT) test-listen$(EXEEXT) \
|
||||
test-locale$(EXEEXT) test-localeconv$(EXEEXT) \
|
||||
- test-localename$(EXEEXT) test-rwlock1$(EXEEXT) \
|
||||
+ test-localename$(EXEEXT) \
|
||||
test-lock$(EXEEXT) test-once1$(EXEEXT) test-once2$(EXEEXT) \
|
||||
test-lstat$(EXEEXT) test-malloc-gnu$(EXEEXT) \
|
||||
test-malloca$(EXEEXT) test-mbrtowc1.sh test-mbrtowc2.sh \
|
||||
@@ -176,7 +176,7 @@ TESTS = test-accept$(EXEEXT) test-alloca
|
||||
test-sys_stat$(EXEEXT) test-sys_time$(EXEEXT) \
|
||||
test-sys_types$(EXEEXT) test-sys_uio$(EXEEXT) \
|
||||
test-sys_wait$(EXEEXT) test-init.sh test-thread_self$(EXEEXT) \
|
||||
- test-thread_create$(EXEEXT) test-time$(EXEEXT) \
|
||||
+ test-time$(EXEEXT) \
|
||||
test-unistd$(EXEEXT) test-unsetenv$(EXEEXT) \
|
||||
test-usleep$(EXEEXT) test-vasnprintf$(EXEEXT) \
|
||||
test-vasprintf$(EXEEXT) test-verify$(EXEEXT) test-verify.sh \
|
||||
@@ -212,7 +212,7 @@ check_PROGRAMS = test-accept$(EXEEXT) te
|
||||
test-langinfo$(EXEEXT) test-limits-h$(EXEEXT) \
|
||||
test-listen$(EXEEXT) test-locale$(EXEEXT) \
|
||||
test-localeconv$(EXEEXT) test-localename$(EXEEXT) \
|
||||
- test-rwlock1$(EXEEXT) test-lock$(EXEEXT) test-once1$(EXEEXT) \
|
||||
+ test-lock$(EXEEXT) test-once1$(EXEEXT) \
|
||||
test-once2$(EXEEXT) test-lstat$(EXEEXT) \
|
||||
test-malloc-gnu$(EXEEXT) test-malloca$(EXEEXT) \
|
||||
test-mbrtowc$(EXEEXT) test-mbrtowc-w32$(EXEEXT) \
|
||||
@@ -248,7 +248,7 @@ check_PROGRAMS = test-accept$(EXEEXT) te
|
||||
test-sys_stat$(EXEEXT) test-sys_time$(EXEEXT) \
|
||||
test-sys_types$(EXEEXT) test-sys_uio$(EXEEXT) \
|
||||
test-sys_wait$(EXEEXT) test-thread_self$(EXEEXT) \
|
||||
- test-thread_create$(EXEEXT) test-time$(EXEEXT) \
|
||||
+ test-time$(EXEEXT) \
|
||||
test-unistd$(EXEEXT) test-unsetenv$(EXEEXT) \
|
||||
test-usleep$(EXEEXT) test-vasnprintf$(EXEEXT) \
|
||||
test-vasprintf$(EXEEXT) test-verify$(EXEEXT) \
|
||||
@@ -1023,9 +1023,6 @@ test_regex_SOURCES = test-regex.c
|
||||
test_regex_OBJECTS = test-regex.$(OBJEXT)
|
||||
test_regex_DEPENDENCIES = $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1) \
|
||||
$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
|
||||
-test_rwlock1_SOURCES = test-rwlock1.c
|
||||
-test_rwlock1_OBJECTS = test-rwlock1.$(OBJEXT)
|
||||
-test_rwlock1_DEPENDENCIES = $(am__DEPENDENCIES_2)
|
||||
test_safe_alloc_SOURCES = test-safe-alloc.c
|
||||
test_safe_alloc_OBJECTS = test-safe-alloc.$(OBJEXT)
|
||||
test_safe_alloc_LDADD = $(LDADD)
|
||||
@@ -1247,9 +1244,6 @@ test_sys_wait_LDADD = $(LDADD)
|
||||
test_sys_wait_DEPENDENCIES = libtests.a ../../gnulib/lib/libgnu.la \
|
||||
libtests.a ../../gnulib/lib/libgnu.la libtests.a \
|
||||
$(am__DEPENDENCIES_1)
|
||||
-test_thread_create_SOURCES = test-thread_create.c
|
||||
-test_thread_create_OBJECTS = test-thread_create.$(OBJEXT)
|
||||
-test_thread_create_DEPENDENCIES = $(am__DEPENDENCIES_2)
|
||||
test_thread_self_SOURCES = test-thread_self.c
|
||||
test_thread_self_OBJECTS = test-thread_self.$(OBJEXT)
|
||||
test_thread_self_DEPENDENCIES = $(am__DEPENDENCIES_2)
|
||||
@@ -1486,7 +1480,7 @@ SOURCES = $(libtests_a_SOURCES) $(EXTRA_
|
||||
test-pthread-thread.c test-pthread_sigmask1.c \
|
||||
test-pthread_sigmask2.c test-raise.c test-rawmemchr.c \
|
||||
test-readlink.c test-realloc-gnu.c test-reallocarray.c \
|
||||
- test-regex.c test-rwlock1.c test-safe-alloc.c test-sched.c \
|
||||
+ test-regex.c test-safe-alloc.c test-sched.c \
|
||||
$(test_scratch_buffer_SOURCES) test-select.c test-select-fd.c \
|
||||
test-select-stdin.c test-setenv.c test-setlocale1.c \
|
||||
test-setlocale2.c test-setlocale_null.c \
|
||||
@@ -1499,7 +1493,7 @@ SOURCES = $(libtests_a_SOURCES) $(EXTRA_
|
||||
test-strstr.c test-symlink.c test-sys_ioctl.c \
|
||||
test-sys_random.c test-sys_select.c test-sys_socket.c \
|
||||
test-sys_stat.c test-sys_time.c test-sys_types.c \
|
||||
- test-sys_uio.c test-sys_wait.c test-thread_create.c \
|
||||
+ test-sys_uio.c test-sys_wait.c \
|
||||
test-thread_self.c test-time.c test-unistd.c test-unsetenv.c \
|
||||
test-usleep.c test-vasnprintf.c test-vasprintf.c test-verify.c \
|
||||
test-verify-try.c test-wchar.c test-wcrtomb.c \
|
||||
@@ -1531,7 +1525,7 @@ DIST_SOURCES = $(am__libtests_a_SOURCES_
|
||||
test-pthread-thread.c test-pthread_sigmask1.c \
|
||||
test-pthread_sigmask2.c test-raise.c test-rawmemchr.c \
|
||||
test-readlink.c test-realloc-gnu.c test-reallocarray.c \
|
||||
- test-regex.c test-rwlock1.c test-safe-alloc.c test-sched.c \
|
||||
+ test-regex.c test-safe-alloc.c test-sched.c \
|
||||
$(test_scratch_buffer_SOURCES) test-select.c test-select-fd.c \
|
||||
test-select-stdin.c test-setenv.c test-setlocale1.c \
|
||||
test-setlocale2.c test-setlocale_null.c \
|
||||
@@ -1544,7 +1538,7 @@ DIST_SOURCES = $(am__libtests_a_SOURCES_
|
||||
test-strstr.c test-symlink.c test-sys_ioctl.c \
|
||||
test-sys_random.c test-sys_select.c test-sys_socket.c \
|
||||
test-sys_stat.c test-sys_time.c test-sys_types.c \
|
||||
- test-sys_uio.c test-sys_wait.c test-thread_create.c \
|
||||
+ test-sys_uio.c test-sys_wait.c \
|
||||
test-thread_self.c test-time.c test-unistd.c test-unsetenv.c \
|
||||
test-usleep.c test-vasnprintf.c test-vasprintf.c test-verify.c \
|
||||
test-verify-try.c test-wchar.c test-wcrtomb.c \
|
||||
@@ -3144,7 +3138,7 @@ EXTRA_DIST = w32sock.h test-accept.c sig
|
||||
test-listen.c signature.h macros.h test-localcharset.c \
|
||||
test-locale.c test-localeconv.c signature.h macros.h \
|
||||
localename-table.h localename.h test-localename.c macros.h \
|
||||
- test-rwlock1.c test-lock.c test-once.c atomic-int-gnulib.h \
|
||||
+ test-lock.c test-once.c atomic-int-gnulib.h \
|
||||
test-lstat.h test-lstat.c signature.h macros.h \
|
||||
test-malloc-gnu.c macros.h test-malloca.c test-mbrtowc1.sh \
|
||||
test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
|
||||
@@ -3196,7 +3190,7 @@ EXTRA_DIST = w32sock.h test-accept.c sig
|
||||
test-sys_socket.c test-sys_stat.c sys_time.in.h \
|
||||
test-sys_time.c test-sys_types.c sys_uio.in.h test-sys_uio.c \
|
||||
test-sys_wait.c test-sys_wait.h init.sh test-init.sh \
|
||||
- thread-optim.h test-thread_self.c test-thread_create.c \
|
||||
+ thread-optim.h test-thread_self.c \
|
||||
macros.h test-time.c test-unistd.c test-unsetenv.c signature.h \
|
||||
macros.h test-usleep.c signature.h macros.h test-vasnprintf.c \
|
||||
macros.h test-vasprintf.c signature.h macros.h test-verify.c \
|
||||
@@ -3287,7 +3281,6 @@ test_inet_pton_LDADD = $(LDADD) @INET_PT
|
||||
test_listen_LDADD = $(LDADD) @LIBSOCKET@
|
||||
test_localcharset_LDADD = $(LDADD) $(LIB_SETLOCALE)
|
||||
test_localename_LDADD = $(LDADD) $(LIB_SETLOCALE) @INTL_MACOSX_LIBS@ $(LIBTHREAD)
|
||||
-test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
|
||||
test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@ @LIB_SEMAPHORE@
|
||||
test_once1_SOURCES = test-once.c
|
||||
test_once1_LDADD = $(LDADD) @LIBTHREAD@
|
||||
@@ -3337,7 +3330,6 @@ test_sockets_LDADD = $(LDADD) @LIBSOCKET
|
||||
test_stat_LDADD = $(LDADD) $(LIBINTL)
|
||||
test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP)
|
||||
test_thread_self_LDADD = $(LDADD) @LIBTHREAD@
|
||||
-test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@
|
||||
test_wcrtomb_LDADD = $(LDADD) $(LIB_SETLOCALE)
|
||||
all: $(BUILT_SOURCES)
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
@@ -3763,10 +3755,6 @@ test-regex$(EXEEXT): $(test_regex_OBJECT
|
||||
@rm -f test-regex$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(test_regex_OBJECTS) $(test_regex_LDADD) $(LIBS)
|
||||
|
||||
-test-rwlock1$(EXEEXT): $(test_rwlock1_OBJECTS) $(test_rwlock1_DEPENDENCIES) $(EXTRA_test_rwlock1_DEPENDENCIES)
|
||||
- @rm -f test-rwlock1$(EXEEXT)
|
||||
- $(AM_V_CCLD)$(LINK) $(test_rwlock1_OBJECTS) $(test_rwlock1_LDADD) $(LIBS)
|
||||
-
|
||||
test-safe-alloc$(EXEEXT): $(test_safe_alloc_OBJECTS) $(test_safe_alloc_DEPENDENCIES) $(EXTRA_test_safe_alloc_DEPENDENCIES)
|
||||
@rm -f test-safe-alloc$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(test_safe_alloc_OBJECTS) $(test_safe_alloc_LDADD) $(LIBS)
|
||||
@@ -3935,10 +3923,6 @@ test-sys_wait$(EXEEXT): $(test_sys_wait_
|
||||
@rm -f test-sys_wait$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(test_sys_wait_OBJECTS) $(test_sys_wait_LDADD) $(LIBS)
|
||||
|
||||
-test-thread_create$(EXEEXT): $(test_thread_create_OBJECTS) $(test_thread_create_DEPENDENCIES) $(EXTRA_test_thread_create_DEPENDENCIES)
|
||||
- @rm -f test-thread_create$(EXEEXT)
|
||||
- $(AM_V_CCLD)$(LINK) $(test_thread_create_OBJECTS) $(test_thread_create_LDADD) $(LIBS)
|
||||
-
|
||||
test-thread_self$(EXEEXT): $(test_thread_self_OBJECTS) $(test_thread_self_DEPENDENCIES) $(EXTRA_test_thread_self_DEPENDENCIES)
|
||||
@rm -f test-thread_self$(EXEEXT)
|
||||
$(AM_V_CCLD)$(LINK) $(test_thread_self_OBJECTS) $(test_thread_self_LDADD) $(LIBS)
|
||||
@@ -4125,7 +4109,6 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-realloc-gnu.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-reallocarray.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-regex.Po@am__quote@ # am--include-marker
|
||||
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-rwlock1.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-safe-alloc.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sched.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-scratch-buffer.Po@am__quote@ # am--include-marker
|
||||
@@ -4168,7 +4151,6 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_types.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_uio.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-sys_wait.Po@am__quote@ # am--include-marker
|
||||
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-thread_create.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-thread_self.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-time.Po@am__quote@ # am--include-marker
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-unistd.Po@am__quote@ # am--include-marker
|
||||
@@ -4851,13 +4833,6 @@ test-localename.log: test-localename$(EX
|
||||
--log-file $$b.log --trs-file $$b.trs \
|
||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||
-test-rwlock1.log: test-rwlock1$(EXEEXT)
|
||||
- @p='test-rwlock1$(EXEEXT)'; \
|
||||
- b='test-rwlock1'; \
|
||||
- $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
||||
- --log-file $$b.log --trs-file $$b.trs \
|
||||
- $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||
- "$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||
test-lock.log: test-lock$(EXEEXT)
|
||||
@p='test-lock$(EXEEXT)'; \
|
||||
b='test-lock'; \
|
||||
@@ -5473,13 +5448,6 @@ test-thread_self.log: test-thread_self$(
|
||||
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
||||
--log-file $$b.log --trs-file $$b.trs \
|
||||
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||
- "$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||
-test-thread_create.log: test-thread_create$(EXEEXT)
|
||||
- @p='test-thread_create$(EXEEXT)'; \
|
||||
- b='test-thread_create'; \
|
||||
- $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
||||
- --log-file $$b.log --trs-file $$b.trs \
|
||||
- $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
||||
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
||||
test-time.log: test-time$(EXEEXT)
|
||||
@p='test-time$(EXEEXT)'; \
|
Loading…
Reference in New Issue
Block a user