2 # ReactOS system utilities makefile
7 include $(PATH_TO_TOP
)/rules.mak
10 # Console system utilities
11 # cabman cat net objdir partinfo pice ps sc stats
12 UTIL_APPS
= cat objdir partinfo sc stats tickcount
17 all: $(UTIL_APPS
) $(UTIL_NET_APPS
)
21 implib
: $(UTIL_APPS
:%=%_implib
) \
22 $(UTIL_NET_APPS
:%=%_implib
)
24 clean: $(UTIL_APPS
:%=%_clean
) \
25 $(UTIL_NET_APPS
:%=%_clean
)
27 install: $(UTIL_APPS
:%=%_install
) \
28 $(UTIL_NET_APPS
:%=%_install
)
30 dist: $(UTIL_APPS
:%=%_dist
) \
31 $(UTIL_NET_APPS
:%=%_dist
)
33 .PHONY
: all depends implib
clean install dist
37 # Utility Applications
42 $(UTIL_APPS
:%=%_implib
): %_implib
:
45 $(UTIL_APPS
:%=%_clean
): %_clean
:
48 $(UTIL_APPS
:%=%_dist
): %_dist
:
51 $(UTIL_APPS
:%=%_install
): %_install
:
54 .PHONY
: $(UTIL_APPS
) $(UTIL_APPS
:%=%_implib
) $(UTIL_APPS
:%=%_clean
) $(UTIL_APPS
:%=%_install
) $(UTIL_APPS
:%=%_dist
)
58 # GUI Utility Applications
63 $(UTIL_NET_APPS
:%=%_implib
): %_implib
:
66 $(UTIL_NET_APPS
:%=%_clean
): %_clean
:
69 $(UTIL_NET_APPS
:%=%_dist
): %_dist
:
72 $(UTIL_NET_APPS
:%=%_install
): %_install
:
73 make
-C net
/$* install
75 .PHONY
: $(UTIL_NET_APPS
) $(UTIL_NET_APPS
:%=%_implib
) $(UTIL_NET_APPS
:%=%_clean
) $(UTIL_NET_APPS
:%=%_install
) $(UTIL_NET_APPS
:%=%_dist
)
79 find .
-name
"*.[ch]" -print | etags
--language
=c
-