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

Add first crude binary module implementation.

This commit is contained in:
Kris Maglione
2011-09-22 21:08:40 -04:00
parent d568ce8762
commit 6af256bc53
17 changed files with 1290 additions and 6 deletions

24
binary/config.mk Normal file
View File

@@ -0,0 +1,24 @@
PLATFORM = 9.0-Linux_x86_64-gcc3
DEFINES = -DGECKO_MAJOR=9 -DGECKO_MINOR=0
SED ?= sed -r
GECKO_SDK_PATH := $(shell pkg-config --libs libxul | $(SED) 's,([^-]|-[^L])*-L([^ ]+)/lib.*,\2,')
CXX ?= c++
MKDEP ?= $(CXX) -M
PYTHON ?= python2
CPPFLAGS += -fno-rtti \
-fno-exceptions \
-fshort-wchar \
-fPIC \
$(NULL)
XPIDL ?= $(PYTHON) $(GECKO_SDK_PATH)/sdk/bin
IDL_H ?= $(XPIDL)/header.py -o
IDL_XPT ?= $(XPIDL)/typelib.py -o