view src/uuid.mk @ 3603:1dbcd8e81b6a

texinfo: Fix build for multiple build jobs * src/texinfo.mk: Generate funs.h first, since the next build step depends on this file.
author Stefan Mahr <dac922@gmx.de>
date Wed, 04 Jun 2014 18:45:23 +0200
parents 13be64f9f16d
children 8b8a7593b08a
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := uuid
$(PKG)_IGNORE   = $(w32api_IGNORE)
$(PKG)_VERSION  := 3.17
$(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