Mercurial > mxe-octave
annotate 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 |
rev | line source |
---|---|
2993
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
3 |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
4 PKG := uuid |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE = $(w32api_IGNORE) |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
6 $(PKG)_CHECKSUM = $(w32api_CHECKSUM) |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
7 $(PKG)_SUBDIR = $(w32api_SUBDIR) |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
8 $(PKG)_FILE = $(w32api_FILE) |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
9 $(PKG)_URL = $(w32api_URL) |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
10 $(PKG)_DEPS = gcc |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
11 |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
12 define $(PKG)_UPDATE |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
13 echo "$(w32api_VERSION)" |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
14 endef |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
15 |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
16 define $(PKG)_BUILD |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
17 if [ $(BUILD_SHARED) = yes ]; then \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
18 $(INSTALL) -d '$(HOST_BINDIR)'; \ |
3020
41800279e33a
Update uuid.mk to use MXE_XXX for AR and CC
John Donoghue <john.donoghue@ieee.org>
parents:
3014
diff
changeset
|
19 $(MAKE_SHARED_FROM_STATIC) --ar '$(MXE_AR)' --ld '$(MXE_CC)' '$(1)/lib/libuuid.a' --install '$(INSTALL)' --libdir '$(HOST_LIBDIR)' --bindir '$(HOST_BINDIR)'; \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
20 rm -f '$(HOST_LIBDIR)/libuuid.dll.a'; \ |
2993
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
21 fi |
1f944d8d6fe5
Modfications for libuuid dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
diff
changeset
|
22 endef |