#
# 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
#
CC = gcc
AR = ar
LD = gcc
#CC = cgcc
#AR = car
#LD = cgcc
#
# 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"
#
#MINTINCLUDE = /usr/local/cross-gcc/include
#MINTLIB = /usr/local/cross-gcc/lib
MINTINCLUDE = /usr/include
MINTLIB = /usr/lib
#
# We should use GNU install instead of cp
#
INSTALL = install
LIBMODE = -m 644
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 relative to
# LINKPATH.
#
TOOLDIR = /usr/etc
LINKTOOLDIR = /etc
LINKPATH = ../usr/etc
#
# Where to install the manual pages
#
MANPATH = /usr/man
#
RM = rm -f
LN = ln -s
