#* ***** BEGIN LICENSE BLOCK ***** # Version: CDDL 1.0 # # The contents of this file are subject to the COMMON DEVELOPMENT AND # DISTRIBUTION LICENSE (CDDL) Version 1.0 (the "License"); you may not use # this file except in compliance with the License. You may obtain a copy of # the License at http://www.sun.com/cddl/ # # Software distributed under the License is distributed on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # for the specific language governing rights and limitations under the # License. # # The Original Code is # "netlabs.org Open Source Archive Administrator/Client" # # The Original Distribution Package is named # "netlabs.org Open Source Archive Administrator/Client" # and maintained and distributed by the Initial Developer # and/or netlabs.org only. # # In addition to the CDDL the following applies: # If you modify the Original Code, you may distribute it only # as a part of a distribution package where # - the name of the package, created directories or # OS2.INI entries do not contain any of the terms # - "netlabs.org Open Source Archive" # - "NOSA" # - "NOSAC" # - "NOSAADM" # - neither netlabs.org nor the Initial Developer is stated as # the vendor or originator of the resulting Distribution Package, # which contains the Modified Code. # # The Initial Developer of the Original Code is # netlabs.org: Christian Langanke . # Portions created by the Initial Developer are Copyright (C) 1999-2008 # the Initial Developer. All Rights Reserved. # # Contributor(s): # # ***** END LICENSE BLOCK ***** */ STEM=nosaadm INFSRC=$(STEM).txt INF=$(CMPDIR)\$(STEM).inf IPF=$(CMPDIR)\$(STEM).ipf HLPSRC=nosahlp.txt HLP=$(CMPDIR)\$(STEM).hlp IPP=$(CMPDIR)\$(STEM).ipp # include main definitions BASEDIR=..\.. PRJINC=$(BASEDIR)\config\project.in !include $(BASEDIR)\config\rules.in DESCRIPTION=NOSA Admin Online Help makefile !if [@echo $(STARTMSG)] !endif .SUFFIXES: .src .ipf .inf .ipp .hlp # --- definitions for this makefile # NOTE: Don't cleanup makefile.inf as this is always # to be available in the bin subdirectory ! FILESTOCLEAN= $(IPF) $(INF) $(IPP) $(HLP) \ $(MK_CONFIG_NOSA_INC) \ $(MK_CONFIG_NOSA_DIZ) HELPDEPS= nosatitle.inc *.inc ..\bmp\* ..\..\shared\bmp\* \ $(MK_CONFIG_NOSA_INC) $(MK_CONFIG_NOSA_DIZ) SHOWPANEL=$(ARCHIVE) # --- determine where to search for bitmaps and file_id.diz IPFCARTWORK=..\bmp;..\..\shared\bmp; INCLUDE=$(INCLUDE);$(IPFCARTWORK); # ------------------------------------------------------------------------ ALL: $(INF) $(HLP) @echo $(ENDMSG) INF: $(INF) @echo $(ENDMSG) HLP: $(HLP) @echo $(ENDMSG) SHOW: $(INF) @view $(INF) $(SHOWPANEL) @echo $(ENDMSG) # --- cleanup CLEAN: @echo cleaning up files ... -@for %%a in ($(FILESTOCLEAN)) do @del %%a /N >NUL 2>&1 @echo $(ENDMSG) !include $(BASEDIR)\config\common.in # ------------------------------------------------------------------------ # ---- generating HLP $(HLP): $(HLPSRC) $(HELPDEPS) HTEXT /N $(HLPSRC) $(IPP) $(HLP) /HLP # ---- generating INF $(INF): $(INFSRC) $(HELPDEPS) HTEXT /N $(INFSRC) $(IPF) $(INF)