Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cs
ds
pespccdstage
Commits
9cc8254d
Commit
9cc8254d
authored
Oct 15, 2021
by
Alessandro Abrami
Browse files
2021/10/15:
Aggiornato RELEASE/REPO
parent
55d7a5a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Make-Release.in
0 → 100644
View file @
9cc8254d
RELEASE := GIT:: $(shell git describe --dirty)
CXXFLAGS += -D'RELEASE="$(RELEASE)"'
REPO := GIT:: $(shell git config --get remote.origin.url)
LOC_REPO := GIT:: $(shell git rev-parse --show-toplevel)
CXXFLAGS += -D'REPO="$(LOC_REPO)"'
SUBMODULES +=
REL_SRCS_0 += $(shell find . -name "*.cpp" -exec grep -l -e RELEASE -e REPO -e SUBMODULES {} \;)
REL_SRCS += $(subst ./,, $(REL_SRCS_0))
REL_OBJS += $(addprefix obj/,$(notdir $(REL_SRCS:.cpp=.o)))
.PHONY: tags_clean
tags_clean:
@rm -f $(REL_OBJS)
Makefile
View file @
9cc8254d
NAME_SRV
=
pespccdstage-srv
all
:
tags_clean bin/$(NAME_SRV)
CXXFLAGS
=
LDFLAGS
=
-litpp
...
...
@@ -71,17 +73,13 @@ else
CXXFLAGS
+=
-I
/runtime/include/libaxisutils
endif
RELEASE
:=
GIT::
$(
shell
git describe
--dirty
)
CXXFLAGS
+=
-D
'RELEASE="
$(RELEASE)
"'
REPO
:=
GIT::
$(
shell
git config
--get
remote.origin.url
)
LOC_REPO
:=
GIT::
$(
shell
git rev-parse
--show-toplevel
)
CXXFLAGS
+=
-D
'REPO="
$(LOC_REPO)
"'
include
Make-libhist.in
OBJ_FILES
+=
$(EXTRA_OBJS)
include
../makefiles/Make-9.3.3.in
include
Make-Release.in
LDFLAGS
+=
-laxisutils
ifeq
($(HAVE_SAFETYMANGER), yes)
...
...
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