1 # Adapted from Pidgin's plugins/Makefile.am, thanks
7 -include ../localwin32.mk
12 -I$(PREFIX)/include/gtk-2.0 \
13 -I$(PREFIX)/lib/gtk-2.0/include \
14 -I$(PREFIX)/include/atk-1.0 \
15 -I$(PREFIX)/include/pango-1.0 \
16 -I$(PREFIX)/include/cairo \
17 -I$(PREFIX)/include/glib-2.0 \
18 -I$(PREFIX)/lib/glib-2.0/include \
19 -I$(PREFIX)/include/gettext \
24 -I../scintilla/include \
25 -I../tagmanager/include \
30 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 \
31 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
33 CBASEFLAGS=-Wall -pipe -mms-bitfields -DHAVE_CONFIG_H
35 CFLAGS=-O0 -g $(CBASEFLAGS)
37 CFLAGS=-O2 $(CBASEFLAGS)
42 ALL_GTK_LIBS += -liconv
45 .PHONY: all clean plugins
50 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDEDIRS) -o $@.o -c $<
51 $(CC) -shared $@.o $(ALL_GTK_LIBS) $(DLL_LD_FLAGS) -o $@
61 # Split Window is broken on Windows
65 -$(RM) deps.mak *.o *.dll
68 $(CC) -MM $(CFLAGS) $(DEFINES) $(INCLUDEDIRS) *.c >deps.mak
70 # Generate header dependencies with "make deps.mak"
74 echo # Set local variables here >$@