Mercurial > mxe-octave
comparison src/qwtplot3d.mk @ 3012:100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
BUILD_TOOLS_PREFIX variables in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 10:31:04 -0400 |
parents | 4d0f3a9da57e |
children | b6c7244a2f66 |
comparison
equal
deleted
inserted
replaced
3011:75e142c0004b | 3012:100e618349f7 |
---|---|
14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ | 14 $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ |
15 head -1 | 15 head -1 |
16 endef | 16 endef |
17 | 17 |
18 define $(PKG)_BUILD | 18 define $(PKG)_BUILD |
19 cd '$(1)' && '$(PREFIX)/bin/$(TARGET)-qmake' | 19 cd '$(1)' && '$(BUILD_TOOLS_PREFIX)/bin/$(TARGET)-qmake' |
20 $(MAKE) -C '$(1)' -j '$(JOBS)' | 20 $(MAKE) -C '$(1)' -j '$(JOBS)' |
21 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib' | 21 $(INSTALL) -d '$(HOST_PREFIX)/lib' |
22 $(INSTALL) -m644 '$(1)/lib/libqwtplot3d.a' '$(PREFIX)/$(TARGET)/lib/' | 22 $(INSTALL) -m644 '$(1)/lib/libqwtplot3d.a' '$(HOST_PREFIX)/lib/' |
23 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include' | 23 $(INSTALL) -d '$(HOST_PREFIX)/include' |
24 $(INSTALL) -d '$(PREFIX)/$(TARGET)/include/qwtplot3d' | 24 $(INSTALL) -d '$(HOST_PREFIX)/include/qwtplot3d' |
25 $(INSTALL) -m644 '$(1)/include'/*.h '$(PREFIX)/$(TARGET)/include/qwtplot3d/' | 25 $(INSTALL) -m644 '$(1)/include'/*.h '$(HOST_PREFIX)/include/qwtplot3d/' |
26 endef | 26 endef |