]>
Commit | Line | Data |
---|---|---|
11a3e7b6 VZ |
1 | ############################################################# |
2 | # | |
3 | # ***** Project make release directories procedures ***** | |
4 | # | |
5 | ############################################################# | |
6 | ||
7 | !include watclean.tmp | |
8 | ||
9 | os2: .SYMBOLIC | |
10 | @set CLEANDIR = $(RELDIR)\os2 | |
11 | @%make rmtargdir | |
12 | ||
13 | os2d: .SYMBOLIC | |
14 | @set CLEANDIR = $(DEBDIR)\os2 | |
15 | @%make rmtargdir | |
16 | ||
17 | nt: .SYMBOLIC | |
18 | @set CLEANDIR = $(RELDIR)\nt | |
19 | @%make rmtargdir | |
20 | ||
21 | ntd: .SYMBOLIC | |
22 | @set CLEANDIR = $(DEBDIR)\nt | |
23 | @%make rmtargdir | |
24 | ||
25 | linux: .SYMBOLIC | |
26 | @set CLEANDIR = $(RELDIR)\linux | |
27 | @%make rmtargdir | |
28 | ||
29 | linuxd: .SYMBOLIC | |
30 | @set CLEANDIR = $(DEBDIR)\linux | |
31 | @%make rmtargdir | |
32 | ||
33 | rmtargdir: .PROCEDURE | |
34 | -@rm $(%CLEANDIR)\lib\*.lib | |
35 | -@rd $(%CLEANDIR)\lib | |
36 | -@rm $(%CLEANDIR)\include\*.h | |
37 | -@rd $(%CLEANDIR)\include | |
38 | @if EXIST $(%CLEANDIR)\dll -@rm $(%CLEANDIR)\dll\*.dll | |
39 | @if EXIST $(%CLEANDIR)\dll -@rd $(%CLEANDIR)\dll | |
40 | @if EXIST $(%CLEANDIR)\bin\xmlwf @%make cleanl | |
41 | @if EXIST $(%CLEANDIR)\bin\xmlwf.exe @%make cleano | |
42 | -@rd $(%CLEANDIR)\bin | |
43 | -@rd $(%CLEANDIR) | |
44 | ||
45 | # cleanup build files | |
46 | clean: .SYMBOLIC | |
47 | CLEANEXTS = obj exe err lst map sym lib dll | |
48 | @for %a in ($(CLEANEXTS)) do -@rm *.%a | |
49 | @if EXIST xmlwf @%make cleanl | |
50 | ||
51 | cleanl: .PROCEDURE | |
52 | CLEANLINUX = xmlwf runtests elements outline benchmark | |
53 | @for %a in ($(CLEANLINUX)) do -@rm $(%CLEANDIR)\bin\%a | |
54 | ||
55 | cleano: .PROCEDURE | |
56 | -@rm $(%CLEANDIR)\bin\*.exe | |
57 |