source: trunk/mk/default.mk @ 1125

Last change on this file since 1125 was 1098, checked in by titer, 15 years ago

Adds Zsh completion file (by Arnaud De Turckheim)

  • Property svn:keywords set to Date Rev Author Id
File size: 1.2 KB
Line 
1# $Id: default.mk 1098 2006-11-16 22:25:45Z livings124 $
2
3include mk/config.mk
4include mk/common.mk
5
6TARGETS = .cli
7ifeq ($(GTK),yes)
8TARGETS += .gtk
9endif
10ifeq ($(SYSTEM),BeOS)
11#TARGETS += .beos
12endif
13
14all: $(TARGETS)
15
16.lib:
17        @echo "* Building libtransmission"
18        @$(MAKE) -C libtransmission -f ../mk/lib.mk
19
20.cli: .lib
21        @echo "* Building Transmission CLI client"
22        @$(MAKE) -C cli -f ../mk/cli.mk
23
24.gtk: .lib
25        @echo "* Building Transmission GTK+ client"
26        @$(MAKE) -C gtk -f ../mk/gtk.mk
27
28.beos: .lib
29        @echo "* Building Transmission BeOS client"
30        @make -C beos -f ../mk/beos.mk
31
32install: all $(foreach SUB,$(TARGETS),.install$(SUB)) .install.misc
33
34.install.cli: .cli
35        @echo "* Installing Transmission CLI client"
36        @$(MAKE) -C cli -f ../mk/cli.mk install
37
38.install.gtk: .gtk
39        @echo "* Installing Transmission GTK+ client"
40        @$(MAKE) -C gtk -f ../mk/gtk.mk install
41
42.install.beos:
43
44.install.misc:
45        @echo "* Installing Zsh completion file"
46        @$(MKDIR) $(DESTDIR)$(PREFIX)/share/zsh/site-functions
47        @$(CP) misc/transmissioncli.zsh $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_transmissioncli
48
49clean:
50        @$(MAKE) -C libtransmission -f ../mk/lib.mk clean
51        @$(MAKE) -C cli -f ../mk/cli.mk clean
52ifeq ($(GTK),yes)
53        @$(MAKE) -C gtk -f ../mk/gtk.mk clean
54endif
55ifeq ($(SYSTEM),BeOS)
56        @$(MAKE) -C beos -f ../mk/beos.mk clean
57endif
Note: See TracBrowser for help on using the repository browser.