3 # Uncomment this to turn on verbose mode.
9 DESTDIR=$(CURDIR)/debian/tmp$(PREFIX)
12 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
18 #LDFLAGS += -Wl,--rpath=$(PREFIX)/lib -Wl,--as-needed
20 configure: configure-stamp
23 # Add here commands to configure the package.
29 build-stamp: configure-stamp
32 # Add here commands to compile the package.
40 rm -f build-stamp configure-stamp
42 # Add here commands to clean up after the build process.
53 # Add here commands to install the package into debian/tmp.
54 mkdir -p $(CURDIR)/debian/tmp
55 mkdir -p $(CURDIR)/debian/tmp/usr/include
56 mkdir -p $(CURDIR)/debian/tmp/usr/lib
57 cp -afRl lib/* $(CURDIR)/debian/tmp/usr/lib/.
58 #cp -afRl include/* $(CURDIR)/debian/tmp/usr/include/.
59 cp -a include/EGL $(DESTDIR)/include/.
60 cp -a include/GLES $(DESTDIR)/include/.
61 cp -a include/GLES2 $(DESTDIR)/include/.
62 cp -a include/GL $(DESTDIR)/include/.
64 #cp -fRl lib/* $(CURDIR)/debian/tmp/usr/lib
65 #cp -fRl include/* $(CURDIR)/debian/tmp/usr/include
66 #$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
68 # Build architecture-independent files here.
69 binary-indep: build install
70 # We have nothing to do by default.
72 # Build architecture-dependent files here.
73 binary-arch: build install
79 dh_install --sourcedir=debian/tmp
103 binary: binary-indep binary-arch
104 .PHONY: build clean binary-indep binary-arch binary install configure