Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libximc
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
Container Registry
Operate
Environments
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
libximc
Merge requests
!1
The source project of this merge request has been removed.
Add install target into Makefile
Closed
Add install target into Makefile
(removed):add-install
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Closed
Alessio Igor Bogani
requested to merge
(removed):add-install
into
master
4 years ago
Overview
0
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ff4951fa
1 commit,
4 years ago
1 file
+
8
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Makefile
+
8
−
4
Options
@@ -4,6 +4,9 @@ TARGET_USER = ximc
INC_DIR
=
src
C_FLAGS
=
-DLIBXIMC_EXPORTS
INSTALL_LIB_DIR
=
$(
DESTDIR
)
/usr/lib
INSTALL_INC_DIR
=
$(
DESTDIR
)
/usr/include
##############################################
# support for shared libray versioning
# #
@@ -43,10 +46,11 @@ $(TARGET_USER): obj lib $(OBJ_FILES)
obj lib
:
@
mkdir
$@
#install:
# su -c "cp lib/$(BASELIBNAME).so $(INSTALL_LIB_DIR);\
# cp src/$(TARGET_USER).h $(INSTALL_INC_DIR)"
install
:
all
@
install
-d
$(
INSTALL_LIB_DIR
)
@
cp
-dR
lib/
$(
BASELIBNAME
)
*
$(
INSTALL_LIB_DIR
)
@
install
-d
$(
INSTALL_INC_DIR
)
@
cp
-dR
src/
$(
TARGET_USER
)
.h
$(
INSTALL_INC_DIR
)
clean
:
@
rm
-fr
obj lib core
*
.nse_depinfo src/
*
~