4 # Description: Makefile for win32 (mingw) version of Gaim Plugins
13 GTK_TOP := ../../win32-dev/gtk_2_0
14 OSCAR_ROOT := ../src/protocols/oscar
15 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir
17 TRANSPARENCY := ./win32/transparency
20 ## VARIABLE DEFINITIONS
36 include $(GAIM_TOP)/src/win32/global.mak
42 INCLUDE_PATHS += -I$(OSCAR_ROOT) \
43 -I$(GTK_TOP)/include \
44 -I$(GTK_TOP)/include/gtk-2.0 \
45 -I$(GTK_TOP)/include/glib-2.0 \
46 -I$(GTK_TOP)/include/pango-1.0 \
47 -I$(GTK_TOP)/include/atk-1.0 \
48 -I$(GTK_TOP)/lib/glib-2.0/include \
49 -I$(GTK_TOP)/lib/gtk-2.0/include \
52 -I$(GAIM_TOP)/src/win32
55 LIB_PATHS = -L$(GTK_TOP)/lib \
63 LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -liberty -lgaim
76 $(MAKE) -C $(TICKER) -f Makefile.mingw
77 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw
80 cp $(GAIM_PLUGINS)/*.dll $(GAIM_PLUGINS)/gaim.pl $(GAIM_INSTALL_DIR)/plugins
81 $(MAKE) -C $(TICKER) -f Makefile.mingw install
82 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install
89 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $<
90 dlltool -D $@ -z $@.def tmp$@.o
91 $(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS)
92 dlltool -D $@ -b $@.base -e $@.exp -d $@.def
93 $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS)
94 rm -rf $@.base $@.def $@.exp junk.tmp
96 plugins: iconaway.dll spellchk.dll
106 $(MAKE) -C $(TICKER) -f Makefile.mingw clean
107 $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean