#* ***** 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 ***** */ # add own bin and compile directory to PATH for make purposes EXECDIR=$(BASEDIR)\bin PATH=$(CMPDIR);$(EXECDIR);$(BASEDIR);$(PATH) # --- check for required base macros !ifndef CMPDIR !error in project.in: CMPDIR must be set in your makfile before including this file. !endif !ifndef BINDIR !error in project.in: BINDIR must be set in your makfile before including this file. !endif # --- include nosa def file !include $(BASEDIR)\config\nosa.in # --- create additional compile directories below bindir for WPI creation CLIENTDIR=$(BINDIR)\$(CLIENT_FILESTEM) !if [@md $(CLIENTDIR) 2> NUL] !endif ADMINDIR=$(BINDIR)\$(ADMIN_FILESTEM) !if [@md $(ADMINDIR) 2> NUL] !endif INITDIR=$(BINDIR)\init !if [@md $(INITDIR) 2> NUL] !endif # --- check for required programs !if [@required] !error in project.in: error !endif # --- overwrite dirs to clean in order to have both bin directories # (release and debug) deleted DIRSTOCLEAN=debug release $(CMPDIR) # ------------------------------------------------------------------------------ # private suffixes # ------------------------------------------------------------------------------ #.SUFFIXES: .h .src .ipf .inf .srd .diz .txt .msg .bin .add # ------------------------------------------------------------------------------ # start/end message definitions # ------------------------------------------------------------------------------ STARTMSG=***** $(DESCRIPTION) starts $(TO_ERR) ENDMSG=***** $(DESCRIPTION) ends $(TO_ERR) # ------------------------------------------------------------------------------ # define filenames for rules in common.in # ------------------------------------------------------------------------------ MK_CONFIG_NOSA_SOURCE=$(BASEDIR)\config\nosa.in MK_CONFIG_NOSA_H=$(CMPDIR)\nosa.h MK_CONFIG_NOSA_INC=$(CMPDIR)\nosa.inc MK_CONFIG_NOSA_DIZ_SOURCE=$(BASEDIR)\shared\diz\file_id.diz MK_CONFIG_NOSA_DIZ=$(CMPDIR)\file_id.diz # ------------------------------------------------------------------------------ # define filenames for install packages # ------------------------------------------------------------------------------ WPIFILE=$(BINDIR)\$(FILESTEM)$(VERSION).wpi LOGFILE=$(BINDIR)\$(FILESTEM)$(VERSION).log OPTFILE=$(BINDIR)\$(FILESTEM)$(VERSION).opt