subdirs=16x16,24x24,32x32,48x48
targets=blacklist,debug,engineering,gprs,locker,n900,openmoko,oss,panel,profiles,smscrypt,systray
cppflags_force=-I ../../include
cppflags=
cflags_force=-W `pkg-config --cflags libSystem gtk+-2.0`
cflags=-Wall -g -O2 -pedantic -fPIC
dist=Makefile

[blacklist]
type=plugin
sources=blacklist.c
install=$(LIBDIR)/Phone/plugins

[blacklist.c]
depends=../../include/Phone.h

[debug]
type=plugin
sources=debug.c
install=$(LIBDIR)/Phone/plugins

[debug.c]
depends=../../include/Phone.h

[engineering]
type=plugin
sources=engineering.c
install=$(LIBDIR)/Phone/plugins

[engineering.c]
depends=../../include/Phone.h

[gprs]
type=plugin
sources=gprs.c
install=$(LIBDIR)/Phone/plugins

[gprs.c]
depends=../../include/Phone.h

[locker]
type=plugin
sources=locker.c
install=$(LIBDIR)/Phone/plugins

[locker.c]
depends=../../include/Phone.h

[n900]
type=plugin
sources=n900.c
install=$(LIBDIR)/Phone/plugins

[n900.c]
depends=../../include/Phone.h

[openmoko]
type=plugin
sources=openmoko.c
cppflags=-I../modems
cflags=`pkg-config --cflags alsa`
ldflags=`pkg-config --libs alsa`
install=$(LIBDIR)/Phone/plugins

[openmoko.c]
depends=../../include/Phone.h

[oss]
type=plugin
sources=oss.c
#ldflags=-lossaudio

[oss.c]
depends=../../include/Phone.h

[panel]
type=plugin
sources=panel.c
install=$(LIBDIR)/Phone/plugins

[panel.c]
depends=../../include/Phone.h

[profiles]
type=plugin
sources=profiles.c
cflags=`pkg-config --cflags libpulse`
ldflags=`pkg-config --libs libpulse`
install=$(LIBDIR)/Phone/plugins

[profiles.c]
depends=../../include/Phone.h

[smscrypt]
type=plugin
sources=smscrypt.c
install=$(LIBDIR)/Phone/plugins

[smscrypt.c]
depends=../../include/Phone.h

[systray]
type=plugin
sources=systray.c
cflags=`pkg-config --cflags libDesktop`
ldflags=`pkg-config --libs libDesktop`
install=$(LIBDIR)/Phone/plugins

[systray.c]
depends=../../include/Phone.h,../../config.h