Makefile 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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_synchronization1.htm \
  71. configtab_synchronization2.htm \
  72. configtab_synchronization3.htm \
  73. configtab_rootnode.htm \
  74. configtab_rootnode2.htm \
  75. configtab_rootnode3.htm \
  76. configtab_rootnode4.htm \
  77. configtab_rootnode5.htm \
  78. configtab_rootnode6.htm \
  79. configtab_rootnode7.htm \
  80. configtab_rootnode8.htm \
  81. configtab_rootnode9.htm \
  82. configtab_schema.htm \
  83. configtab_schema2.htm \
  84. configtab_schema3.htm \
  85. configtab_schema4.htm \
  86. configtab_schema5.htm \
  87. dirtab_cos.htm \
  88. dirtab_cos2.htm \
  89. dirtab_cos3.htm \
  90. dirtab_role.htm \
  91. dirtab_role2.htm \
  92. dirtab_role3.htm \
  93. dirtab_role4.htm \
  94. dirtab_role5.htm \
  95. dirtab_role6.htm \
  96. dirtab_role7.htm \
  97. dir_browser.htm \
  98. dir_browser2.htm \
  99. dir_browser3.htm \
  100. dir_browser4.htm \
  101. helpmenu.htm \
  102. ix.htm \
  103. ldapurl.htm \
  104. new_instance.htm \
  105. pixel.gif \
  106. property_editor.htm \
  107. property_editor2.htm \
  108. property_editor3.htm \
  109. property_editor4.htm \
  110. redir_agtoc.htm \
  111. redir_dochome.htm \
  112. replication_wizard.htm \
  113. replication_wizard2.htm \
  114. replication_wizard3.htm \
  115. replication_wizard4.htm \
  116. replication_wizard5.htm \
  117. replication_wizard6.htm \
  118. statustab_general.htm \
  119. statustab_logs.htm \
  120. statustab_logs2.htm \
  121. statustab_logs3.htm \
  122. statustab_performance.htm \
  123. statustab_performance2.htm \
  124. statustab_replication.htm \
  125. synchronization_wizard1.htm \
  126. synchronization_wizard2.htm \
  127. synchronization_wizard3.htm \
  128. taskstab_bkup_restore.htm \
  129. taskstab_bkup_restore2.htm \
  130. topics.htm \
  131. sniffer.js
  132. BINS=$(addprefix $(HTMLDEST)/,$(HTML))
  133. NEWBINS = $(addprefix $(NEWHTMLDEST)/,$(NEWHTML)) \
  134. $(addprefix $(HTMLDEST)/,$(NEWHTMLTOKEN)) \
  135. $(addprefix $(HTMLDEST)/,$(NEWHTMLTOPIC))
  136. COPYRIGHTBINS = $(addprefix $(COPYRIGHTDEST)/,$(COPYRIGHTFILES))
  137. all: $(HTMLDEST) $(BINS) $(NEWHTMLDEST) $(NEWBINS)
  138. $(HTMLDEST):
  139. mkdir -p $(HTMLDEST)
  140. $(NEWHTMLDEST):
  141. mkdir -p $(NEWHTMLDEST)
  142. $(COPYRIGHTDEST):
  143. mkdir -p $(COPYRIGHTDEST)
  144. strip:
  145. depend:
  146. clean:
  147. -$(RM) -f $(BINS) $(NEWBINS)
  148. $(HTMLDEST)/%.js: %.js
  149. -$(RM) -f $@
  150. cp $< $@
  151. $(HTMLDEST)/%.map: %.map
  152. -$(RM) -f $@
  153. cp $< $@
  154. $(HTMLDEST)/%.htm: %.htm
  155. -$(RM) -f $@
  156. cp $< $@
  157. $(HTMLDEST)/%.jpg: %.jpg
  158. -$(RM) -f $@
  159. cp $< $@
  160. $(NEWHTMLDEST)/%.htm: %.htm
  161. -$(RM) -f $@
  162. cp $< $@
  163. $(HTMLDEST)/%.gif: %.gif
  164. -$(RM) -f $@
  165. cp $< $@
  166. $(NEWHTMLDEST)/%.gif: %.gif
  167. -$(RM) -f $@
  168. cp $< $@
  169. $(COPYRIGHTDEST)/%.html: copyright/%.html
  170. -$(RM) -f $@
  171. cp $< $@
  172. HTMLDEFS=-DPRODUCT_NAME=$(PRODUCT) -D$(ARCH) -DARCH=$(PRETTY_ARCH)