1#ident "@(#)i386-ms-dos-gcc.rul 1.1 03/11/23 " 2########################################################################### 3# 4# Platform dependent MACROS for MSDOS/DJGPP v2 5# 6########################################################################### 7# This program is free software; you can redistribute it and/or modify 8# it under the terms of the GNU General Public License as published by 9# the Free Software Foundation; either version 2, or (at your option) 10# any later version. 11# 12# This program is distributed in the hope that it will be useful, 13# but WITHOUT ANY WARRANTY; without even the implied warranty of 14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15# GNU General Public License for more details. 16# 17# You should have received a copy of the GNU General Public License along with 18# this program; see the file COPYING. If not, write to the Free Software 19# Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20########################################################################### 21include $(SRCROOT)/$(RULESDIR)/rules.prg 22########################################################################### 23 24CPPFLAGS= $(CPPOPTS) $(CPPOPTX) 25CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX) 26 27#OSDEFS= 28CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) 29COPTS= 30CWOPTS= -Wall -Wtraditional \ 31 -Wshadow -Wmissing-prototypes -Wstrict-prototypes 32#CWOPTS= 33COPTOPT= -O 34KDEFINES= 35COPTDYN= 36COPTGPROF= -pg 37 38LIB_PREFIX= lib 39LIB_SUFFIX= .a 40SHL_SUFFIX= .so 41 42LIB_SOCKET= 43LIB_MATH= -lm 44LIB_KVM= 45 46LIBS_PATH= -L$(OLIBSDIR) 47 48LDFLAGS= $(LDOPTS) $(LDOPTX) 49LDLIBS= $(LIBS) $(LIBX) 50 51LDOPTS= $(LIBS_PATH) $(LDPATH) 52LDOPTDYN= 53LNDYNLIB= 54 55FLOAT_OPTIONS= 56 57CC= @echo " ==> COMPILING \"$@\""; gcc 58LDCC= @echo " ==> LINKING \"$@\""; gcc 59#LDCC= @echo " ==> LINKING \"$@\""; gcc -Wl,--strip-all 60DYNLD= @echo " ==> LINKING dynamic library \"$@\""; ld 61RANLIB= @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true 62ARFLAGS= cr 63LORDER= echo 64TSORT= cat 65 66RMDEP= : 67MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M 68MKDEP_OUT= 69