Build with Gtk+ 3 by default
This commit is contained in:
parent
ab18baad92
commit
f69a11f971
|
@ -6,6 +6,6 @@ libdir=${exec_prefix}/lib
|
|||
Name: @PACKAGE@
|
||||
Description: DeforaOS Desktop helper library
|
||||
Version: @VERSION@
|
||||
Requires: libSystem gtk+-2.0
|
||||
Requires: libSystem gtk+-3.0
|
||||
Cflags: -I${includedir}
|
||||
Libs: @RPATH@ -L${libdir} -lDesktop
|
||||
|
|
|
@ -3,11 +3,11 @@ cppflags_force=-I ../include
|
|||
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags=-Wl,-z,relro -Wl,-z,now
|
||||
#for Gtk+ 2
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0` -fPIC
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0`
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-2.0` -fPIC
|
||||
#ldflags_force=`pkg-config --libs libSystem gtk+-2.0`
|
||||
#for Gtk+ 3
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-3.0` -fPIC
|
||||
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0`
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-3.0` -fPIC
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-3.0`
|
||||
dist=Makefile
|
||||
|
||||
[libDesktop]
|
||||
|
|
|
@ -3,11 +3,11 @@ cppflags_force=-I ../include
|
|||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
#for Gtk+ 2
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` $(OBJDIR)../src/libDesktop.a
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
#ldflags_force=`pkg-config --libs libSystem gtk+-2.0` $(OBJDIR)../src/libDesktop.a
|
||||
#for Gtk+ 3
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-3.0`
|
||||
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0` $(OBJDIR)../src/libDesktop.a
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-3.0`
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-3.0` $(OBJDIR)../src/libDesktop.a
|
||||
dist=Makefile,htmllint.sh,pkgconfig.sh,tests.sh,xmllint.sh
|
||||
|
||||
[htmllint.log]
|
||||
|
|
|
@ -3,11 +3,11 @@ cppflags_force=-I ../include
|
|||
cflags=-W -Wall -g -O2 -pedantic -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector-all
|
||||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
#for Gtk+ 2
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -L $(OBJDIR)../src -lDesktop
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
||||
#ldflags_force=`pkg-config --libs libSystem gtk+-2.0` -L $(OBJDIR)../src -lDesktop
|
||||
#for Gtk+ 3
|
||||
#cflags_force=`pkg-config --cflags libSystem gtk+-3.0`
|
||||
#ldflags_force=`pkg-config --libs libSystem gtk+-3.0` -L $(OBJDIR)../src -lDesktop
|
||||
cflags_force=`pkg-config --cflags libSystem gtk+-3.0`
|
||||
ldflags_force=`pkg-config --libs libSystem gtk+-3.0` -L $(OBJDIR)../src -lDesktop
|
||||
dist=Makefile,subst.sh
|
||||
|
||||
[widget]
|
||||
|
|
Loading…
Reference in New Issue
Block a user