1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License, Version 1.0 only
   6 # (the "License").  You may not use this file except in compliance
   7 # with the License.
   8 #
   9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10 # or http://www.opensolaris.org/os/licensing.
  11 # See the License for the specific language governing permissions
  12 # and limitations under the License.
  13 #
  14 # When distributing Covered Code, include this CDDL HEADER in each
  15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16 # If applicable, add the following below this CDDL HEADER, with the
  17 # fields enclosed by brackets "[]" replaced with your own identifying
  18 # information: Portions Copyright [yyyy] [name of copyright owner]
  19 #
  20 # CDDL HEADER END
  21 #
  22 #
  23 #ident  "%W%    %E% SMI"
  24 #
  25 # Copyright (c) 1999-2001 by Sun Microsystems, Inc.
  26 # All rights reserved.
  27 #
  28 # cmd/cmd-inet/usr.sadm/dhcpmgr/help/Makefile
  29 
  30 
  31 include $(SRC)/cmd/Makefile.cmd
  32 
  33 SUBDIRS =       art
  34 
  35 all     :=      TARGET= all
  36 install :=      TARGET= install
  37 clean   :=      TARGET= clean
  38 clobber :=      TARGET= clobber
  39 lint    :=      TARGET= lint
  40 _msg    :=      TARGET= _msg
  41 
  42 HELPFILES=      dhcp_addr_create.html \
  43                 dhcp_addr_del.html \
  44                 dhcp_addr_dup.html \
  45                 dhcp_addr_how.html \
  46                 dhcp_addr_mod.html \
  47                 dhcp_addr_multi.html \
  48                 dhcp_addr_ref.html \
  49                 dhcp_addr_rel.html \
  50                 dhcp_addr_view.html \
  51                 dhcp_addr_wiz.html \
  52                 dhcp_config_wiz.html \
  53                 dhcp_convert_wiz.html \
  54                 dhcp_export_wiz.html \
  55                 dhcp_import_wiz.html \
  56                 dhcp_macro_create.html \
  57                 dhcp_macro_del.html \
  58                 dhcp_macro_dup.html \
  59                 dhcp_macro_how.html \
  60                 dhcp_macro_mod.html \
  61                 dhcp_macro_ref.html \
  62                 dhcp_macro_view.html \
  63                 dhcp_macros_about.html \
  64                 dhcp_main_hlp.html \
  65                 dhcp_main_how.html \
  66                 dhcp_main_idx.html \
  67                 dhcp_main_menus.html \
  68                 dhcp_main_top.html \
  69                 dhcp_net_del.html \
  70                 dhcp_net_ref.html \
  71                 dhcp_net_wiz.html \
  72                 dhcp_option_create.html \
  73                 dhcp_option_del.html \
  74                 dhcp_option_dup.html \
  75                 dhcp_option_how.html \
  76                 dhcp_option_mod.html \
  77                 dhcp_option_ref.html \
  78                 dhcp_option_tags.html \
  79                 dhcp_option_view.html \
  80                 dhcp_relay_choose.html \
  81                 dhcp_relay_config.html \
  82                 dhcp_relay_dis.html \
  83                 dhcp_relay_enable.html \
  84                 dhcp_relay_how.html \
  85                 dhcp_relay_ref.html \
  86                 dhcp_relay_serv.html \
  87                 dhcp_relay_unconfig.html \
  88                 dhcp_server_serv.html \
  89                 dhcp_server_unconfig.html \
  90                 dhcp_solaris_about.html
  91 
  92 ROOTHELPDIR=    $(ROOT)/usr/sadm/admin/dhcpmgr/help
  93 
  94 ROOTDIRS=       $(ROOTHELPDIR)
  95 
  96 IHELPFILES=     $(HELPFILES:%=$(ROOTHELPDIR)/%)
  97 
  98 MSGDIR=         $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr/client/help
  99 MSGDIRS =       $(ROOT)/usr/share/lib/locale \
 100                 $(ROOT)/usr/share/lib/locale/com \
 101                 $(ROOT)/usr/share/lib/locale/com/sun \
 102                 $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr \
 103                 $(ROOT)/usr/share/lib/locale/com/sun/dhcpmgr/client \
 104                 $(MSGDIR)
 105 
 106 MSGFILES=       $(HELPFILES)
 107 MSGS=           $(MSGFILES:%=$(MSGDIR)/%)
 108 
 109 FILEMODE= 0444
 110 
 111 $(ROOTHELPDIR)/%: %
 112         $(INS.file)
 113 
 114 .KEEP_STATE:
 115 
 116 all: $(HELPFILES) $(SUBDIRS)
 117 
 118 install: all $(ROOTDIRS) $(IHELPFILES) $(SUBDIRS)
 119 
 120 clean clobber lint:
 121 
 122 _msg: $(MSGDIRS) $(MSGS) $(SUBDIRS)
 123 
 124 $(MSGDIR)/%: %
 125         $(INS.file)
 126 
 127 $(MSGDIRS):
 128         $(INS.dir)
 129 
 130 $(ROOTDIRS):
 131         $(INS.dir)
 132 
 133 $(SUBDIRS):     FRC
 134         @cd $@; pwd; $(MAKE) $(TARGET)
 135 
 136 FRC: