Mercurial > mxe-octave
view src/uuid.mk @ 3292:fda357ce9f64
* Makefile.in: Generate files list, when supported by the module.
Passes a temporary directory to the $(PKG)_BUILD macro, intended to be
used as a DESTDIR during installation. When the directory is created
by the build step, a files list is generated and the files or copied
over to the real installation directory.
author | Michael Goffioul <michael.goffioul@gmail.com> |
---|---|
date | Sat, 09 Nov 2013 23:28:03 -0500 |
parents | 5ef49fb3299d |
children | 13be64f9f16d |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := uuid $(PKG)_IGNORE = $(w32api_IGNORE) $(PKG)_CHECKSUM = $(w32api_CHECKSUM) $(PKG)_SUBDIR = $(w32api_SUBDIR) $(PKG)_FILE = $(w32api_FILE) $(PKG)_URL = $(w32api_URL) $(PKG)_DEPS = define $(PKG)_UPDATE echo "$(w32api_VERSION)" endef define $(PKG)_BUILD if [ $(BUILD_SHARED) = yes ]; then \ $(INSTALL) -d '$(HOST_BINDIR)'; \ $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(1)/lib/libuuid.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \ rm -f '$(HOST_LIBDIR)/libuuid.dll.a'; \ fi endef