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 pnpdump sc shutdown stats tickcount consw rundll32 ps
14 UTIL_NET_APPS
= arp finger ftp ipconfig netstat ping route telnet whois
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 .PHONY
: all depends implib
clean install
34 # Utility Applications
39 $(UTIL_APPS
:%=%_implib
): %_implib
:
42 $(UTIL_APPS
:%=%_clean
): %_clean
:
45 $(UTIL_APPS
:%=%_install
): %_install
:
48 .PHONY
: $(UTIL_APPS
) $(UTIL_APPS
:%=%_implib
) $(UTIL_APPS
:%=%_clean
) $(UTIL_APPS
:%=%_install
)
51 # GUI Utility Applications
56 $(UTIL_NET_APPS
:%=%_implib
): %_implib
:
57 $(MAKE
) -C net
/$* implib
59 $(UTIL_NET_APPS
:%=%_clean
): %_clean
:
60 $(MAKE
) -C net
/$* clean
62 $(UTIL_NET_APPS
:%=%_install
): %_install
:
63 $(MAKE
) -C net
/$* install
65 .PHONY
: $(UTIL_NET_APPS
) $(UTIL_NET_APPS
:%=%_implib
) $(UTIL_NET_APPS
:%=%_clean
) $(UTIL_NET_APPS
:%=%_install
)
69 find .
-name
"*.[ch]" -print | etags
--language
=c
-