Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
6
66
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eric Vidal
66
Commits
63bc64a6
Commit
63bc64a6
authored
3 years ago
by
Eric Vidal
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into dev
parents
639897ab
27231540
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+4
-14
4 additions, 14 deletions
Makefile
README.md
+3
-3
3 additions, 3 deletions
README.md
configure
+7
-7
7 additions, 7 deletions
configure
with
14 additions
and
24 deletions
Makefile
+
4
−
14
View file @
63bc64a6
...
...
@@ -65,8 +65,7 @@ endif
INSTALL_HTML
:=
$(
wildcard doc/
$(
version
)
/html/
*
.html
)
INSTALL_MAN
:=
$(
wildcard doc/man/
*
/
*
)
INSTALL_DATA
:=
skel/halt skel/init skel/poweroff skel/rc.init skel/rc.init.container
\
skel/rc.shutdown skel/reboot skel/shutdown skel/rc.shutdown.final
INSTALL_CONF
:=
skel/init.conf
skel/rc.shutdown skel/reboot skel/shutdown skel/rc.shutdown.final skel/init.conf
all
:
$(ALL_LIBS) $(ALL_BINS) $(ALL_INCLUDES)
...
...
@@ -87,10 +86,10 @@ tgz: distclean
strip
:
$(ALL_LIBS) $(ALL_BINS)
ifneq
($(strip $(STATIC_LIBS)),)
exec
$(
STRIP
)
-x
-R
.note
-R
.comment
-R
.note.GNU-stack
$(
STATIC_LIBS
)
exec
$(
STRIP
)
-x
-R
.note
-R
.comment
$(
STATIC_LIBS
)
endif
ifneq
($(strip $(ALL_BINS)$(SHARED_LIBS)),)
exec
$(
STRIP
)
-R
.note
-R
.comment
-R
.note.GNU-stack
$(
ALL_BINS
)
$(
SHARED_LIBS
)
exec
$(
STRIP
)
-R
.note
-R
.comment
$(
ALL_BINS
)
$(
SHARED_LIBS
)
endif
install
:
install-dynlib install-libexec install-bin install-lib install-include install-data install-conf install-html install-man
...
...
@@ -100,7 +99,6 @@ install-bin: $(BIN_TARGETS:%=$(DESTDIR)$(bindir)/%)
install-lib
:
$(STATIC_LIBS:lib%.a.xyzzy=$(DESTDIR)$(libdir)/lib%.a)
install-include
:
$(ALL_INCLUDES:src/include/$(package)/%.h=$(DESTDIR)$(includedir)/$(package)/%.h)
install-data
:
$(INSTALL_DATA:skel/%=$(DESTDIR)$(skel)/%)
install-conf
:
$(INSTALL_CONF:skel/%=$(DESTDIR)$(sysconfdir)/66/%)
install-html
:
$(INSTALL_HTML:doc/$(version)/html/%.html=$(DESTDIR)$(datarootdir)/doc/$(package)/$(version)/%.html)
install-man
:
install-man1 install-man5 install-man8
install-man1
:
$(INSTALL_MAN:doc/man/man1/%.1=$(DESTDIR)$(mandir)/man1/%.1)
...
...
@@ -218,14 +216,6 @@ $(DESTDIR)$(mandir)/man8/%.8: doc/man/man8/%.8
-e
's,%%service_userconf%%,
$(
service_userconf
)
,g'
\
-e
's,%%user_log%%,
$(
user_log
)
,g'
$<
>
$@
$(DESTDIR)$(sysconfdir)/66/%
:
skel/%
exec
$(
INSTALL
)
-D
-m
644
$<
$@
grep
--
^
$(
@F
)
< package/modes |
{
read
name mode owner
&&
\
if
[
x
$$
owner
!=
x
]
;
then
chown
--
$$
owner
$@
;
fi
&&
\
chmod
$$
mode
$@
;
}
&&
\
exec sed
-e
"s/@LIVEDIR@/
$(
subst /,
\/
,
$(
livedir
))
/g"
\
-e
"s/@SKEL@/
$(
subst /,
\/
,
$(
skel
))
/g"
$<
>
$@
$(DESTDIR)$(skel)/%
:
skel/%
exec
$(
INSTALL
)
-D
-m
644
$<
$@
grep
--
^
$(
@F
)
< package/modes |
{
read
name mode owner
&&
\
...
...
@@ -269,6 +259,6 @@ lib%.a.xyzzy:
lib%.so.xyzzy
:
exec
$(
CC
)
-o
$@
$(
CFLAGS_ALL
)
$(
CFLAGS_SHARED
)
$(
LDFLAGS_ALL
)
$(
LDFLAGS_SHARED
)
-Wl
,-soname,
$(
patsubst lib%.so.xyzzy,lib%.so.
$(
version_M
)
,
$@
)
$^
$(
EXTRA_LIBS
)
$(
LDLIBS
)
.PHONY
:
it all clean distclean tgz strip install install-dynlib install-libexec install-bin install-lib install-include install-data
install-conf
install-html install-man
.PHONY
:
it all clean distclean tgz strip install install-dynlib install-libexec install-bin install-lib install-include install-data install-html install-man
.DELETE_ON_ERROR
:
This diff is collapsed.
Click to expand it.
README.md
+
3
−
3
View file @
63bc64a6
...
...
@@ -45,9 +45,9 @@ Contact information
*
Web site:
https://web.obarun.org/
*
IRC
Channel:
Network:
`chat.freenode.net`
Channel :
`#obarun`
*
XMPP
Channel:
obarun@muc.syntazia.org
Supports the project
---------------------
...
...
This diff is collapsed.
Click to expand it.
configure
+
7
−
7
View file @
63bc64a6
...
...
@@ -130,7 +130,7 @@ stripdir () {
tryflag
()
{
echo
"Checking whether compiler accepts
$2
..."
echo
"typedef int x;"
>
"
$tmpc
"
if
$CC_AUTO
$CPPFLAGS_AUTO
$CPPFLAGS
$CPPFLAGS_POST
$CFLAGS_AUTO
$CFLAGS
$CFLAGS_POST
"
$2
"
-c
-o
/dev/null
"
$tmpc
"
>
/dev/null 2>&1
;
then
if
$CC_AUTO
$CPPFLAGS_AUTO
$CPPFLAGS
$CPPFLAGS_POST
$CFLAGS_AUTO
$CFLAGS
$CFLAGS_POST
"
$2
"
-c
-o
"
$tmpo
"
"
$tmpc
"
>
/dev/null 2>&1
;
then
echo
" ... yes"
eval
"
$1
=
\"\$
{
$1
}
\$
2
\"
"
eval
"
$1
=
\$
{
$1
# }"
...
...
@@ -144,7 +144,7 @@ tryflag () {
tryldflag
()
{
echo
"Checking whether linker accepts
$2
..."
echo
"typedef int x;"
>
"
$tmpc
"
if
$CC_AUTO
$CFLAGS_AUTO
$CFLAGS
$CFLAGS_POST
$LDFLAGS_AUTO
$LDFLAGS
$LDFLAGS_POST
-nostdlib
"
$2
"
-o
/dev/null
"
$tmpc
"
>
/dev/null 2>&1
;
then
if
$CC_AUTO
$CFLAGS_AUTO
$CFLAGS
$CFLAGS_POST
$LDFLAGS_AUTO
$LDFLAGS
$LDFLAGS_POST
-nostdlib
"
$2
"
-o
"
$tmpe
"
"
$tmpc
"
>
/dev/null 2>&1
;
then
echo
" ... yes"
eval
"
$1
=
\"\$
{
$1
}
\$
2
\"
"
eval
"
$1
=
\$
{
$1
# }"
...
...
@@ -361,13 +361,15 @@ set -C
while
:
;
do
i
=
$((
i+1
))
tmpc
=
"./tmp-configure-
$$
-
$PPID
-
$i
.c"
tmpo
=
"./tmp-configure-
$$
-
$PPID
-
$i
.o"
tmpe
=
"./tmp-configure-
$$
-
$PPID
-
$i
.tmp"
2>|/dev/null
>
"
$tmpc
"
&&
break
2>|/dev/null
>
"
$tmpo
"
&&
break
2>|/dev/null
>
"
$tmpe
"
&&
break
test
"
$i
"
-gt
50
&&
fail
"
$0
: cannot create temporary files"
done
set
+C
trap
'rm -f "$tmpc" "$tmpe"'
EXIT ABRT INT QUIT TERM HUP
trap
'rm -f "$tmpc"
"$tmpo"
"$tmpe"'
EXIT ABRT INT QUIT TERM HUP
# Set slashpackage values
if
$slashpackage
;
then
...
...
@@ -446,7 +448,7 @@ test -n "$CC_AUTO" || { echo "$0: cannot find a C compiler" ; exit 1 ; }
echo
" ...
$CC_AUTO
"
echo
"Checking whether C compiler works... "
echo
"typedef int x;"
>
"
$tmpc
"
if
$CC_AUTO
$CPPFLAGS_AUTO
$CPPFLAGS
$CPPFLAGS_POST
$CFLAGS_AUTO
$CFLAGS
$CFLAGS_POST
-c
-o
/dev/null
"
$tmpc
"
2>
"
$tmpe
"
;
then
if
$CC_AUTO
$CPPFLAGS_AUTO
$CPPFLAGS
$CPPFLAGS_POST
$CFLAGS_AUTO
$CFLAGS
$CFLAGS_POST
-c
-o
"
$tmpo
"
"
$tmpc
"
2>
"
$tmpe
"
;
then
echo
" ... yes"
else
echo
" ... no. Compiler output follows:"
...
...
@@ -487,7 +489,6 @@ tryflag CFLAGS -fomit-frame-pointer
tryflag CFLAGS_AUTO
-fno-exceptions
tryflag CFLAGS_AUTO
-fno-unwind-tables
tryflag CFLAGS_AUTO
-fno-asynchronous-unwind-tables
tryflag CFLAGS_AUTO
-Wa
,--noexecstack
tryflag CFLAGS
-fno-stack-protector
tryflag CPPFLAGS_AUTO
-Werror
=
implicit-function-declaration
tryflag CPPFLAGS_AUTO
-Werror
=
implicit-int
...
...
@@ -497,7 +498,6 @@ tryflag CPPFLAGS_AUTO -Wno-unused-value
tryflag CPPFLAGS_AUTO
-Wno-parentheses
tryflag CFLAGS_AUTO
-ffunction-sections
tryflag CFLAGS_AUTO
-fdata-sections
tryldflag LDFLAGS_AUTO
-Wl
,--sort-section
=
alignment
tryldflag LDFLAGS_AUTO
-Wl
,--sort-common
...
...
@@ -636,7 +636,7 @@ All rights reserved.*/
#define
${
package_macro_name
}
_VERSION "
$version
"
#define
${
package_macro_name
}
_LIVE "
$livedir
/"
#define
${
package_macro_name
}
_SYSTEM_DIR "
$system_dir
/"
#define
${
package_macro_name
}
_SKEL_DIR "
$s
ysconfdir
/66
/"
#define
${
package_macro_name
}
_SKEL_DIR "
$s
kel
/"
#define
${
package_macro_name
}
_LOGGER_SYSDIR "
$system_log
/"
#define
${
package_macro_name
}
_LOGGER_RUNNER "
$s6log_user
"
#define
${
package_macro_name
}
_LOGGER_TIMESTAMP
$s6log_timestamp
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment