#
# MakeVars for MiNT-Net
#
#
# We usually don't use such a stupid make, but who knows?
#
SHELL = /bin/sh
#
# Since we usually use the system make even for cross-compiling,
# we have to handle libraries in a special way in net/Makefile.
# Define this for cross-compiling. Comment it out for native compiling.
#
#CROSS = true
#
# If you want an .xdd instead of an executable driver (.tos) define this.
# Otherwise comment it out.
#
XDD = true
# Compiler, Archiver and Linker we want to use
#
ifndef CROSS
CC = gcc
AR = ar
LD = gcc
else
CC = cgcc
AR = car
LD = cgcc
endif
#
# Define this if you DONT have the KGMD binutils PL 38.
#
#NOKGMD = true
#
#
# libc name and toglclr options are different for KGMD binutils.
#
ifndef NOKGMD
LIBC16 = c16
TOGLSUPER = toglclr --super
LB =
L16 =
else
LIBC = gnu16
TOGLSUPER = toglclr -super
LB = b
L16 = 16
endif
#
# Global compiler options that should be added to CFLAGS
#
COPTS = # -m68020
#
# The following directories have to be set for "make depend".
# $(CC) will look there for the include files.
#
# They are also used for "make install"
#
ifdef CROSS
MINTINCLUDE = /usr/local/cross-gcc/include
MINTLIB = /usr/local/cross-gcc/lib
else
MINTINCLUDE = /usr/include
MINTLIB = /usr/lib
endif
#
# We should use GNU install instead of cp
#
INSTALL = install -s
LIBMODE = -m 644
TOOLMODE = -m 755
XIFMODE = -m 755
XDDMODE = -m 755
MANMODE = -m 644
#
# The .xdd and .xif files will reside here...
#
BOOTDIR = /c/mint
#
# The net-tools (ifconfig, route, slattach, etc.) will reside physically
# in TOOLDIR and in LINKTOOLDIR symbolic links are created.
#
TOOLDIR = /usr/etc
LINKTOOLDIR = /etc
#
# Where to install the manual pages
#
MANPATH = /usr/man
#
RM = rm -f
LN = ln -fs
