1 # Adapted from Pidgin's plugins/Makefile.am, thanks
7 -include ../localwin32.mk
16 -I$(PREFIX)/include/gtk-2.0 \
17 -I$(PREFIX)/lib/gtk-2.0/include \
18 -I$(PREFIX)/include/atk-1.0 \
19 -I$(PREFIX)/include/cairo \
20 -I$(PREFIX)/include/gdk-pixbuf-2.0 \
21 -I$(PREFIX)/include/pango-1.0 \
22 -I$(PREFIX)/include/glib-2.0 \
23 -I$(PREFIX)/lib/glib-2.0/include \
25 -I$(PREFIX)/include/gettext
29 -I../scintilla/include \
35 -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 \
36 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
38 CBASEFLAGS=-Wall -pipe -mms-bitfields -DHAVE_CONFIG_H
40 CFLAGS=-O0 -g $(CBASEFLAGS)
42 CFLAGS=-O2 $(CBASEFLAGS)
47 ALL_GTK_LIBS += -liconv
50 .PHONY: all clean plugins
55 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDEDIRS) -o $@ -c $<
58 $(CC) -shared $< $(ALL_GTK_LIBS) $(DLL_LD_FLAGS) -o $@
71 -$(RM) deps.mak *.o *.dll
74 $(CC) -MM $(CFLAGS) $(DEFINES) $(INCLUDEDIRS) *.c >deps.mak
76 # Generate header dependencies with "make deps.mak"
80 echo # Set local variables here >$@