Mercurial > pidgin-twitter
annotate Makefile.in @ 224:1fcd0e589b9e
revised the recipient pattern. new pattern can handle:
- recipient name surrounded by non ascii characters without any space.
- recipient name accidentally escaped with '.' such as ".@foo".
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 06 Sep 2008 23:47:17 +0900 |
parents | 484ca3d18ebb |
children | a73dae7d8d78 |
rev | line source |
---|---|
2 | 1 OBJECTIVE = pidgin-twitter.so |
2 SRC = pidgin-twitter.c | |
119
0c4a83f734cd
- duplication avoidance for the posted messages has been implemented.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
115
diff
changeset
|
3 HDR = ${SRC:.c=.h} |
2 | 4 |
126
bac987852e66
switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
119
diff
changeset
|
5 PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin |
132
484ca3d18ebb
use PIDGIN_PREFIX to generate PIDGIN_DATA_DIR.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
131
diff
changeset
|
6 PIDGIN_DATA_DIR = @PIDGIN_PREFIX@/share |
126
bac987852e66
switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
119
diff
changeset
|
7 |
0 | 8 PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ |
1 | 9 GLIB_CFLAGS = @GLIB_CFLAGS@ |
115
7d0dd0e1dbd0
very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
106
diff
changeset
|
10 XML_CFLAGS = @XML_CFLAGS@ |
126
bac987852e66
switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
119
diff
changeset
|
11 CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -DDATADIR=\"$(PIDGIN_DATA_DIR)\" |
0 | 12 |
1 | 13 GLIB_LIBS = @GLIB_LIBS@ |
115
7d0dd0e1dbd0
very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
106
diff
changeset
|
14 LDFLAGS = $(GLIB_LIBS) $(XML_LIBS) |
0 | 15 |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
16 all: $(OBJECTIVE) |
0 | 17 |
2 | 18 |
119
0c4a83f734cd
- duplication avoidance for the posted messages has been implemented.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
115
diff
changeset
|
19 $(OBJECTIVE): $(SRC) $(HDR) |
131
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
20 gcc -o $@ $(SRC) $(CFLAGS) $(LDFLAGS) -g |
0 | 21 |
22 | |
2 | 23 install: $(OBJECTIVE) |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
24 install -m 755 $(OBJECTIVE) $(PIDGIN_PLUGIN_DIR) |
131
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
25 install -d -m 755 $(PIDGIN_DATA_DIR)/pidgin-twitter |
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
26 install -m 644 prefs.ui $(PIDGIN_DATA_DIR)/pidgin-twitter |
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
27 |
0 | 28 |
29 clean: | |
2 | 30 rm -f $(OBJECTIVE) |
0 | 31 |
32 | |
106 | 33 distclean: clean |
34 rm -f Makefile config.log config.status | |
2 | 35 |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
36 |
106 | 37 maintainer-clean: distclean |
38 rm -rf autom4te.cache aclocal.m4 *~ | |
39 | |
40 | |
41 release: maintainer-clean | |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
42 rm -f .hgtags |
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
43 rm -rf .hg |