freebsd-ports/mail/gmail-notify/files/Makefile
Pav Lucistnik 44a99f2098 Gmail Notifier is a Linux/Windows alternative for the notifier program released
by Google, it is written in Python and provides an attractive and simple way to
check for new mail messages.

PR:		ports/81998
Submitted by:	David <djulien.bsd@gmail.com>
2005-07-20 20:51:42 +00:00

24 lines
707 B
Makefile

# $FreeBSD$
# Makefile to build trayicon.so
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I${PREFIX}/include/python2.4/ -I. -Wall -I${PREFIX}/share/pygtk/2.0 -I${PREFIX}/libdata/pkgconfig -DEGG_COMPILATION
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
DEFS_DIR= ${PREFIX}/share/pygtk/2.0/defs/
CODEGEN = pygtk-codegen-2.0
all: trayicon.so
trayicon.so: trayicon.o eggtrayicon.o trayiconmodule.o
$(CC) $(LDFLAGS) -shared $^ -o $@
trayicon.c: trayicon.defs eggtrayicon.h trayicon.override
$(CODEGEN) --prefix pytrayicon \
--register $(DEFS_DIR)/gdk-types.defs \
--register $(DEFS_DIR)/gtk-types.defs \
--override trayicon.override \
trayicon.defs > $@
clean:
rm -f *.o *.so trayicon.c *~