#### Under MacOS and CodeWarrier, we use project files, 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 \
  mac_config.h \
  options.h \
  pwd.h \
  maccvs.pch

SOURCES = \
  ae_if.c \
  filesubr.c \
  mac_init.c \
  macos_filesys.c \
  pwd.c \
  rcmd.c \
  run.c \
  server_if.c

DISTFILES = \
  ${HEADERS} \
  ${SOURCES} \
  README.MacCVS \
  ChangeLog \
  Makefile.in \
  services \
  AE_example.pl \
  maccvs.r \
  MacCVS68k.sit.hqx \
  MacCVSPPC.sit.hqx

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:

.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 macintosh subdir

distclean:
	rm -f Makefile

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