update files (rundll32 moved)
[reactos.git] / reactos / apps / utils / Makefile
1 #
2 # ReactOS system utilities makefile
3 #
4
5 PATH_TO_TOP = ../..
6
7 include $(PATH_TO_TOP)/rules.mak
8
9
10 # Console system utilities
11 # cabman cat net objdir partinfo pice ps sc stats
12 UTIL_APPS = cat objdir partinfo pnpdump sc shutdown stats tickcount consw ps
13
14 UTIL_NET_APPS = arp finger ftp ipconfig netstat ping route telnet whois
15
16
17 all: $(UTIL_APPS) $(UTIL_NET_APPS)
18
19 depends:
20
21 implib: $(UTIL_APPS:%=%_implib) \
22 $(UTIL_NET_APPS:%=%_implib)
23
24 clean: $(UTIL_APPS:%=%_clean) \
25 $(UTIL_NET_APPS:%=%_clean)
26
27 install: $(UTIL_APPS:%=%_install) \
28 $(UTIL_NET_APPS:%=%_install)
29
30 .PHONY: all depends implib clean install
31
32
33 #
34 # Utility Applications
35 #
36 $(UTIL_APPS): %:
37 $(MAKE) -C $*
38
39 $(UTIL_APPS:%=%_implib): %_implib:
40 $(MAKE) -C $* implib
41
42 $(UTIL_APPS:%=%_clean): %_clean:
43 $(MAKE) -C $* clean
44
45 $(UTIL_APPS:%=%_install): %_install:
46 $(MAKE) -C $* install
47
48 .PHONY: $(UTIL_APPS) $(UTIL_APPS:%=%_implib) $(UTIL_APPS:%=%_clean) $(UTIL_APPS:%=%_install)
49
50 #
51 # GUI Utility Applications
52 #
53 $(UTIL_NET_APPS): %:
54 $(MAKE) -C net/$*
55
56 $(UTIL_NET_APPS:%=%_implib): %_implib:
57 $(MAKE) -C net/$* implib
58
59 $(UTIL_NET_APPS:%=%_clean): %_clean:
60 $(MAKE) -C net/$* clean
61
62 $(UTIL_NET_APPS:%=%_install): %_install:
63 $(MAKE) -C net/$* install
64
65 .PHONY: $(UTIL_NET_APPS) $(UTIL_NET_APPS:%=%_implib) $(UTIL_NET_APPS:%=%_clean) $(UTIL_NET_APPS:%=%_install)
66
67
68 etags:
69 find . -name "*.[ch]" -print | etags --language=c -
70
71 # EOF