1# 2# @(#)Makefile 1.2 06/10/30 3# 4# Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: 9# 10# - Redistribution of source code must retain the above copyright 11# notice, this list of conditions and the following disclaimer. 12# 13# - Redistribution in binary form must reproduce the above copyright 14# notice, this list of conditions and the following disclaimer in 15# the documentation and/or other materials provided with the 16# distribution. 17# 18# Neither the name of Sun Microsystems, Inc. or the names of 19# contributors may be used to endorse or promote products derived 20# from this software without specific prior written permission. 21# 22# This software is provided "AS IS," without a warranty of any 23# kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND 24# WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, 25# FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY 26# EXCLUDED. SUN MICROSYSTEMS, INC. ("SUN") AND ITS LICENSORS SHALL 27# NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF 28# USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS 29# DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR 30# ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, 31# CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED AND 32# REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF THE USE OF OR 33# INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE 34# POSSIBILITY OF SUCH DAMAGES. 35# 36# You acknowledge that this software is not designed, licensed or 37# intended for use in the design, construction, operation or 38# maintenance of any nuclear facility. 39# 40 41# Makefile for use with Microsoft's nmake; it assumes your Java bin directory 42# is in your path, and that a CLASSPATH environment variable is defined. 43# 44# @(#)Makefile 1.14 07/07/98 45 46# idehelp.jar is the JAR that contains all the help information 47IDEHELP_JAR=..\..\..\hsjar\idehelp_sv.jar 48 49# Should be conditional... 50JHHOME=..\..\..\..\javahelp 51 52INDEXER=$(JHHOME)\bin\jhindexer 53JAR=jar 54 55IDEHELP_SOURCE_FILES = \ 56 IdeHelp_sv.hs \ 57 $(IDEHELP_META_FILES) \ 58 $(IDEHELP_CONTENT_FILES) \ 59 $(IDEHELP_OTHER_FILES) 60 61IDEHELP_META_FILES = \ 62 Map.jhm \ 63 IdeHelpTOC.xml 64 65IDEHELP_CONTENT_FILES = \ 66 idehelp\jde.html \ 67 idehelp\start\breakpoint.html \ 68 idehelp\start\browse.html \ 69 idehelp\start\build.html \ 70 idehelp\start\copyproject.html \ 71 idehelp\start\create.html \ 72 idehelp\start\customize.html \ 73 idehelp\start\debug.html \ 74 idehelp\start\edit.html \ 75 idehelp\start\editbasics.html \ 76 idehelp\start\editbuild.html \ 77 idehelp\start\editcode.html \ 78 idehelp\start\editlesson.html \ 79 idehelp\start\enddebug.html \ 80 idehelp\start\errors.html \ 81 idehelp\start\evaluate.html \ 82 idehelp\start\fixbuild.html \ 83 idehelp\start\flow.html \ 84 idehelp\start\html.html \ 85 idehelp\start\import.html \ 86 idehelp\start\hierarchy.html \ 87 idehelp\start\method.html \ 88 idehelp\start\overview.html \ 89 idehelp\start\portfolio.html \ 90 idehelp\start\profile.html \ 91 idehelp\start\project.html \ 92 idehelp\start\quickstart.html \ 93 idehelp\start\runpage.html \ 94 idehelp\start\run.html \ 95 idehelp\start\simpledebug.html \ 96 idehelp\start\startdebug.html \ 97 idehelp\start\starttoc.html \ 98 idehelp\start\step.html \ 99 idehelp\start\strings.html \ 100 idehelp\start\terminology.html \ 101 idehelp\start\threads.html \ 102 idehelp\start\tools.html \ 103 idehelp\menus\browse.html \ 104 idehelp\menus\build.html \ 105 idehelp\menus\debug.html \ 106 idehelp\menus\edit.html \ 107 idehelp\menus\file.html \ 108 idehelp\menus\help.html \ 109 idehelp\menus\preferences.html \ 110 idehelp\menus\gui.html \ 111 idehelp\menus\project.html \ 112 idehelp\menus\windows.html 113 114IDEHELP_OTHER_FILES = \ 115 images\spacer2_t.gif \ 116 images\hg_see.gif \ 117 images\stages.gif \ 118 images\tProfile.gif \ 119 idehelp\images\db-eval_u.gif \ 120 idehelp\images\db-restart_u.gif \ 121 idehelp\images\db-down-frame_u.gif \ 122 idehelp\images\db-resume_u.gif \ 123 idehelp\images\db-stop-at_u.gif \ 124 idehelp\images\db-up-frame_u.gif \ 125 idehelp\images\db-run-to-here_u.gif \ 126 idehelp\images\db-step-into_u.gif \ 127 idehelp\images\db-step-over_u.gif \ 128 idehelp\images\file-open_u.gif \ 129 idehelp\images\file-save_u.gif 130 131IDEHELP_SEARCH_FILES = \ 132 JavaHelpIndex\DOCS \ 133 JavaHelpIndex\DOCS.TAB \ 134 JavaHelpIndex\OFFSETS \ 135 JavaHelpIndex\POSITIONS \ 136 JavaHelpIndex\SCHEMA \ 137 JavaHelpIndex\TMAP 138 139all: $(IDEHELP_JAR) 140 141searchfiles: $(IDEHELP_SEARCH_FILES) 142 143clean: 144 del $(IDEHELP_JAR) 145 del $(IDEHELP_SEARCH_FILES) 146 147$(IDEHELP_JAR): $(IDEHELP_SOURCE_FILES) $(IDEHELP_SEARCH_FILES) ..\..\hsjar 148 @del /f/q $(IDEHELP_JAR) 149 $(JAR) -cvf $@ $(IDEHELP_SOURCE_FILES) $(IDEHELP_SEARCH_FILES) 150 151$(IDEHELP_SEARCH_FILES): $(IDEHELP_CONTENT_FILES) 152 @del /f/q $(IDEHELP_SEARCH_FILES) 153 @mkdir JavaHelpIndex 154 $(INDEXER) -locale sv -verbose $(IDEHELP_CONTENT_FILES) 155 156..\..\..\hsjar: 157 mkdir ..\..\..\hsjar 158