# HG changeset patch # User Mark Doliner # Date 1155972364 0 # Node ID cfda6170694da2b6eb98892d508fa4ce9cb3e0aa # Parent ecc7f6f64ddd034837443ec5d1bcea5b7b93e13d [gaim-migrate @ 16878] We don't need this directory any more, do we? committer: Tailor Script diff -r ecc7f6f64ddd -r cfda6170694d plugins/Makefile.am --- a/plugins/Makefile.am Sat Aug 19 07:16:27 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,155 +0,0 @@ -if ENABLE_GTK - -if BUILD_GEVOLUTION -GEVOLUTION_DIR = gevolution -endif # GEvolution - -if USE_PERL -PERL_DIR = perl -endif # Perl - -gtk_dirs = docklet $(GEVOLUTION_DIR) gestures musicmessaging $(PERL_DIR) ticker -endif # GTK - -DIST_SUBDIRS = mono ssl tcl $(gtk_dirs) - -if USE_TCL -TCL_DIR = tcl -endif - -if ENABLE_DBUS -DBUS_LTLIB = dbus-example.la - -if ENABLE_GTK -# Only use music messaging if dbus is enabled -MUSICMESSAGING_DIR = musicmessaging -endif -endif - -if USE_MONO -MONO_DIR = mono -endif - -SUBDIRS = \ - $(MONO_DIR) \ - ssl \ - $(TCL_DIR) \ - $(gtk_dirs) - -plugindir = $(libdir)/gaim - -idle_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -psychic_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -relnot_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -statenotify_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) - -# this can't be in a conditional otherwise automake 1.4 yells -dbus_example_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) $(DBUS_LIBS) - -if PLUGINS - -if ENABLE_GTK -gtk_plugins = \ - extplacement.la \ - gaimrc.la \ - history.la \ - iconaway.la \ - notify.la \ - spellchk.la \ - timestamp.la \ - timestamp_format.la - -extplacement_la_SOURCES = extplacement.c -gaimrc_la_SOURCES = gaimrc.c -history_la_SOURCES = history.c -iconaway_la_SOURCES = iconaway.c -notify_la_SOURCES = notify.c -spellchk_la_SOURCES = spellchk.c -timestamp_la_SOURCES = timestamp.c -timestamp_format_la_SOURCES = timestamp_format.c - -extplacement_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) -gaimrc_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -history_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -iconaway_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -notify_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -spellchk_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -timestamp_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) -timestamp_format_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) - -endif # ENABLE_GTK - -plugin_LTLIBRARIES = \ - idle.la \ - psychic.la \ - relnot.la \ - statenotify.la \ - $(gtk_plugins) \ - $(DBUS_LTLIB) - -idle_la_SOURCES = idle.c -psychic_la_SOURCES = psychic.c -relnot_la_SOURCES = relnot.c -statenotify_la_SOURCES = statenotify.c - -if ENABLE_DBUS - -CLEANFILES = dbus-example-bindings.c -dbus_example_la_SOURCES = dbus-example.c - -.PHONY: always - -$(top_builddir)/src/dbus-types.h: always - cd $(@D) && $(MAKE) $(AM_MAKEFLAGS) $(@F) - -dbus-example-bindings.c: $(top_srcdir)/src/dbus-analyze-functions.py $(dbus_example_la_SOURCES) - cat $(srcdir)/$(dbus_example_la_SOURCES) | \ - $(PYTHON) $(top_srcdir)/src/dbus-analyze-functions.py --export-only > $@ - -$(dbus_example_la_OBJECTS) dbus-example.so: dbus-example-bindings.c $(top_builddir)/src/dbus-types.h - - -endif # ENABLE_DBUS - -endif # PLUGINS - -EXTRA_DIST = \ - ChangeLog HOWTO \ - ChangeLog.API \ - Makefile.mingw \ - contact_priority.c \ - dbus-buddyicons-example.py \ - filectl.c \ - fortuneprofile.pl \ - gaim.pl \ - gaiminc.c \ - gtk-signals-test.c \ - ipc-test-client.c \ - ipc-test-server.c \ - mailchk.c \ - pluginpref_example.c \ - raw.c \ - signals-test.c \ - simple.c - -AM_CPPFLAGS = \ - -DDATADIR=\"$(datadir)\" \ - -DVERSION=\"$(VERSION)\" \ - -I$(top_builddir)/src \ - -I$(top_srcdir)/src \ - $(DEBUG_CFLAGS) \ - $(GTK_CFLAGS) \ - $(PLUGIN_CFLAGS) \ - $(DBUS_CFLAGS) - -# -# This part allows people to build their own plugins in here. -# Yes, it's a mess. -# -SUFFIXES = .c .so -.c.so: - $(LIBTOOL) --mode=compile $(CC) -DHAVE_CONFIG_H -I$(top_srcdir) $(AM_CPPFLAGS) $(CFLAGS) -c $< -o tmp$@.lo $(PLUGIN_CFLAGS) - $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la -rpath $(plugindir) tmp$@.lo $(LIBS) $(LDFLAGS) -module -avoid-version $(PLUGIN_LIBS) - @rm -f tmp$@.lo tmp$@.o libtmp$@.la - @cp .libs/libtmp$@.so* $@ - @rm -f .libs/libtmp$@.* diff -r ecc7f6f64ddd -r cfda6170694d plugins/Makefile.mingw --- a/plugins/Makefile.mingw Sat Aug 19 07:16:27 2006 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,144 +0,0 @@ -# -# 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 -TCL_PLUGIN_LOADER := ./tcl -DOCKLET := ./docklet -SSL := ./ssl - -## -## 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 $(TCL_PLUGIN_LOADER) -f Makefile.mingw - $(MAKE) -C $(DOCKLET) -f Makefile.mingw - $(MAKE) -C $(SSL) -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 $(TCL_PLUGIN_LOADER) -f Makefile.mingw install - $(MAKE) -C $(DOCKLET) -f Makefile.mingw install - $(MAKE) -C $(SSL) -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: \ - extplacement.dll \ - gaimrc.dll \ - history.dll \ - iconaway.dll \ - idle.dll \ - notify.dll \ - psychic.dll \ - relnot.dll \ - spellchk.dll \ - statenotify.dll \ - timestamp_format.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 $(TCL_PLUGIN_LOADER) -f Makefile.mingw clean - $(MAKE) -C $(DOCKLET) -f Makefile.mingw clean - $(MAKE) -C $(SSL) -f Makefile.mingw clean