# +----------------------------------------------------------------------+ # | Aubit 4gl Language Compiler Version $.0 libMSG_NATIVE makefile | # +----------------------------------------------------------------------+ # | 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.11 2009/12/14 20:52:14 mikeaubury Exp $ # ROOT =../../.. #All stuff common to more then one Aubit compiler make file is there: include ${ROOT}/incl/Makefile-common ## ================================================================== ## Source files ## ================================================================== CMODS =readmsg.c writemsg.c OBJS =${CMODS:.c=.o} ## ================================================================== ## Options ## ================================================================== CFLAGS +=-I.. -I${ROOT}/compilers/fcompile ALL =${PLUGINDIR}/libMSG_NATIVE${SO_EXT} ifneq "${COMSPEC}" "" LINKLIBS =-L${LIBROOT} -l${AUBITLIBFULL} endif ## ================================================================== ## Targets ## ================================================================== all: ${ALL} @echo "Default targets (${ALL}) built successfully." ${PLUGINDIR}/libMSG_NATIVE${SO_EXT} : ${OBJS} ${LD} ${SO_LDFLAGS} -o $@ $^ ${LINKLIBS} #ifeq "${SO_EXT}" ".dll" # ${MV} TMP${SOEXP_EXT} $@.a #endif ## ================================================================== ## Sub Targets ## ================================================================== ci: $(CMODS) ci -l $^ ## ================================================================== ## Dependencies ## ================================================================== #readmsg.o: ${ROOT}/compilers/fcompile/form_x.h ## ================================================================== ## Clean Targets ## ================================================================== clean : ${RM} $(OBJS) core *.out *.glb *${SO_EXT} *.a *.o *.bak *.exe *.dll \ *.stackdump *.err *.base *.exp ## ================================================================== ## Other Targets ## ================================================================== lclint: $(CMODS) -lclint -weak $(CFLAGS) $(CMODS) > lclint.log 2>&1 @echo "see lclint.log for results" #----------------------------------- EOF -------------------------------