1#ident "@(#)i386-ms-dos-gcc.rul 1.6 21/04/28 " 2########################################################################### 3# 4# Platform dependent MACROS for MSDOS/DJGPP v2 5# 6########################################################################### 7# Copyright (c) J. Schilling 8########################################################################### 9# The contents of this file are subject to the terms of the 10# Common Development and Distribution License, Version 1.0 only 11# (the "License"). You may not use this file except in compliance 12# with the License. 13# 14# See the file CDDL.Schily.txt in this distribution for details. 15# A copy of the CDDL is also available via the Internet at 16# http://www.opensource.org/licenses/cddl1.txt 17# 18# When distributing Covered Code, include this CDDL HEADER in each 19# file and include the License file CDDL.Schily.txt from this distribution. 20########################################################################### 21include $(SRCROOT)/$(RULESDIR)/rules.prg 22########################################################################### 23include $(SRCROOT)/$(RULESDIR)/cc-gcc.rul 24 25OSDEFS += 26 27COPTDYN= 28COPTGPROF= -pg 29 30LIB_PREFIX= lib 31LIB_SUFFIX= .a 32SHL_SUFFIX= .so 33 34LIB_SOCKET= 35LIB_MATH= -lm 36LIB_KVM= 37 38LDOPTS= $(LIBS_PATH) $(LDPATH) 39LDOPTDYN= 40LNDYNLIB= 41 42#LDCC= $(NOECHO)echo " ==> LINKING \"$@\""; gcc -Wl,--strip-all 43DYNLD= $(NOECHO)echo " ==> LINKING dynamic library \"$@\""; ld 44 45LORDER= echo 46TSORT= cat 47