Desktop
targets=gtk-demo,xscreensaver,xterm
cppflags_force=-I ../../include
cppflags=
cflags_force=-W `pkg-config --cflags x11 libSystem`
cflags=-Wall -g -O2 -pedantic -fPIC
ldflags_force=-W `pkg-config --libs libSystem`
dist=Makefile
[gtk-demo]
type=plugin
sources=gtk-demo.c
cflags=`pkg-config --cflags libSystem gtk+-2.0`
ldflags=`pkg-config --libs gtk+-2.0`
install=$(LIBDIR)/Locker/demos
[xterm.c]
depends=../../include/Locker.h,../../config.h
cppflags=-D PREFIX=\"$(PREFIX)\"
[xscreensaver]
type=plugin
sources=xscreensaver.c
cflags=`pkg-config --cflags gtk+-2.0`
ldflags=`pkg-config --libs gtk+-2.0`
install=$(LIBDIR)/Locker/demos
[xscreensaver.c]
depends=../../include/Locker.h,../../config.h
cppflags=-D PREFIX=\"$(PREFIX)\"
[xterm]
type=plugin
sources=xterm.c
cflags=`pkg-config --cflags gtk+-2.0`
ldflags=`pkg-config --libs gtk+-2.0`
install=$(LIBDIR)/Locker/demos
[xterm.c]
depends=../../include/Locker.h,../../config.h
cppflags=-D PREFIX=\"$(PREFIX)\"