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:
24
binary/config.mk
Normal file
24
binary/config.mk
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user