Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
EtherBone Core
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
EtherBone Core
Commits
10a8bcc8
Commit
10a8bcc8
authored
Jun 29, 2015
by
Wesley W. Terpstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
api: install a pkg-config file
parent
fdd4b706
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
Makefile
api/Makefile
+2
-1
etherbone.pc.in
api/etherbone.pc.in
+10
-0
No files found.
api/Makefile
View file @
10a8bcc8
...
...
@@ -78,9 +78,10 @@ SOURCES = memory/static.c \
all
:
glue/version.h $(TOOLS) $(TESTS) $(ARCHIVE) $(LIBRARY)
install
:
all
mkdir
-p
$(STAGING)$(PREFIX)
/bin
$(STAGING)$(PREFIX)
/include
$(STAGING)$(PREFIX)
/lib
mkdir
-p
$(STAGING)$(PREFIX)
/bin
$(STAGING)$(PREFIX)
/include
$(STAGING)$(PREFIX)
/lib
/pkgconfig
cp
-d
$(LIBRARY)
$(EXTRA)
$(ARCHIVE)
$(STAGING)$(PREFIX)
/lib
cp
etherbone.h
$(STAGING)$(PREFIX)
/include
sed
"s#@PREFIX@#
$(PREFIX)
#"
< etherbone.pc.in
>
$(STAGING)$(PREFIX)
/lib/pkgconfig/etherbone.pc
cp
$(TOOLS)
$(STAGING)$(PREFIX)
/bin
glue/version.h
::
...
...
api/etherbone.pc.in
0 → 100644
View file @
10a8bcc8
prefix=@PREFIX@
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: etherbone
Description: Wishbone serial protocol library
Version: 1.0
Libs: -L${libdir} -letherbone
Cflags: -I${includedir}
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