SHELL := bash
TOP_DIR		= $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi)
#ROOT_DIR	= $(TOP_DIR)/../../../..
ROOT_DIR	= $(TOP_DIR)/../../../../../..
INSTALL_DIR	= $(ROOT_DIR)/usr/sbin
#MNOPT		= @MAM33_ARG@
MNOPT		= -mam33-2

# Generated by configure on Tue May 13 01:32:20 EDT 1997
#
PACKAGE=netkit-base
LOCALEDIR=/usr/share/locale

# Directory for binaries on the root partition
ROOTBINDIR=/bin

# Directory for user binaries
BINDIR=/usr/bin

# Directory for man page tree
MANDIR=/usr/man

# Directory for system binaries
SBINDIR=/usr/sbin

# Install into chroot area found here
INSTALLROOT=



# Mode for user binaries
BINMODE=755

# Mode for daemon binaries
DAEMONMODE=755

# Mode for manual pages
MANMODE=644

# Mode for setuid programs
SUIDMODE=4755



# Compiler to use
CC=mn10300-linux-gcc -mam33-2 -pipe -O2

# Compiler warnings
WARNINGS= -Wall -W -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline 

# Compiler flags to use
#CFLAGS= @MAM33_ARG@ -O2 -pipe $(RPM_OPT_FLAGS) -D__USE_BSD_SIGNAL $(WARNINGS) -g
CFLAGS= $(MNOPT) -O2 -pipe $(RPM_OPT_FLAGS) -D__USE_BSD_SIGNAL $(WARNINGS) -g
CFLAGS+= -DPACKAGE=\"$(PACKAGE)\"
CFLAGS+= -I$(ROOT_DIR)/usr/include

# Link-time flags to use
LDFLAGS= $(MNOPT)

# Additional link libraries
LIBS=-lc -lnss_files -lnss_dns -lresolv





# Work around GNU libc lossage
USE_GLIBC=1



# Tell confgen we need BSD signal semantics
NEED_BSD_SIGNAL=1

