Added entries for regedit, regedt32 and taskmgr.
[reactos.git] / rosapps / Makefile
1 #
2 # Global makefile for the ROSAPPS package
3 #
4
5 #
6 # Select your host
7 #
8 #HOST = djgpp-msdos
9 HOST = mingw32-windows
10
11 include rules.mak
12
13 #
14 # Available applications
15 #
16 APPS = cmd cmdutils dflat32 mc notevil sysutils \
17 net\finger net\ncftp net\ping net\telnet net\whois \
18 regedit regedt32 taskmgr
19
20 all: $(APPS)
21 .PHONY: all
22
23 clean: $(APPS:%=%_clean)
24 .PHONY: clean
25
26 floppy: make_floppy_dirs $(APPS:%=%_floppy)
27
28 dist: clean_dist_dir make_dist_dirs $(APPS:%=%_dist)
29 .PHONY: dist
30
31 #
32 # Applications
33 #
34 $(APPS): %:
35 make -C $*
36
37 $(APPS:%=%_clean): %_clean:
38 make -C $* clean
39
40 $(APPS:%=%_floppy): %_floppy:
41 make -C $* floppy
42
43 $(APPS:%=%_dist): %_dist:
44 make -C $* dist
45
46 .PHONY: $(APPS) $(APPS:%=%_clean) $(APPS:%=%_floppy) $(APPS:%=%_dist)
47
48
49 #
50 # Make an install floppy
51 #
52
53 install: all
54 ./install.sh /mnt/hda1
55
56 make_floppy_dirs:
57 ifeq ($(DOSCLI),yes)
58 mkdir $(FLOPPY_DIR)\apps
59 else
60 mkdir $(FLOPPY_DIR)/apps
61 endif
62
63 .PHONY: make_floppy_dirs
64
65 #
66 # Make a distribution saveset
67 #
68
69 clean_dist_dir:
70 ifeq ($(DOSCLI),yes)
71 # $(RM) $(DIST_DIR)\apps\*.*
72 # $(RMDIR) $(DIST_DIR)\apps
73 # $(RMDIR) $(DIST_DIR)
74 else
75 $(RM) -r $(DIST_DIR)
76 endif
77
78 make_dist_dirs:
79 ifeq ($(DOSCLI),yes)
80 mkdir $(DIST_DIR)
81 mkdir $(DIST_DIR)\apps
82 else
83 mkdir $(DIST_DIR)
84 mkdir $(DIST_DIR)/apps
85 endif
86
87 .PHONY: clean_dist_dir make_dist_dirs
88
89 # EOF