Mercurial > pidgin
view plugins/Makefile.mingw @ 6463:eafaf58b61b6
[gaim-migrate @ 6972]
(23:03:49) Robot101: LSchiere: GAIM_{ERROR,WARNING,INFO,...} and EDIT_{GC,GROUP,BUDDY} in ui.h are unused and can be garbage collected
(23:04:10) Robot101: HEH
(23:04:16) Robot101: I never knew core.h had trogdor in it =)
(23:04:26) LSchiere: those are semi-namespaced, does ChipX86|Gone have plans for them?
(23:04:41) Robot101: they're deprecated.
(23:04:46) Robot101: not used anywhere in code
(23:05:01) Robot101: left over garbage from a subsystem rewritten years ago... =)
(23:05:26) LSchiere: icq.c uses GAIM_ERROR
(23:06:05) Robot101: icq.c hasn't had a rat's chance in hell of compiling since about 0.64 =)
(23:06:16) LSchiere: lol, yeah that's probly true
(23:06:30) Robot101: it still uses do_error_dialog
(23:06:35) Robot101: which is, er, gone. =)
(23:06:56) LSchiere: GAIM_LOGO is that used?
(23:07:04) Robot101: no
(23:07:18) Robot101: those 4 were for selecting the icons in the error dialog
(23:07:23) Robot101: which is long gone
(23:07:34) Robot101: and I have NFI what EDIT_* were, but they're not used either
(23:08:06) Robot101: some day soon ui.h will be totally gone
(23:08:07) ***Robot101 drools
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 14 Aug 2003 03:08:25 +0000 |
parents | ea689dbf1a57 |
children | c92dbccd7448 |
line wrap: on
line source
# # Makefile.mingw # # Description: Makefile for win32 (mingw) version of Gaim Plugins # # # PATHS # GAIM_PLUGINS := . GAIM_TOP := .. GTK_TOP := ../../win32-dev/gtk_2_0 OSCAR_ROOT := ../src/protocols/oscar GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir TICKER := ./ticker TRANSPARENCY := ./win32/transparency WINPREFS := ./win32/winprefs PERL_PLUGIN_LOADER := ./perl DOCKLET := ./docklet ## ## VARIABLE DEFINITIONS ## # Compiler Options CFLAGS = DEFINES = .SUFFIXES: .SUFFIXES: .c .dll ## ## INCLUDE MAKEFILES ## include $(GAIM_TOP)/src/win32/global.mak ## ## INCLUDE PATHS ## INCLUDE_PATHS += -I$(OSCAR_ROOT) \ -I$(GTK_TOP)/include \ -I$(GTK_TOP)/include/gtk-2.0 \ -I$(GTK_TOP)/include/glib-2.0 \ -I$(GTK_TOP)/include/pango-1.0 \ -I$(GTK_TOP)/include/atk-1.0 \ -I$(GTK_TOP)/lib/glib-2.0/include \ -I$(GTK_TOP)/lib/gtk-2.0/include \ -I$(GAIM_TOP) \ -I$(GAIM_TOP)/src \ -I$(GAIM_TOP)/src/win32 LIB_PATHS = -L$(GTK_TOP)/lib \ -L$(GAIM_TOP)/src ## ## LIBRARIES ## LIBS = -lgtk-win32-2.0 \ -lglib-2.0 \ -lgdk-win32-2.0 \ -lgobject-2.0 \ -lgmodule-2.0 \ -lgdk_pixbuf-2.0 \ -lpango-1.0 \ -lintl \ -lws2_32 \ -lgaim ## ## RULES ## ## ## TARGET DEFINITIONS ## .PHONY: all clean all: plugins $(MAKE) -C $(TICKER) -f Makefile.mingw $(MAKE) -C $(WINPREFS) -f Makefile.mingw $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw $(MAKE) -C $(DOCKLET) -f Makefile.mingw install: cp $(GAIM_PLUGINS)/*.dll $(GAIM_INSTALL_DIR)/plugins $(MAKE) -C $(TICKER) -f Makefile.mingw install $(MAKE) -C $(WINPREFS) -f Makefile.mingw install $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw install $(MAKE) -C $(DOCKLET) -f Makefile.mingw install # # BUILD Plugin # .c.dll: $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ plugins: \ autorecon.dll \ history.dll \ iconaway.dll \ idle.dll \ spellchk.dll \ statenotify.dll \ timestamp.dll ## ## CLEAN RULES ## clean: rm -rf *.o rm -rf *.dll $(MAKE) -C $(TICKER) -f Makefile.mingw clean $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw clean $(MAKE) -C $(WINPREFS) -f Makefile.mingw clean $(MAKE) -C $(PERL_PLUGIN_LOADER) -f Makefile.mingw clean $(MAKE) -C $(DOCKLET) -f Makefile.mingw clean