1
0
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:
Kris Maglione
2011-09-26 00:01:08 -04:00
parent 25d7a2fefd
commit 43cd62d40c
5 changed files with 32 additions and 9 deletions

View File

@@ -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

View File

@@ -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}"

View File

@@ -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