Makefile 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. #
  2. # PROPRIETARY/CONFIDENTIAL. Use of this product is subject to
  3. # license terms.
  4. # Copyright 2001 Sun Microsystems, Inc.
  5. # Portions copyright 1999, 2002-2003 Netscape Communications Corporation.
  6. # All rights reserved.
  7. #
  8. #
  9. # GNU Makefile for Directory Server Console Help
  10. #
  11. BUILD_ROOT = ../../..
  12. LDAP_SRC = ../..
  13. MODULE=httpdAdminHTML
  14. NOSTDCLEAN=true # don't let nsconfig.mk define target clean
  15. include $(BUILD_ROOT)/nsconfig.mk
  16. include $(LDAP_SRC)/nsldap.mk
  17. HTMLDEST=$(OBJDIR)/manual/slapd
  18. NEWHTMLDEST=$(OBJDIR)/manual/slapd/help
  19. COPYRIGHTDEST=$(OBJDIR)/manual/slapd/copyright
  20. NOSTDSTRIP=true
  21. NOSTDDEPEND=true
  22. HTML= index.map index.htm pixel.gif
  23. NEWHTMLTOKEN=tokens.map
  24. NEWHTMLTOPIC=topicindex.htm
  25. COPYRIGHTFILES=copyright.html
  26. NEWHTML = account_mgmt.htm \
  27. adv_search.htm \
  28. configtab_chaindb.htm \
  29. configtab_chaindb2.htm \
  30. configtab_chaindb3.htm \
  31. configtab_chaindb4.htm \
  32. configtab_chaindb5.htm \
  33. configtab_chaindb6.htm \
  34. configtab_chaindb7.htm \
  35. configtab_db.htm \
  36. configtab_db10.htm \
  37. configtab_db11.htm \
  38. configtab_db12.htm \
  39. configtab_db13.htm \
  40. configtab_db14.htm \
  41. configtab_db15.htm \
  42. configtab_db2.htm \
  43. configtab_db3.htm \
  44. configtab_db4.htm \
  45. configtab_db5.htm \
  46. configtab_db6.htm \
  47. configtab_db7.htm \
  48. configtab_db8.htm \
  49. configtab_db9.htm \
  50. configtab_ldbmdb.htm \
  51. configtab_logs.htm \
  52. configtab_logs2.htm \
  53. configtab_logs3.htm \
  54. configtab_maptree.htm \
  55. configtab_maptree2.htm \
  56. configtab_maptree3.htm \
  57. configtab_maptree4.htm \
  58. configtab_maptree5.htm \
  59. configtab_maptree6.htm \
  60. configtab_maptree7.htm \
  61. configtab_plugins.htm \
  62. configtab_replication.htm \
  63. configtab_replication2.htm \
  64. configtab_replication3.htm \
  65. configtab_replication4.htm \
  66. configtab_replication5.htm \
  67. configtab_replication6.htm \
  68. configtab_replication7.htm \
  69. configtab_replication8.htm \
  70. configtab_rootnode.htm \
  71. configtab_rootnode2.htm \
  72. configtab_rootnode3.htm \
  73. configtab_rootnode4.htm \
  74. configtab_rootnode5.htm \
  75. configtab_rootnode6.htm \
  76. configtab_rootnode7.htm \
  77. configtab_rootnode8.htm \
  78. configtab_rootnode9.htm \
  79. configtab_schema.htm \
  80. configtab_schema2.htm \
  81. configtab_schema3.htm \
  82. configtab_schema4.htm \
  83. configtab_schema5.htm \
  84. dirtab_cos.htm \
  85. dirtab_cos2.htm \
  86. dirtab_cos3.htm \
  87. dirtab_role.htm \
  88. dirtab_role2.htm \
  89. dirtab_role3.htm \
  90. dirtab_role4.htm \
  91. dirtab_role5.htm \
  92. dirtab_role6.htm \
  93. dirtab_role7.htm \
  94. dir_browser.htm \
  95. dir_browser2.htm \
  96. dir_browser3.htm \
  97. dir_browser4.htm \
  98. helpmenu.htm \
  99. ix.htm \
  100. ldapurl.htm \
  101. new_instance.htm \
  102. pixel.gif \
  103. property_editor.htm \
  104. property_editor2.htm \
  105. property_editor3.htm \
  106. property_editor4.htm \
  107. redir_agtoc.htm \
  108. redir_dochome.htm \
  109. replication_wizard.htm \
  110. replication_wizard2.htm \
  111. replication_wizard3.htm \
  112. replication_wizard4.htm \
  113. replication_wizard5.htm \
  114. statustab_general.htm \
  115. statustab_logs.htm \
  116. statustab_logs2.htm \
  117. statustab_logs3.htm \
  118. statustab_performance.htm \
  119. statustab_performance2.htm \
  120. statustab_replication.htm \
  121. taskstab_bkup_restore.htm \
  122. taskstab_bkup_restore2.htm \
  123. topics.htm \
  124. sniffer.js
  125. BINS=$(addprefix $(HTMLDEST)/,$(HTML))
  126. NEWBINS = $(addprefix $(NEWHTMLDEST)/,$(NEWHTML)) \
  127. $(addprefix $(HTMLDEST)/,$(NEWHTMLTOKEN)) \
  128. $(addprefix $(HTMLDEST)/,$(NEWHTMLTOPIC))
  129. COPYRIGHTBINS = $(addprefix $(COPYRIGHTDEST)/,$(COPYRIGHTFILES))
  130. all: $(HTMLDEST) $(BINS) $(NEWHTMLDEST) $(NEWBINS)
  131. $(HTMLDEST):
  132. mkdir -p $(HTMLDEST)
  133. $(NEWHTMLDEST):
  134. mkdir -p $(NEWHTMLDEST)
  135. $(COPYRIGHTDEST):
  136. mkdir -p $(COPYRIGHTDEST)
  137. strip:
  138. depend:
  139. clean:
  140. -$(RM) -f $(BINS) $(NEWBINS)
  141. $(HTMLDEST)/%.js: %.js
  142. -$(RM) -f $@
  143. cp $< $@
  144. $(HTMLDEST)/%.map: %.map
  145. -$(RM) -f $@
  146. cp $< $@
  147. $(HTMLDEST)/%.htm: %.htm
  148. -$(RM) -f $@
  149. cp $< $@
  150. $(HTMLDEST)/%.jpg: %.jpg
  151. -$(RM) -f $@
  152. cp $< $@
  153. $(NEWHTMLDEST)/%.htm: %.htm
  154. -$(RM) -f $@
  155. cp $< $@
  156. $(HTMLDEST)/%.gif: %.gif
  157. -$(RM) -f $@
  158. cp $< $@
  159. $(NEWHTMLDEST)/%.gif: %.gif
  160. -$(RM) -f $@
  161. cp $< $@
  162. $(COPYRIGHTDEST)/%.html: copyright/%.html
  163. -$(RM) -f $@
  164. cp $< $@
  165. HTMLDEFS=-DPRODUCT_NAME=$(PRODUCT) -D$(ARCH) -DARCH=$(PRETTY_ARCH)