From d07389640527793522ef553ce974fdd46f15c8f0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 4 Sep 2012 18:15:34 +0100 Subject: start using core buildsystem --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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) -- cgit v1.2.3