Mercurial > pidgin-twitter
annotate Makefile.in @ 252:04395314960f
Added tag 0.8.0 for changeset cff8508bcb1d
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 28 Oct 2008 12:33:45 +0900 |
parents | a73dae7d8d78 |
children | c2620a99622b |
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@ |
230
a73dae7d8d78
libxml2 linkage had been broken.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
132
diff
changeset
|
14 XML_LIBS = @XML_LIBS@ |
115
7d0dd0e1dbd0
very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
106
diff
changeset
|
15 LDFLAGS = $(GLIB_LIBS) $(XML_LIBS) |
0 | 16 |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
17 all: $(OBJECTIVE) |
0 | 18 |
2 | 19 |
119
0c4a83f734cd
- duplication avoidance for the posted messages has been implemented.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
115
diff
changeset
|
20 $(OBJECTIVE): $(SRC) $(HDR) |
131
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
21 gcc -o $@ $(SRC) $(CFLAGS) $(LDFLAGS) -g |
0 | 22 |
23 | |
2 | 24 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
|
25 install -m 755 $(OBJECTIVE) $(PIDGIN_PLUGIN_DIR) |
131
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
26 install -d -m 755 $(PIDGIN_DATA_DIR)/pidgin-twitter |
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
27 install -m 644 prefs.ui $(PIDGIN_DATA_DIR)/pidgin-twitter |
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
28 |
0 | 29 |
30 clean: | |
2 | 31 rm -f $(OBJECTIVE) |
0 | 32 |
33 | |
106 | 34 distclean: clean |
35 rm -f Makefile config.log config.status | |
2 | 36 |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
37 |
106 | 38 maintainer-clean: distclean |
39 rm -rf autom4te.cache aclocal.m4 *~ | |
40 | |
41 | |
42 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
|
43 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
|
44 rm -rf .hg |