Home | History | Annotate | Line # | Download | only in lib
NTMakefile revision 1.1.1.2.2.1
      1          1.1  elric ########################################################################
      2          1.1  elric #
      3  1.1.1.2.2.1    snj # Copyright (c) 2009-2016, Secure Endpoints Inc.
      4          1.1  elric # All rights reserved.
      5          1.1  elric # 
      6          1.1  elric # Redistribution and use in source and binary forms, with or without
      7          1.1  elric # modification, are permitted provided that the following conditions
      8          1.1  elric # are met:
      9          1.1  elric # 
     10          1.1  elric # - Redistributions of source code must retain the above copyright
     11          1.1  elric #   notice, this list of conditions and the following disclaimer.
     12          1.1  elric # 
     13          1.1  elric # - Redistributions in binary form must reproduce the above copyright
     14          1.1  elric #   notice, this list of conditions and the following disclaimer in
     15          1.1  elric #   the documentation and/or other materials provided with the
     16          1.1  elric #   distribution.
     17          1.1  elric # 
     18          1.1  elric # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
     19          1.1  elric # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
     20          1.1  elric # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
     21          1.1  elric # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
     22          1.1  elric # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
     23          1.1  elric # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
     24          1.1  elric # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
     25          1.1  elric # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
     26          1.1  elric # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
     27          1.1  elric # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
     28          1.1  elric # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     29          1.1  elric # POSSIBILITY OF SUCH DAMAGE.
     30          1.1  elric # 
     31          1.1  elric 
     32          1.1  elric 
     33          1.1  elric !ifdef OTP
     34          1.1  elric dir_otp = otp
     35          1.1  elric !endif
     36          1.1  elric !ifdef DCE
     37          1.1  elric dir_dce = kdfs
     38          1.1  elric !endif
     39  1.1.1.2.2.1    snj 
     40  1.1.1.2.2.1    snj # Third party plugins must be added to the assembly
     41  1.1.1.2.2.1    snj # Permit third party assembly scripts
     42  1.1.1.2.2.1    snj 
     43  1.1.1.2.2.1    snj !if exist(..\thirdparty\plugin\NTMakefile)
     44  1.1.1.2.2.1    snj plugin=..\thirdparty\plugin
     45  1.1.1.2.2.1    snj !endif
     46  1.1.1.2.2.1    snj 
     47  1.1.1.2.2.1    snj !if exist(..\thirdparty\assembly\NTMakefile)
     48  1.1.1.2.2.1    snj assembly=..\thirdparty\assembly
     49  1.1.1.2.2.1    snj !else
     50  1.1.1.2.2.1    snj assembly=..\packages\windows\assembly
     51          1.1  elric !endif
     52          1.1  elric 
     53  1.1.1.2.2.1    snj SUBDIRS = roken base vers com_err sl wind asn1 sqlite \
     54  1.1.1.2.2.1    snj 	hcrypto hx509 krb5 heimdal ntlm kafs gssapi hdb \
     55  1.1.1.2.2.1    snj 	kadm5 $(dir_otp) $(dir_dce) $(plugin) $(assembly)
     56          1.1  elric 
     57          1.1  elric !include ../windows/NTMakefile.w32
     58          1.1  elric 
     59          1.1  elric # We can't build some of the lib tools until after we have LIBHEIMDAL.
     60          1.1  elric # So we build tools in a separate build step:
     61          1.1  elric 
     62          1.1  elric all:: all-tools
     63          1.1  elric 
     64          1.1  elric all-tools:: asn1-tools hx509-tools krb5-tools kadm5-tools gss-tools
     65          1.1  elric 
     66          1.1  elric asn1-tools:
     67          1.1  elric 	@( cd asn1 && $(RMAKE) all-tools && cd .. ) || exit /b 1
     68          1.1  elric 
     69          1.1  elric hx509-tools:
     70          1.1  elric 	@( cd hx509 && $(RMAKE) all-tools && cd .. ) || exit /b 1
     71          1.1  elric 
     72          1.1  elric krb5-tools:
     73          1.1  elric 	@( cd krb5 && $(RMAKE) all-tools && cd .. ) || exit /b 1
     74          1.1  elric 
     75          1.1  elric kadm5-tools:
     76          1.1  elric 	@( cd kadm5 && $(RMAKE) all-tools && cd .. ) || exit /b 1
     77          1.1  elric 
     78          1.1  elric gss-tools:
     79          1.1  elric 	@( cd gssapi && $(RMAKE) all-tools && cd ..) || exit /b 1
     80