diff --git a/src/modems/project.conf b/src/modems/project.conf index 531eeab..82a8dad 100644 --- a/src/modems/project.conf +++ b/src/modems/project.conf @@ -10,7 +10,9 @@ dist=Makefile,hayes/command.h,hayes/quirks.h,osmocom.c [debug] type=plugin sources=debug.c +#cflags=`pkg-config --cflags gtk+-3.0 libSystem` cflags=`pkg-config --cflags gtk+-2.0 libSystem` +#ldflags=`pkg-config --libs gtk+-3.0 libSystem` ldflags=`pkg-config --libs gtk+-2.0 libSystem` install=$(LIBDIR)/Phone/modem diff --git a/src/plugins/Makefile b/src/plugins/Makefile index 1635e49..83e6d54 100644 --- a/src/plugins/Makefile +++ b/src/plugins/Makefile @@ -8,6 +8,7 @@ CPPFLAGSF= -I ../../include CPPFLAGS= CFLAGSF = -W `pkg-config --cflags libSystem gtk+-2.0` CFLAGS = -Wall -g -O2 -pedantic -fPIC +LDFLAGSF= `pkg-config --cflags libSystem gtk+-2.0` AR = ar RANLIB = ranlib CCSHARED= $(CC) -shared diff --git a/src/plugins/project.conf b/src/plugins/project.conf index 90bc7fa..a8b9887 100644 --- a/src/plugins/project.conf +++ b/src/plugins/project.conf @@ -2,8 +2,11 @@ subdirs=16x16,24x24,32x32,48x48 targets=blacklist,debug,engineering,gprs,gps,locker,n900,notify,openmoko,oss,panel,password,profiles,smscrypt,systray,template,ussd,video cppflags_force=-I ../../include cppflags= +#cflags_force=-W `pkg-config --cflags libSystem gtk+-3.0` cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0` cflags=-Wall -g -O2 -pedantic -fPIC +#ldflags_force=`pkg-config --cflags libSystem gtk+-3.0` +ldflags_force=`pkg-config --cflags libSystem gtk+-2.0` dist=Makefile [blacklist] diff --git a/tools/project.conf b/tools/project.conf index ad02247..4dc1c27 100644 --- a/tools/project.conf +++ b/tools/project.conf @@ -7,7 +7,9 @@ dist=Makefile,common.c [engineering] type=binary +#cflags=`pkg-config --cflags libSystem gtk+-3.0` cflags=`pkg-config --cflags libSystem gtk+-2.0` +#ldflags=`pkg-config --libs libSystem gtk+-3.0` ldflags=`pkg-config --libs libSystem gtk+-2.0` sources=engineering.c @@ -37,7 +39,9 @@ cppflags=-I../src/modems [smscrypt] type=binary sources=smscrypt.c +#cflags=`pkg-config --cflags libSystem gtk+-3.0` cflags=`pkg-config --cflags libSystem gtk+-2.0` +#ldflags=`pkg-config --libs libSystem gtk+-3.0` -lssl ldflags=`pkg-config --libs libSystem gtk+-2.0` -lssl [smscrypt.c]