# +----------------------------------------------------------------------+ # | Aubit 4gl Language Compiler Version $.0 | # +----------------------------------------------------------------------+ # | Copyright (c) 2000-1 Aubit Development Team (See Credits file) | # +----------------------------------------------------------------------+ # | This program is free software; you can redistribute it and/or modify | # | it under the terms of one of the following licenses: | # | | # | A) the GNU General Public License as published by the Free Software | # | Foundation; either version 2 of the License, or (at your option) | # | any later version. | # | | # | B) the Aubit License as published by the Aubit Development Team and | # | included in the distribution in the file: LICENSE | # | | # | This program is distributed in the hope that it will be useful, | # | but WITHOUT ANY WARRANTY; without even the implied warranty of | # | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | # | GNU General Public License for more details. | # | | # | You should have received a copy of both licenses referred to here. | # | If you did not, or have any questions about Aubit licensing, please | # | contact afalout@ihug.co.nz | # +----------------------------------------------------------------------+ # # $Id: Makefile,v 1.9 2010/07/16 15:04:33 mikeaubury Exp $ # ROOT =.. #All stuff common to more then one Aubit compiler make file is there: include ${ROOT}/incl/Makefile-common #rules for making targets: include ${ROOT}/incl/a4gl.mk ## ================================================================== ## Options ## ================================================================== DESTINATION=${ROOT}/${HELP_DESTINATION}/ HLP_FILES= help_aubit${A4GL_HLP_EXT} \ help_POSTGRESQL${A4GL_HLP_EXT} \ help_POSTGRESQL8${A4GL_HLP_EXT} \ help_compat${A4GL_HLP_EXT} \ help_MYSQL${A4GL_HLP_EXT} \ help_SQLITE${A4GL_HLP_EXT} ## ================================================================== ## Targets ## ================================================================== all: ${HLP_FILES} cp help_aubit${A4GL_HLP_EXT} ${DESTINATION} cp help_POSTGRESQL${A4GL_HLP_EXT} ${DESTINATION}helpsql_POSTGRES${A4GL_HLP_EXT} cp help_POSTGRESQL8${A4GL_HLP_EXT} ${DESTINATION}helpsql_POSTGRES8${A4GL_HLP_EXT} cp help_SQLITE${A4GL_HLP_EXT} ${DESTINATION}helpsql_SQLITE${A4GL_HLP_EXT} cp help_MYSQL${A4GL_HLP_EXT} ${DESTINATION}helpsql_MYSQL${A4GL_HLP_EXT} cp help_compat${A4GL_HLP_EXT} ${DESTINATION} @echo "Help files compiled." #%${A4GL_HLP_EXT}: $(notdir %.msg) # ../bin/amkmessage $(notdir $<) $@ #.msg${A4GL_HLP_EXT}: # ${FAIL_CMPL_HLP}${A4GL_MC} $(notdir $^) $@ ## ================================================================== ## Clean ## ================================================================== clean: ${RM} ${HLP_FILES} *.bak *~ remake.help_aubit.msg: $(ROOT)/lib/bin/current_errs mkhelp_aubit ${SH} mkhelp_aubit $(ROOT)/lib/bin/current_errs