summaryrefslogtreecommitdiff
path: root/example/Makefile
blob: 492c2558bd2279d144c6841331822050c8de4ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Define the component name
COMPONENT := foo
# And the component type
COMPONENT_TYPE := lib-static
# Component version
COMPONENT_VERSION := 0.0.1

# Tooling
include build/makefiles/Makefile.tools

# Grab the core makefile
include build/makefiles/Makefile.top

# Add extra install rules for our pkg-config control file and the library itself
INSTALL_ITEMS := $(INSTALL_ITEMS) /lib/pkgconfig:lib$(COMPONENT).pc.in
INSTALL_ITEMS := $(INSTALL_ITEMS) /lib:$(BUILDDIR)/lib$(COMPONENT)$(LIBEXT)