view Makefile.in @ 95:ab612180e7d0

- added identica support. linkfy and character counter work. icon support has not implemented yet. - put common code together.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Thu, 10 Jul 2008 00:12:03 +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