NWGNUmakefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. #
  2. # Declare the sub-directories to be built here
  3. #
  4. # To build with exerimental modules set the environment
  5. # variable EXPERIMENTAL=1
  6. # To build with the mod_ssl module set the environment
  7. # variable WITH_MOD_SSL=1
  8. # If USE_STDSOCKETS is defined we allways build mod_ssl
  9. ifdef USE_STDSOCKETS
  10. WITH_MOD_SSL=1
  11. endif
  12. SUBDIRS = \
  13. aaa \
  14. cache \
  15. dav\main \
  16. dav\fs \
  17. dav\lock \
  18. echo \
  19. generators \
  20. loggers \
  21. mappers \
  22. metadata \
  23. proxy \
  24. filters \
  25. database \
  26. $(EOLIST)
  27. # If LDAPSDK has been defined then build the util_ldap module
  28. ifneq "$(LDAPSDK)" ""
  29. SUBDIRS += ldap \
  30. $(EOLIST)
  31. endif
  32. # If WITH_MOD_SSL and OSSLSDK have been defined then build the mod_ssl module
  33. ifdef WITH_MOD_SSL
  34. ifneq "$(OSSLSDK)" ""
  35. SUBDIRS += ssl \
  36. $(EOLIST)
  37. endif
  38. endif
  39. #If the mod_edir directory exists then build the mod_edir module
  40. ifeq "$(wildcard $(AP_WORK)\modules\mod_edir)" "$(AP_WORK)\modules\mod_edir"
  41. SUBDIRS += mod_edir \
  42. $(EOLIST)
  43. endif
  44. # Allow the experimental modules to be built if EXPERIMENTAL is defined
  45. ifdef EXPERIMENTAL
  46. SUBDIRS += experimental \
  47. $(EOLIST)
  48. endif
  49. # Allow the debug modules to be built if DEBUG is defined
  50. ifdef DEBUG
  51. SUBDIRS += debug \
  52. $(EOLIST)
  53. endif
  54. #
  55. # Get the 'head' of the build environment. This includes default targets and
  56. # paths to tools
  57. #
  58. include $(AP_WORK)\build\NWGNUhead.inc
  59. #
  60. # build this level's files
  61. ifeq "$(wildcard NWGNUmakefile.mak)" "NWGNUmakefile.mak"
  62. include NWGNUmakefile.mak
  63. endif
  64. #
  65. # You can use this target if all that is needed is to copy files to the
  66. # installation area
  67. #
  68. install :: nlms FORCE