home *** CD-ROM | disk | FTP | other *** search
- #ident "%W% %E% %Q%"
- ###########################################################################
- # Written 1999 by C. Wohlgemuth
- ###########################################################################
- #
- # Platform dependent MACROS for OS/2 using gcc (EMX)
- #
- ###########################################################################
- # This program is free software; you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation; either version 2, or (at your option)
- # any later version.
- #
- # 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 the GNU General Public License
- # along with this program; see the file COPYING. If not, write to
- # the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- ###########################################################################
- include $(SRCROOT)/$(RULESDIR)/rules.prg
- ###########################################################################
-
- CPPFLAGS= $(CPPOPTS) $(CPPOPTX)
- CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
-
- OSDEFS= -D__OS2 -DNO_FLOATINGPOINT
-
- CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
-
- COPTS= -Zexe
- CWOPTS= -Wall -Wtraditional \
- -Wshadow -Wmissing-prototypes -Wstrict-prototypes
- COPTOPT= -O
-
- KDEFINES=
-
- COPTDYN=
- COPTGPROF=
- LIB_PREFIX=
- LIB_SUFFIX= .a
- SHL_SUFFIX=
-
- #LIB_SOCKET= -lsocket -lnsl -ldl
- LIB_SOCKET=
-
- #LIB_MATH= -lm
- LIB_MATH=
- LIB_KVM=
-
- LIBS_PATH= -L$(OLIBSDIR)
-
- LDFLAGS= $(LDOPTS) $(LDOPTX)
- LDLIBS= $(LIBS) $(LIBX) -lshm
-
- #LDOPTS= $(LIBS_PATH) $(LDPATH) $(RUNPATH)
- LDOPTS= $(LIBS_PATH) $(LDPATH)
-
- LDOPTDYN=
-
- LNDYNLIB= @$(SYMLINK) $(TARGET) $(PTARGET_BASE).so
-
- FLOAT_OPTIONS=
-
-
- CC= @echo " ==> COMPILING \"$@\""; gcc
- LDCC= @echo " ==> LINKING \"$@\""; gcc -Zexe -s -Zcrtdll
- DYNLD= @echo " ==> LINKING dynamic library \"$@\""; gcc
- RANLIB=
- # @echo " ==> RANDOMIZING ARCHIVE \"$@\""; true
-
-
- ARFLAGS= cr
-
- LORDER= echo
- TSORT= cat
-
- RMDEP= :
-
- MKDEP= @echo " ==> MAKE DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
-
- MKDEP_OUT=
-