mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 16:47:58 +01:00
Pass line/column numbers to the editor for rich text editors too.
This commit is contained in:
@@ -15,7 +15,8 @@ SED := $(shell if [ "xoo" = x$$(echo foo | sed -E 's/f(o)/\1/' 2>/dev/null) ]; \
|
||||
PKGCONFIG ?= pkg-config
|
||||
GECKO_SDK_PATH := $(shell $(PKGCONFIG) --libs libxul | $(SED) 's,([^-]|-[^L])*-L([^ ]+)/lib.*,\2,')
|
||||
|
||||
CXX ?= c++ -o
|
||||
CXX ?= c++
|
||||
CPP = $(CXX) -o
|
||||
LINK ?= c++
|
||||
|
||||
MKDEP ?= $(CXX) -M
|
||||
|
||||
@@ -9,6 +9,13 @@
|
||||
em:description="Binary utilities for dactyl add-ons"
|
||||
em:unpack="true">
|
||||
|
||||
<em:targetApplication>
|
||||
<Description
|
||||
em:id="toolkit@mozilla.org"
|
||||
em:minVersion="4.0"
|
||||
em:maxVersion="9.*"/>
|
||||
</em:targetApplication>
|
||||
|
||||
<em:targetApplication>
|
||||
<Description
|
||||
em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||
|
||||
@@ -75,7 +75,7 @@ $(XPTDIR)%.xpt: %.idl
|
||||
_CPPFLAGS = $(CPPFLAGS) $(CXXFLAGS) $(GECKO_DEFINES) $(GECKO_INCLUDES) $(DEFINES)
|
||||
|
||||
$(OBJDIR)%.o: %.cpp Makefile
|
||||
$(CXX)$@ -c $(_CPPFLAGS) $<
|
||||
$(CPP)$@ -c $(_CPPFLAGS) $<
|
||||
|
||||
.depend: $(CPPSRCS) Makefile
|
||||
$(MKDEP) $(_CPPFLAGS) $(CPPSRCS) | $(SED) 's;^[^ ];$(OBJDIR)&;' >.depend
|
||||
|
||||
Reference in New Issue
Block a user