view Makefile.in @ 91:2b7ef3538cd3

- Fix type of 'flag' of writing_im_cb - Support a function which displays icons of sent messages via IM.
author Konosuke Watanabe <sasugaanija@gmail.com>
date Sun, 06 Jul 2008 17:43:44 +0900
parents f83b14fbca23
children a132905cece6
line wrap: on
line source

OBJECTIVE = pidgin-twitter.so
SRC = pidgin-twitter.c

PIDGIN_CFLAGS = @PIDGIN_CFLAGS@
GLIB_CFLAGS = @GLIB_CFLAGS@
CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(GLIB_CFLAGS)

GLIB_LIBS = @GLIB_LIBS@
LDFLAGS = $(GLIB_LIBS)

PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin


all: $(OBJECTIVE)


$(OBJECTIVE): $(SRC)
	gcc -o $@ $(SRC) $(CFLAGS) $(LDFLAGS) -g 


install: $(OBJECTIVE)
	install -m 755 $(OBJECTIVE) $(PIDGIN_PLUGIN_DIR)


clean:
	rm -f $(OBJECTIVE)


mostlyclean: clean
	rm -f Makefile config.log config.status aclocal.m4 *~
	rm -rf autom4te.cache


maintainer-clean: mostlyclean
	rm -f .hgtags
	rm -rf .hg