view Makefile.in @ 122:a37dd74c8355

- adapted to identi.ca changes. - try to get rid of variable 'timezone'.
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 18 Jul 2008 18:19:58 +0900
parents 0c4a83f734cd
children bac987852e66
line wrap: on
line source

OBJECTIVE = pidgin-twitter.so
SRC = pidgin-twitter.c
HDR = ${SRC:.c=.h}

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

GLIB_LIBS = @GLIB_LIBS@
LDFLAGS = $(GLIB_LIBS) $(XML_LIBS)

PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin


all: $(OBJECTIVE)


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


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


clean:
	rm -f $(OBJECTIVE)


distclean: clean
	rm -f Makefile config.log config.status


maintainer-clean: distclean
	rm -rf autom4te.cache aclocal.m4 *~


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