#### Under Windows NT and Microsoft Visual C++, we use cvsnt.mak, not
#### this makefile.  However, we need this file in order for 'make
#### dist' to work properly on Unix machines.

srcdir     = @srcdir@
top_srcdir = @top_srcdir@
cvs_srcdir = @top_srcdir@/src
VPATH      = @srcdir@

SHELL = /bin/sh

prefix = @prefix@
exec_prefix = @exec_prefix@


HEADERS = \
  config.h \
  ndir.h \
  options.h \
  pwd.h \
  rcmd.h
SOURCES = \
  filesubr.c \
  mkdir.c \
  ndir.c \
  pwd.c \
  rcmd.c \
  run.c \
  startserver.c \
  strippath.c \
  stripslash.c \
  waitpid.c \
  win32.c
DISTFILES = ${HEADERS} ${SOURCES} \
  README ChangeLog Makefile.in .cvsignore

all:

.PHONY: all install uninstall
all install uninstall:

installdirs:
.PHONY: installdirs

.PHONY: tags TAGS
tags TAGS:

.PHONY: ls
ls:
	@echo ${DISTFILES}

.PHONY: clean distclean realclean mostlyclean
clean realclean mostlyclean:

distclean:
	rm -f Makefile

.PHONY: lint
lint:

.PHONY: dist-dir
dist-dir:
	mkdir ${DISTDIR}
	for i in ${DISTFILES}; do \
	  ln $(srcdir)/$${i} ${DISTDIR}; \
	done

clean:
	@echo make clean does nothing in windows-NT subdir

subdir = windows-NT
Makefile: ../config.status Makefile.in
	cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
