view plugins/Makefile.am @ 190:3a8809beb5ce

[gaim-migrate @ 200] -fPIC -DPIC is a better flag than -Wl,-soname,$@ because the former works on SunOS and the latter doesn't. Both work on linux. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 27 Apr 2000 08:16:15 +0000
parents c664bc1f484a
children 948100a8cb23
line wrap: on
line source

SUFFIXES = .c .so
if GNOMEAPPLET
CFLAGS += $(GTK_CFLAGS) $(GNOME_INCLUDEDIR) -I../src -DUSE_APPLET
else
CFLAGS += $(GTK_CFLAGS) -I../src
endif
LDFLAGS += -ggdb $(GTK_LIBS) -shared
.c.so:
	$(CC) $(CFLAGS) -fPIC -DPIC -o $@ $< $(LDFLAGS)
plugin_DATA = autorecon.so iconaway.so spellchk.so
plugindir = $(libdir)/gaim
EXTRA_DIST = CRAZY HOWTO SIGNALS autorecon.c chkmail.c filectl.c gaiminc.c \
	iconaway.c simple.c spellchk.c toc_commands.c