view Makefile.in @ 0:2413369d1b01

initial import
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Tue, 29 Apr 2008 14:35:36 +0900
parents
children 799955af57ad
line wrap: on
line source

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

PCRE_LIBS = @AUD_LIBS@
PCRE_LIB_DIR = @AUD_LIB_DIR@
LDFLAGS = $(PCRE_LIBS)

PIDGIN_LIB_DIR = @PIDGIN_LIB_DIR@


default: pidgin-twitter.so

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


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


clean:
	rm -f pidgin-twitter.so


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