Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Beam Positoning Monitor - Software
Commits
4c510ada
Commit
4c510ada
authored
Apr 27, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: add libsdbfs generation and linking
parent
a6457b52
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
Makefile
Makefile
+21
-3
No files found.
Makefile
View file @
4c510ada
...
...
@@ -61,6 +61,7 @@ LIBCONVC_DIR = src/libs/libconvc
LIBHUTILS_DIR
=
src/libs/libhutils
LIBDISPTABLE_DIR
=
src/libs/libdisptable
LIBBPMCLIENT_DIR
=
src/libs/libbpmclient
LIBSDBFS_DIR
=
foreign/libsdbfs
# General C flags
CFLAGS
=
-std
=
gnu99
-O2
...
...
@@ -147,12 +148,12 @@ LIBS = -lm -lzmq -lczmq -lmdp -lpcidriver
# FIXME: make the project libraries easily interchangeable, specifying
# the lib only a single time
PROJECT_LIBS_NAME
=
liberrhand libconvc libhutils libdisptable libbpmclient
PROJECT_LIBS
=
-lerrhand
-lconvc
-lhutils
-ldisptable
-lbpmclient
PROJECT_LIBS_NAME
=
liberrhand libconvc libhutils libdisptable libbpmclient
libsdbfs
PROJECT_LIBS
=
-lerrhand
-lconvc
-lhutils
-ldisptable
-lbpmclient
-lsdbfs
# General library flags -L<libdir>
LFLAGS
=
-Lsrc
/libs/liberrhand
-Lsrc
/libs/libconvc
-Lsrc
/libs/libhutils
\
-Lsrc
/libs/libdisptable
-Lsrc
/libs/libbpmclient
-Lsrc
/libs/libdisptable
-Lsrc
/libs/libbpmclient
-Lforeign
/libsdbfs
# Specific platform objects
OBJS_PLATFORM
=
...
...
@@ -187,6 +188,7 @@ INCLUDE_DIRS = \
-Isrc
/libs/libhutils
\
-Isrc
/libs/libdisptable
\
-Isrc
/libs/libbpmclient
\
-Iforeign
/libsdbfs
\
-I
/usr/local/include
# Merge all flags.
...
...
@@ -247,6 +249,7 @@ revision_SRCS = $(patsubst %.o,%.c,$(revision_OBJS))
libhutils libhutils_install libhutils_uninstall libhutils_clean libhutils_mrproper
\
libdisptable libdisptable_install libdisptable_uninstall libdisptable_clean libdisptable_mrproper
\
libbpmclient libbpmclient_install libbpmclient_uninstall libbpmclient_clean libbpmclient_mrproper
\
libsdbfs libsdbfs_install libsdbfs_uninstall libsdbfs_clean libsdbfs_mrproper
\
libmdp libmdp_install libmdp_uninstall libmdp_clean libmdp_mrproper
\
libbsmp libbsmp_install libbsmp_uninstall libbsmp_clean libbsmp_mrproper
\
hal_install hal_uninstall hal_clean hal_mrproper
\
...
...
@@ -439,6 +442,21 @@ libbpmclient_clean:
libbpmclient_mrproper
:
$(MAKE)
-C
$(LIBBPMCLIENT_DIR)
mrproper
libsdbfs
:
$(MAKE)
-C
$(LIBSDBFS_DIR)
all
libsdbfs_install
:
$(MAKE)
-C
$(LIBSDBFS_DIR)
install
libsdbfs_uninstall
:
$(MAKE)
-C
$(LIBSDBFS_DIR)
uninstall
libsdbfs_clean
:
$(MAKE)
-C
$(LIBSDBFS_DIR)
clean
libsdbfs_mrproper
:
$(MAKE)
-C
$(LIBSDBFS_DIR)
mrproper
# External project dependencies
deps
:
libmdp libbsmp
...
...
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