File: Makefile.in

package info (click to toggle)
pidgin-twitter 0.9.2.1-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 660 kB
  • ctags: 452
  • sloc: ansic: 6,383; makefile: 86; sh: 45
file content (55 lines) | stat: -rw-r--r-- 1,095 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
TARGET = pidgin-twitter.so
SRCS = main.c util.c prefs.c icon.c twitter_api.c
OBJS = ${SRCS:.c=.o}
DEPEND = .deps

PIDGIN_PLUGIN_DIR = @PIDGIN_PREFIX@/lib/pidgin
PIDGIN_DATA_DIR = @PIDGIN_PREFIX@/share

PIDGIN_CFLAGS = @PIDGIN_CFLAGS@
GLIB_CFLAGS = @GLIB_CFLAGS@
XML_CFLAGS = @XML_CFLAGS@
CFLAGS += -fPIC -shared -Wall -Werror -g $(PIDGIN_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -DDATADIR=\"$(PIDGIN_DATA_DIR)\"

GLIB_LIBS = @GLIB_LIBS@
XML_LIBS = @XML_LIBS@
LDFLAGS += -fPIC -shared -Wall $(GLIB_LIBS) $(XML_LIBS)

all: $(TARGET)


$(TARGET): $(OBJS)
	$(CC) -o $@ $^ $(LDFLAGS)


.c.o:
	$(CC) -o $@ $< -c $(CFLAGS) $(CPPFLAGS)


install: $(TARGET)
	install -m 755 $(TARGET) $(PIDGIN_PLUGIN_DIR)
	install -d -m 755 $(PIDGIN_DATA_DIR)/pidgin-twitter
	install -m 644 prefs.ui $(PIDGIN_DATA_DIR)/pidgin-twitter


clean:
	rm -f $(TARGET) $(OBJS) $(DEPEND)


distclean: clean
	rm -f Makefile config.log config.status


maintainer-clean: distclean
	rm -rf autom4te.cache aclocal.m4 *~


release: maintainer-clean
	rm -f .hgtags
	rm -rf .hg


$(DEPEND): $(SRCS)
	$(CC) -MM $(SRCS) > $@

-include $(DEPEND)