a9b10338d9c114e93c842501fed67b7e29fff795
[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 sc stats tickcount
13
14 UTIL_NET_APPS =
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 dist: $(UTIL_APPS:%=%_dist) \
31 $(UTIL_NET_APPS:%=%_dist)
32
33 .PHONY: all depends implib clean install dist
34
35
36 #
37 # Utility Applications
38 #
39 $(UTIL_APPS): %:
40 make -C $*
41
42 $(UTIL_APPS:%=%_implib): %_implib:
43 make -C $* implib
44
45 $(UTIL_APPS:%=%_clean): %_clean:
46 make -C $* clean
47
48 $(UTIL_APPS:%=%_dist): %_dist:
49 make -C $* dist
50
51 $(UTIL_APPS:%=%_install): %_install:
52 make -C $* install
53
54 .PHONY: $(UTIL_APPS) $(UTIL_APPS:%=%_implib) $(UTIL_APPS:%=%_clean) $(UTIL_APPS:%=%_install) $(UTIL_APPS:%=%_dist)
55
56
57 #
58 # GUI Utility Applications
59 #
60 $(UTIL_NET_APPS): %:
61 make -C net/$*
62
63 $(UTIL_NET_APPS:%=%_implib): %_implib:
64 make -C net/$* implib
65
66 $(UTIL_NET_APPS:%=%_clean): %_clean:
67 make -C net/$* clean
68
69 $(UTIL_NET_APPS:%=%_dist): %_dist:
70 make -C net/$* dist
71
72 $(UTIL_NET_APPS:%=%_install): %_install:
73 make -C net/$* install
74
75 .PHONY: $(UTIL_NET_APPS) $(UTIL_NET_APPS:%=%_implib) $(UTIL_NET_APPS:%=%_clean) $(UTIL_NET_APPS:%=%_install) $(UTIL_NET_APPS:%=%_dist)
76
77
78 etags:
79 find . -name "*.[ch]" -print | etags --language=c -
80
81 # EOF
82