Mercurial > pidgin-twitter
annotate Makefile.in @ 274:934c4b053247
fixed a breakage which had prevented post to twitter.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 12 Dec 2008 22:43:48 +0900 |
parents | dcf53bc05627 |
children | fd0948c7078e |
rev | line source |
---|---|
254
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
1 TARGET = pidgin-twitter.so |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
2 SRCS = main.c util.c prefs.c icon.c twitter_api.c |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
3 OBJS = ${SRCS:.c=.o} |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
4 DEPEND = .deps |
2 | 5 |
126
bac987852e66
switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
119
diff
changeset
|
6 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
|
7 PIDGIN_DATA_DIR = @PIDGIN_PREFIX@/share |
126
bac987852e66
switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
119
diff
changeset
|
8 |
0 | 9 PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ |
1 | 10 GLIB_CFLAGS = @GLIB_CFLAGS@ |
115
7d0dd0e1dbd0
very preliminary twitter API get status feature.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
106
diff
changeset
|
11 XML_CFLAGS = @XML_CFLAGS@ |
126
bac987852e66
switched to native gtk preferences dialog.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
119
diff
changeset
|
12 CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -DDATADIR=\"$(PIDGIN_DATA_DIR)\" |
0 | 13 |
1 | 14 GLIB_LIBS = @GLIB_LIBS@ |
230
a73dae7d8d78
libxml2 linkage had been broken.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
132
diff
changeset
|
15 XML_LIBS = @XML_LIBS@ |
254
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
16 LDFLAGS = -fPIC -shared -Wall $(GLIB_LIBS) $(XML_LIBS) |
0 | 17 |
254
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
18 all: $(TARGET) |
0 | 19 |
2 | 20 |
254
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
21 $(TARGET): $(OBJS) |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
22 $(CC) -o $@ $^ $(LDFLAGS) |
0 | 23 |
24 | |
254
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
25 .c.o: |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
26 $(CC) -o $@ $< -c $(CFLAGS) |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
27 |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
28 |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
29 install: $(TARGET) |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
30 install -m 755 $(TARGET) $(PIDGIN_PLUGIN_DIR) |
131
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
31 install -d -m 755 $(PIDGIN_DATA_DIR)/pidgin-twitter |
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
32 install -m 644 prefs.ui $(PIDGIN_DATA_DIR)/pidgin-twitter |
173aa074f039
adapted to BSD install.
Yoshiki Yazawa <yaz@honeyplnaet.jp>
parents:
126
diff
changeset
|
33 |
0 | 34 |
35 clean: | |
254
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
36 rm -f $(TARGET) $(OBJS) $(DEPEND) |
0 | 37 |
38 | |
106 | 39 distclean: clean |
40 rm -f Makefile config.log config.status | |
2 | 41 |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
42 |
106 | 43 maintainer-clean: distclean |
44 rm -rf autom4te.cache aclocal.m4 *~ | |
45 | |
46 | |
47 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
|
48 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
|
49 rm -rf .hg |
254
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
50 |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
51 |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
52 $(DEPEND): $(SRCS) |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
53 $(CC) -MM $(SRCS) > $@ |
c2620a99622b
- divided the source file into several parts.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
230
diff
changeset
|
54 |
255
dcf53bc05627
do not emit an error message if .deps does not exist.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
254
diff
changeset
|
55 -include $(DEPEND) |