Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cumbia-actions-extension-plugin
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs
lib
cumbia
cumbia-actions-extension-plugin
Commits
af68c77b
Commit
af68c77b
authored
5 months ago
by
Giacomo Strangolino
Browse files
Options
Downloads
Patches
Plain Diff
added Makefiles
parent
accc8b59
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+24
-0
24 additions, 0 deletions
Makefile
Makefile.INAU
+24
-0
24 additions, 0 deletions
Makefile.INAU
Makefile.cmake
+31
-0
31 additions, 0 deletions
Makefile.cmake
with
79 additions
and
0 deletions
Makefile
0 → 100644
+
24
−
0
View file @
af68c77b
# Makefile
# Get the current working directory
CURRENT_DIR
:=
$(
shell
pwd
)
TMP_INSTALL_DIR
=
$(
CURRENT_DIR
)
/tmp-install-dir
PREFIX
?=
/runtime
CUMBIA_ROOT
?=
/runtime
MKF_OUT
=
Makefile.qmake
export
MAKE
:=
$(
MAKE
)
# The default target when you run 'make'
all
:
@
qmake
INSTALL_ROOT
=
$(
TMP_INSTALL_DIR
)
prefix
=
$(
PREFIX
)
-o
$(
MKF_OUT
)
&&
$(
MAKE
)
-f
$(
MKF_OUT
)
\
&&
$(
MAKE
)
-f
$(
MKF_OUT
)
install
# The target when you run 'make install'
install
:
@
echo
"[ Makefile ] installing from
$(
TMP_INSTALL_DIR
)
to
$(
PREFIX
)
"
@
mkdir
-p
$(
PREFIX
)
@
cp
-rv
$(
TMP_INSTALL_DIR
)
/
*
$(
PREFIX
)
clean
:
@
rm
-rf
objs obj moc
$(
MKF_OUT
)
lib
*
.so.
*
This diff is collapsed.
Click to expand it.
Makefile.INAU
0 → 100644
+
24
−
0
View file @
af68c77b
# Makefile
# Get the current working directory
CURRENT_DIR
:=
$(
shell
pwd
)
TMP_INSTALL_DIR
=
$(
CURRENT_DIR
)
/tmp-install-dir
PREFIX
?=
/runtime
CUMBIA_ROOT
?=
/runtime
MKF_OUT
=
Makefile.qmake
export
MAKE
:=
$(
MAKE
)
# The default target when you run 'make'
all
:
@
qmake
INSTALL_ROOT
=
$(
TMP_INSTALL_DIR
)
prefix
=
$(
PREFIX
)
-o
$(
MKF_OUT
)
&&
$(
MAKE
)
-f
$(
MKF_OUT
)
\
&&
$(
MAKE
)
-f
$(
MKF_OUT
)
install
# The target when you run 'make install'
install
:
@
echo
"[ Makefile ] installing from
$(
TMP_INSTALL_DIR
)
to
$(
PREFIX
)
"
@
mkdir
-p
$(
PREFIX
)
@
cp
-rv
$(
TMP_INSTALL_DIR
)
/
*
$(
PREFIX
)
clean
:
@
rm
-rf
objs obj moc
$(
MKF_OUT
)
lib
*
.so.
*
This diff is collapsed.
Click to expand it.
Makefile.cmake
0 → 100644
+
31
−
0
View file @
af68c77b
# Makefile
# Get the current working directory
CURRENT_DIR := $
(
shell pwd
)
# Set default values for build_dir and install_prefix
BUILD_DIR := $
(
CURRENT_DIR
)
/build
TMP_INSTALL_DIR=$
(
CURRENT_DIR
)
/tmp-install-dir
PREFIX ?= /runtime
export MAKE := $
(
MAKE
)
# The default target when you run 'make'
all:
@echo
"[ Makefile ] build_dir=$(BUILD_DIR) install_prefix=$(PREFIX) jobs $(JOBS)"
mkdir -p $
(
BUILD_DIR
)
; \
cd $
(
BUILD_DIR
)
&& cmake .. -DCMAKE_INSTALL_PREFIX=$
(
TMP_INSTALL_DIR
)
-DCMAKE_PREFIX_PATH=$
(
PREFIX
)
/lib -DCMAKE_MODULE_PATH=$
(
PREFIX
)
/lib/cmake && $
(
MAKE
)
&& $
(
MAKE
)
install
# The target when you run 'make install'
install:
@echo
"[ Makefile ] installing from $(TMP_INSTALL_DIR) to $(PREFIX)"
@mkdir -p $
(
PREFIX
)
@cp -rv $
(
TMP_INSTALL_DIR
)
/* $
(
PREFIX
)
# Set the build_dir and install_prefix from the command line if provided
# Example: make build_dir=/custom/build install_prefix=/custom/install install
build:
@echo
"[ Makefile ] build_dir=$(BUILD_DIR) and install_prefix=$(PREFIX)"
mkdir -p $
(
BUILD_DIR
)
; \
cd $
(
BUILD_DIR
)
&& cmake .. -DCMAKE_INSTALL_PREFIX=$
(
TMP_INSTALL_DIR
)
&& $
(
MAKE
)
&& $
(
MAKE
)
install
This diff is collapsed.
Click to expand it.
Preview
0%
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