TOPDIR := $(shell cd ../../..; pwd)
CFLAGS += -Wno-error
export CFLAGS
# ----------------------------------------------------------------------------
all:
	if [ ! -e Makefile ]; then \
	  TOPDIR=${TOPDIR} \
	  ac_cv_header_libintl_h=no \
	    ./configure --prefix=${TOPDIR}/uC-src ${MMHOST}; \
	fi
	${MAKE} ${MFLAGS}
# ----------------------------------------------------------------------------
install:
	${MAKE} ${MFLAGS} install
# ----------------------------------------------------------------------------
clean:
	if [ -e Makefile ]; then ${MAKE} distclean; fi
	rm -f pptpd pptpd.gdb
	rm -f pptpctrl pptpctrl.gdb
	rm -rf autom4te.cache
	rm -f config.h config.log config.status stamp-h1 Makefile
# ----------------------------------------------------------------------------
reconf:
	./reconf	# this comes with the package.
# ----------------------------------------------------------------------------
