for 4.1
This commit is contained in:
parent
b76bf363c0
commit
bd6831f9f1
6
makefile
6
makefile
|
@ -1,6 +1,8 @@
|
||||||
LISTNAME=easylist.txt
|
LISTNAME=easylist.txt
|
||||||
PREFIX ?= /usr
|
PREFIX ?= /usr
|
||||||
EXTENSION_DIR ?= $(PREFIX)/lib/wyebrowser
|
WEBKIT ?= webkit2gtk-4.1
|
||||||
|
APPDIR ?= wyebrowser4.1
|
||||||
|
EXTENSION_DIR ?= $(PREFIX)/lib/$(APPDIR)
|
||||||
ifeq ($(DEBUG), 1)
|
ifeq ($(DEBUG), 1)
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
else
|
else
|
||||||
|
@ -13,7 +15,7 @@ all: adblock.so wyebab librun.o testrun
|
||||||
|
|
||||||
adblock.so: ab.c ephy-uri-tester.c ephy-uri-tester.h librun.o makefile
|
adblock.so: ab.c ephy-uri-tester.c ephy-uri-tester.h librun.o makefile
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< librun.o -shared -fPIC \
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< librun.o -shared -fPIC \
|
||||||
`pkg-config --cflags --libs gtk+-3.0 glib-2.0 webkit2gtk-4.0` \
|
`pkg-config --cflags --libs gtk+-3.0 glib-2.0 $(WEBKIT)` \
|
||||||
$(DDEBUG) -DISEXT -DEXENAME=\"wyebab\"
|
$(DDEBUG) -DISEXT -DEXENAME=\"wyebab\"
|
||||||
|
|
||||||
wyebab: ab.c ephy-uri-tester.c ephy-uri-tester.h librun.o makefile
|
wyebab: ab.c ephy-uri-tester.c ephy-uri-tester.h librun.o makefile
|
||||||
|
|
Loading…
Reference in New Issue
Block a user