summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorVincent Sanders <vincent.sanders@collabora.co.uk>2012-09-04 18:15:34 +0100
committerVincent Sanders <vincent.sanders@collabora.co.uk>2012-09-04 18:15:34 +0100
commitd07389640527793522ef553ce974fdd46f15c8f0 (patch)
tree46affec027f7473ae1774024f0d95b03127c3c8d /Makefile
parentdc672aedbafa7bf24cd24430abcae2d57528cf41 (diff)
downloadnsgenbind-d07389640527793522ef553ce974fdd46f15c8f0.tar.gz
nsgenbind-d07389640527793522ef553ce974fdd46f15c8f0.tar.bz2
start using core buildsystem
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..27703b9
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+# Define the component name
+COMPONENT := genjsbind
+# And the component type
+COMPONENT_TYPE := binary
+# Component version
+COMPONENT_VERSION := 0.0.1
+
+# Tooling
+PREFIX ?= /opt/netsurf
+NSSHARED ?= $(PREFIX)/share/netsurf-buildsystem
+include $(NSSHARED)/makefiles/Makefile.tools
+
+# Grab the core makefile
+include $(NSBUILD)/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)