# +----------------------------------------------------------------------+ # | 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.in,v 1.4 2006/07/27 16:02:26 mikeaubury Exp $ # ROOT =../.. #All stuff common to more then one Aubit compiler make file is there: include ${ROOT}/incl/Makefile-common ## ================================================================== ## Options ## ================================================================== CMODS =mpz.c OBJS =${CMODS:.c=.o} ALL =${PLUGINDIR}/libEXDTYPE_mpz${SO_EXT} LCLINT_CFLAGS =${C_IFLAGS} LOCAL_IFLAGS =@MPZ_IFLAGS@ -I${ROOT}/incl -I${ROOT}/compilers/fcompile -I. ifdef COMSPEC LINKLIBS =-L${PLUGINDIR} -l${AUBITLIBFULL} endif ## ================================================================== ## Targets ## ================================================================== all: ${ALL} ${PLUGINDIR}/libEXDTYPE_mpz${SO_EXT} : ${PLUGINDIR}/libEXDTYPE_mpz${SO_EXT} ${PLUGINDIR}/libEXDTYPE_mpz${SO_EXT} : ${CMODS} ${CC} ${CFLAGS} -c $^ ${LOCAL_IFLAGS} ${LD} $(SO_LDFLAGS) -o $@ ${OBJS} @MPZ_LFLAGS@ -lgmp ${LINKLIBS} ## ================================================================== ## Clean ## ================================================================== clean: ${RM} *${SO_EXT} *.bak *.o ${ALL} ## ================================================================== ## Other Targets ## ================================================================== splint: lclint lclint: $(CMODS) ${LCLINTERR}${LCLINTEXE} ${LCLINTFLAGS} $(LCLINT_CFLAGS) $(CMODS) > ${LCLINTLOG} ${LCLINTLOGCMD} ${CAT} ${LCLINTLOG} >> ../../${LCLINT_GLOBAL_LOG} @echo "see ${LCLINTLOG} for results" # ================================ EOF ==============================