Mercurial > pidgin-twitter
comparison Makefile.in @ 1:799955af57ad
alpha version
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Tue, 29 Apr 2008 20:59:37 +0900 |
parents | 2413369d1b01 |
children | 53ee194b5ff5 |
comparison
equal
deleted
inserted
replaced
0:2413369d1b01 | 1:799955af57ad |
---|---|
1 PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ | 1 PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ |
2 PCRE_CFLAGS = @PCRE_CFLAGS@ | 2 GLIB_CFLAGS = @GLIB_CFLAGS@ |
3 CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(PCRE_CFLAGS) | 3 CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) |
4 | 4 |
5 PCRE_LIBS = @AUD_LIBS@ | 5 GLIB_LIBS = @GLIB_LIBS@ |
6 PCRE_LIB_DIR = @AUD_LIB_DIR@ | 6 LDFLAGS = $(GLIB_LIBS) |
7 LDFLAGS = $(PCRE_LIBS) | |
8 | 7 |
9 PIDGIN_LIB_DIR = @PIDGIN_LIB_DIR@ | 8 PIDGIN_LIB_DIR = @PIDGIN_LIB_DIR@ |
10 | 9 |
11 | 10 |
12 default: pidgin-twitter.so | 11 default: pidgin-twitter.so |
13 | 12 |
14 pidgin-twitter.so: pidgin-twitter.c | 13 pidgin-twitter.so: pidgin-twitter.c |
15 gcc -o $@ $< $(CFLAGS) $(LDFLAGS) -g -Wl,-rpath=$(PCRE_LIB_DIR) | 14 gcc -o $@ $< $(CFLAGS) $(LDFLAGS) -g |
16 | 15 |
17 | 16 |
18 install: pidgin-twitter.so | 17 install: pidgin-twitter.so |
19 install -m 755 pidgin-twitter.so $(PIDGIN_LIB_DIR)/pidgin | 18 install -m 755 pidgin-twitter.so $(PIDGIN_LIB_DIR)/pidgin |
20 | 19 |