1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 01:52:28 +01:00

Add OS-X binary components. Install binaries add-on on 'make install'.

This commit is contained in:
Kris Maglione
2011-09-23 19:24:56 -04:00
parent 39ceae4f92
commit 0aa21f15c1
4 changed files with 53 additions and 29 deletions

View File

@@ -1,13 +1,16 @@
GECKO_MAJOR ?= 9
GECKO_MINOR ?= 0
ABI_OS ?= Linux
ABI_ARCH ?= x86_64
ABI_COMPILER ?= gcc3
ABI_OS := $(shell uname -s)
ABI_ARCH := $(shell uname -m)
ABI_COMPILER := gcc3
ABI ?= $(GECKO_MAJOR).$(GECKO_MINOR)-$(ABI_OS)_$(ABI_ARCH)-$(ABI_COMPILER)
DEFINES = -DGECKO_MAJOR=$(GECKO_MAJOR) -DGECKO_MINOR=$(GECKO_MINOR)
DEFINES = -DGECKO_MAJOR=$(GECKO_MAJOR) -DGECKO_MINOR=$(GECKO_MINOR)
SED := $(shell if [ "xoo" = x$$(echo foo | sed -E 's/f(o)/\1/' 2>/dev/null) ]; \
then echo sed -E; else echo sed -r; \
fi)
SED ?= sed -r
GECKO_SDK_PATH := $(shell pkg-config --libs libxul | $(SED) 's,([^-]|-[^L])*-L([^ ]+)/lib.*,\2,')