Phone
targets=debug,hayes,osmocom,template
cppflags_force=-I ../../include
cppflags=
cflags_force=`pkg-config --cflags glib-2.0` -fPIC
cflags=-W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector-all
ldflags_force=`pkg-config --libs glib-2.0`
ldflags=-Wl,-z,relro -Wl,-z,now
includes=hayes.h
dist=Makefile,hayes/channel.h,hayes/command.h,hayes/common.h,hayes/pdu.h,hayes/quirks.h,osmocom.c
[debug]
type=plugin
sources=debug.c
cflags=`pkg-config --cflags libDesktop`
ldflags=`pkg-config --libs libDesktop`
install=$(LIBDIR)/Phone/modem
[debug.c]
depends=../../config.h
[hayes]
type=plugin
sources=hayes/channel.c,hayes/command.c,hayes/common.c,hayes/pdu.c,hayes/quirks.c,hayes.c
cflags=`pkg-config --cflags libSystem`
ldflags=`pkg-config --libs libSystem`
install=$(LIBDIR)/Phone/modem
[hayes.c]
depends=hayes/channel.h,hayes/command.h,hayes/common.h,hayes/pdu.h,hayes/quirks.h,hayes.h
[hayes/channel.c]
depends=hayes/channel.h,hayes/command.h
[hayes/command.c]
depends=hayes/channel.h,hayes/command.h
[hayes/quirks.c]
depends=hayes/quirks.h
[hayes.h]
install=$(INCLUDEDIR)/Desktop/Phone/modems
[osmocom]
type=plugin
enabled=0
sources=osmocom.c
ldflags=-L $(PREFIX)/lib -Wl,-rpath,$(PREFIX)/lib -losmocore
install=$(LIBDIR)/Phone/modem
[template]
type=plugin
sources=template.c
cflags=`pkg-config --cflags libSystem`
ldflags=`pkg-config --libs libSystem`