Mercurial > pidgin-twitter
comparison Makefile.in @ 126:bac987852e66
switched to native gtk preferences dialog.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 21 Jul 2008 10:40:55 +0900 |
parents | 0c4a83f734cd |
children | 173aa074f039 |
comparison
equal
deleted
inserted
replaced
125:f0305c387d32 | 126:bac987852e66 |
---|---|
1 OBJECTIVE = pidgin-twitter.so | 1 OBJECTIVE = pidgin-twitter.so |
2 SRC = pidgin-twitter.c | 2 SRC = pidgin-twitter.c |
3 HDR = ${SRC:.c=.h} | 3 HDR = ${SRC:.c=.h} |
4 | 4 |
5 PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin | |
6 PIDGIN_DATA_DIR = @PIDGIN_DATA_DIR@ | |
7 | |
5 PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ | 8 PIDGIN_CFLAGS = @PIDGIN_CFLAGS@ |
6 GLIB_CFLAGS = @GLIB_CFLAGS@ | 9 GLIB_CFLAGS = @GLIB_CFLAGS@ |
7 XML_CFLAGS = @XML_CFLAGS@ | 10 XML_CFLAGS = @XML_CFLAGS@ |
8 CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) | 11 CFLAGS = -fPIC -shared -Wall $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -DDATADIR=\"$(PIDGIN_DATA_DIR)\" |
9 | 12 |
10 GLIB_LIBS = @GLIB_LIBS@ | 13 GLIB_LIBS = @GLIB_LIBS@ |
11 LDFLAGS = $(GLIB_LIBS) $(XML_LIBS) | 14 LDFLAGS = $(GLIB_LIBS) $(XML_LIBS) |
12 | |
13 PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin | |
14 | |
15 | 15 |
16 all: $(OBJECTIVE) | 16 all: $(OBJECTIVE) |
17 | 17 |
18 | 18 |
19 $(OBJECTIVE): $(SRC) $(HDR) | 19 $(OBJECTIVE): $(SRC) $(HDR) |
20 gcc -o $@ $(SRC) $(CFLAGS) $(LDFLAGS) -g | 20 gcc -o $@ $(SRC) $(CFLAGS) $(LDFLAGS) -g |
21 | 21 |
22 | 22 |
23 install: $(OBJECTIVE) | 23 install: $(OBJECTIVE) |
24 install -m 755 $(OBJECTIVE) $(PIDGIN_PLUGIN_DIR) | 24 install -m 755 $(OBJECTIVE) $(PIDGIN_PLUGIN_DIR) |
25 | 25 install -D -m 644 prefs.ui $(PIDGIN_DATA_DIR)/pidgin-twitter/prefs.ui |
26 | 26 |
27 clean: | 27 clean: |
28 rm -f $(OBJECTIVE) | 28 rm -f $(OBJECTIVE) |
29 | 29 |
30 | 30 |