Mercurial > pidgin-twitter
annotate Makefile.in @ 95:ab612180e7d0
- added identica support. linkfy and character counter work. icon support has not implemented yet.
- put common code together.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Thu, 10 Jul 2008 00:12:03 +0900 |
parents | f83b14fbca23 |
children | a132905cece6 |
rev | line source |
---|---|
2 | 1 OBJECTIVE = pidgin-twitter.so |
2 SRC = pidgin-twitter.c | |
3 | |
0 | 4 PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ |
1 | 5 GLIB_CFLAGS = @GLIB_CFLAGS@ |
6 CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) | |
0 | 7 |
1 | 8 GLIB_LIBS = @GLIB_LIBS@ |
9 LDFLAGS = $(GLIB_LIBS) | |
0 | 10 |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
11 PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin |
0 | 12 |
13 | |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
14 all: $(OBJECTIVE) |
0 | 15 |
2 | 16 |
17 $(OBJECTIVE): $(SRC) | |
75
f83b14fbca23
fix GNUmake idiom. $< in not allowed in a non-suffix rule.
IWATA Ray <iratqq@gmail.com>
parents:
57
diff
changeset
|
18 gcc -o $@ $(SRC) $(CFLAGS) $(LDFLAGS) -g |
0 | 19 |
20 | |
2 | 21 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
|
22 install -m 755 $(OBJECTIVE) $(PIDGIN_PLUGIN_DIR) |
0 | 23 |
24 | |
25 clean: | |
2 | 26 rm -f $(OBJECTIVE) |
0 | 27 |
28 | |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
29 mostlyclean: clean |
4
9ac8cea32513
now distclean erases aclocal.m4 too
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
2
diff
changeset
|
30 rm -f Makefile config.log config.status aclocal.m4 *~ |
0 | 31 rm -rf autom4te.cache |
2 | 32 |
57
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
33 |
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
34 maintainer-clean: mostlyclean |
8e1c8afac4dd
- adaptation for $prefix. now configure go along with fakeroot etc.
Yoshiki Yazawa <yaz@cc.rim.or.jp>
parents:
4
diff
changeset
|
35 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
|
36 rm -rf .hg |