view Makefile.in @ 1:46071692f191

implement new replace logic to status and userinfo.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 28 Jun 2007 21:36:17 +0900
parents 8d4d17a528ef
children dc3aa0bf24c0
line wrap: on
line source

PIDGIN_CFLAGS = @PIDGIN_CFLAGS@
AUD_CFLAGS = @AUD_CFLAGS@
DBUS_GLIB_CFLAGS = @DBUS_GLIB_CFLAGS@
CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(AUD_CFLAGS) $(DBUS_GLIB_CFLAGS)

AUD_LIBS = @AUD_LIBS@
AUD_LIB_DIR = @AUD_LIB_DIR@
DBUS_GLIB_LIBS = @DBUS_GLIB_LIBS@
DBUS_GLIB_LIB_DIR = @DBUS_GLIB_LIB_DIR@
LDFLAGS = $(AUD_LIBS) $(DBUS_GLIB_LIBS)

PIDGIN_LIB_DIR = @PIDGIN_LIB_DIR@


default: pidgin-audacious.so

pidgin-audacious.so: pidgin-audacious.c
	gcc -o $@ $< $(CFLAGS) $(LDFLAGS) -g -Wl,-rpath=$(AUD_LIB_DIR)


install: pidgin-audacious.so
	install -m 755 pidgin-audacious.so $(PIDGIN_LIB_DIR)/pidgin


clean:
	rm -f pidgin-audacious.so


distclean: clean
	rm -f Makefile config.log config.status *~
	rm -rf autom4te.cache