freebsd-ports/mail/gmail-notify/files/Makefile.in
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

24 lines
713 B
Makefile

# $FreeBSD$
# Makefile to build trayicon.so
CFLAGS = `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I@PYTHON_INCLUDEDIR@ -I. -Wall -I${LOCALBASE}/share/pygtk/2.0 -I${LOCALBASE}/libdata/pkgconfig -DEGG_COMPILATION -fPIC
LDFLAGS = `pkg-config --libs gtk+-2.0 pygtk-2.0`
DEFS_DIR= ${LOCALBASE}/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 *~