Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
24895538
Commit
24895538
authored
Jun 26, 2017
by
Adam Wujek
💬
Committed by
Grzegorz Daniluk
Jun 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
liblinux: remove messages creating lib*.a during compilation
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
3b8734c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Makefile
liblinux/Makefile
+3
-2
Makefile
liblinux/extest/Makefile
+2
-1
No files found.
liblinux/Makefile
View file @
24895538
...
@@ -13,6 +13,7 @@ GIT_USR ?= $(shell git config --get-all user.name)
...
@@ -13,6 +13,7 @@ GIT_USR ?= $(shell git config --get-all user.name)
CFLAGS
=
-Wall
-ggdb
-fPIC
-Werror
-I
./
-I
../include
CFLAGS
=
-Wall
-ggdb
-fPIC
-Werror
-I
./
-I
../include
CFLAGS
+=
-D__GIT_VER__
=
"
\"
$(GIT_VER)
\"
"
-D__GIT_USR__
=
"
\"
$(GIT_USR)
\"
"
CFLAGS
+=
-D__GIT_VER__
=
"
\"
$(GIT_VER)
\"
"
-D__GIT_USR__
=
"
\"
$(GIT_USR)
\"
"
LDFLAGS
=
-L
.
LDFLAGS
=
-L
.
ARFLAGS
=
rc
ifeq
($(SUPPORT_CERN_VMEBRIDGE),
y)
ifeq
($(SUPPORT_CERN_VMEBRIDGE),
y)
LIBVME_A
=
$(VMEBRIDGE)
/lib
LIBVME_A
=
$(VMEBRIDGE)
/lib
...
@@ -28,12 +29,12 @@ endif
...
@@ -28,12 +29,12 @@ endif
$(LIB)
:
$(LOBJ) $(LIB_DEP)
$(LIB)
:
$(LOBJ) $(LIB_DEP)
ifeq
($(SUPPORT_CERN_VMEBRIDGE),
y)
ifeq
($(SUPPORT_CERN_VMEBRIDGE),
y)
$(AR)
r
tmp$@
$(LOBJ)
$(AR)
$(ARFLAGS)
tmp$@
$(LOBJ)
# transform a thin library into a normal one
# transform a thin library into a normal one
echo
-e
"create $@\naddlib tmp$@\naddlib $(LIBVME_A)/libvmebus.a\nsave\nend"
|
$(AR)
-M
echo
-e
"create $@\naddlib tmp$@\naddlib $(LIBVME_A)/libvmebus.a\nsave\nend"
|
$(AR)
-M
$(RM)
tmp$@
$(RM)
tmp$@
else
else
$(AR)
r
$@
$^
$(AR)
$(ARFLAGS)
$@
$^
endif
endif
clean
:
clean
:
...
...
liblinux/extest/Makefile
View file @
24895538
...
@@ -12,12 +12,13 @@ LOBJ := extest.o
...
@@ -12,12 +12,13 @@ LOBJ := extest.o
CFLAGS
=
-Wall
-ggdb
-fPIC
-Werror
-I
./
CFLAGS
=
-Wall
-ggdb
-fPIC
-Werror
-I
./
CFLAGS
+=
-D__GIT_VER__
=
"
\"
$(GIT_VER)
\"
"
-D__GIT_USR__
=
"
\"
$(GIT_USR)
\"
"
CFLAGS
+=
-D__GIT_VER__
=
"
\"
$(GIT_VER)
\"
"
-D__GIT_USR__
=
"
\"
$(GIT_USR)
\"
"
LDFLAGS
=
-L
.
-lextest
LDFLAGS
=
-L
.
-lextest
ARFLAGS
=
rc
%
:
%.c $(LIB)
%
:
%.c $(LIB)
$(CC)
$(CFLAGS)
$*
.c
$(LDFLAGS)
-o
$@
$(CC)
$(CFLAGS)
$*
.c
$(LDFLAGS)
-o
$@
$(LIB)
:
$(LOBJ) $(LIB_DEP)
$(LIB)
:
$(LOBJ) $(LIB_DEP)
$(AR)
r
$@
$^
$(AR)
$(ARFLAGS)
$@
$^
clean
:
clean
:
rm
-f
$(LIB)
.depend
*
.o
*
~
rm
-f
$(LIB)
.depend
*
.o
*
~
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment