view src/uuid.mk @ 3020:41800279e33a

Update uuid.mk to use MXE_XXX for AR and CC * src/uuid.mk: changed $(TARGET)-ar/gcc to $(MXE_AR) and $(MXE_CC)
author John Donoghue <john.donoghue@ieee.org>
date Sat, 08 Jun 2013 09:59:45 -0400
parents b6c7244a2f66
children 5ef49fb3299d
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     = gcc

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