Detect if the Vista version of ntsecapi.h is present
[krb5.git] / src / windows / Makefile.in
1 BUILDTOP=..
2 NO_OUTPRE=1
3
4 #
5 # Makefile that recurses into cns subdirectory.
6 #
7 all-windows:: ntsecapitest
8         @echo Making in windows\lib
9         cd lib
10         $(MAKE) -$(MFLAGS)
11         @echo Making in windows\cns
12         cd ..\cns
13         $(MAKE) -$(MFLAGS)
14         @echo Making in windows\wintel
15         cd ..\wintel
16         $(MAKE) -$(MFLAGS)
17        @echo Making in windows\gss
18         cd ..\gss
19         cd
20         $(MAKE) -$(MFLAGS)
21         @echo Making in windows\gina
22         cd ..\gina
23         $(MAKE) -$(MFLAGS)
24         @echo Making in windows\ms2mit
25         cd ..\ms2mit
26         $(MAKE) -$(MFLAGS)
27 !if "$(KRB5_KFW_COMPILE)"=="1" 
28         @echo Making in windows\kfwlogon
29         cd ..\kfwlogon
30         $(MAKE) -$(MFLAGS) 
31         @echo Making in windows\identity 
32         cd ..\identity 
33         $(MAKE) -$(MFLAGS) 
34 !endif 
35         cd ..
36
37 clean-windows:: clean-ntsecapitest
38         @echo Making clean in windows\lib
39         cd lib
40         $(MAKE) -$(MFLAGS) clean
41         @echo Making clean in windows\cns
42         cd ..\cns
43         $(MAKE) -$(MFLAGS) clean
44         @echo Making clean in windows\wintel
45         cd ..\wintel
46         $(MAKE) -$(MFLAGS) clean
47         @echo Making clean in windows\gss
48         cd ..\gss
49         $(MAKE) -$(MFLAGS) clean
50         @echo Making clean in windows\gina
51         cd ..\gina
52         $(MAKE) -$(MFLAGS) clean
53         @echo Making clean in windows\ms2mit
54         cd ..\ms2mit
55         $(MAKE) -$(MFLAGS) clean
56 !if "$(KRB5_KFW_COMPILE)"=="1" 
57         @echo Making clean in windows\kfwlogon
58         cd ..\kfwlogon
59         $(MAKE) -$(MFLAGS) clean 
60         @echo Making clean in windows\identity 
61         cd ..\identity 
62         $(MAKE) -$(MFLAGS) clean 
63 !endif 
64         cd ..
65
66 # If ntsecapi.h contains the string that indicates it came from the Vista SDK,
67 #  then ntsecapitest.i will be left behind.  If the string is not present,
68 #  ntsecapitest.i will be deleted. 
69 ntsecapitest:: ntsecapitest.i
70     ntsecapitest.pl
71
72 clean-ntsecapitest::
73     $(RM) ntsecapitest.i
74
75 {}.c{}.i:
76     @$(C_RULE) -P