# Makefile.in generated automatically by automake 1.2c from Makefile.am

# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


SHELL = /bin/sh

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@

top_builddir = ..

ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@

NORMAL_INSTALL = true
PRE_INSTALL = true
POST_INSTALL = true
NORMAL_UNINSTALL = true
PRE_UNINSTALL = true
POST_UNINSTALL = true
host_alias = @host_alias@
host_triplet = @host@
CC = @CC@
CXX = @CXX@
DEFAULT_ENV_ = @DEFAULT_ENV_@
DIRS = @DIRS@
EMACS = @EMACS@
LEX = @LEX@
MAKEINFO = @MAKEINFO@
PACKAGE = @PACKAGE@
PRCS_MAJOR_VERSION_NUMBER = @PRCS_MAJOR_VERSION_NUMBER@
PRCS_MICRO_VERSION_NUMBER = @PRCS_MICRO_VERSION_NUMBER@
PRCS_MINOR_VERSION_NUMBER = @PRCS_MINOR_VERSION_NUMBER@
RANLIB = @RANLIB@
SYS_CI_COMMAND_PATH = @SYS_CI_COMMAND_PATH@
SYS_CO_COMMAND_PATH = @SYS_CO_COMMAND_PATH@
SYS_GDIFF3_COMMAND_PATH = @SYS_GDIFF3_COMMAND_PATH@
SYS_GDIFF_COMMAND_PATH = @SYS_GDIFF_COMMAND_PATH@
SYS_GZIP_COMMAND_PATH = @SYS_GZIP_COMMAND_PATH@
SYS_LS_COMMAND_PATH = @SYS_LS_COMMAND_PATH@
SYS_RCS_COMMAND_PATH = @SYS_RCS_COMMAND_PATH@
SYS_RLOG_COMMAND_PATH = @SYS_RLOG_COMMAND_PATH@
SYS_TAR_COMMAND_PATH = @SYS_TAR_COMMAND_PATH@
VERSION = @VERSION@
lispdir = @lispdir@

SUBDIRS = include

INCLUDES = -I$(srcdir)/include

EXTRA_DIST = README.GNU.SOURCES prcserror.tl dynarray.tl hash.tl \
	     prcs-keys.c prcs-keys.gperf prj-names.h prj-names.gperf

bin_PROGRAMS = prcs

BUILT_SOURCES = prcs-keys.c prj-names.h

prcs_LDADD = @LIBOBJS@ @LEXLIB@

prcs_DEPENDENCIES = @LIBOBJS@

prcs_SOURCES = prcs.cc sexp.cc fileent.cc projdesc.cc checkin.cc \
	checkout.cc repository.cc populate.cc syscmd.cc vc.cc diff.cc \
	info.cc misc.cc package.cc merge.cc lock.cc rebuild.cc \
	prcserror.cc convert.cc memseg.cc prcsver.cc setkeys.cc \
	quick.cc rekey.cc dstring.cc dynarray.cc hash.cc execute.cc \
	docs.cc attrs.cc utils.c getopt.c getopt1.c md5c.c maketime.c \
	partime.c vclex.l prcs-keys.c prjlex.l

JGPERF=jgperf
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../config.h
CONFIG_CLEAN_FILES =  docs.cc
PROGRAMS =  $(bin_PROGRAMS)


DEFS = @DEFS@ -I. -I$(srcdir) -I..
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
prcs_OBJECTS =  prcs.o sexp.o fileent.o projdesc.o checkin.o checkout.o \
repository.o populate.o syscmd.o vc.o diff.o info.o misc.o package.o \
merge.o lock.o rebuild.o prcserror.o convert.o memseg.o prcsver.o \
setkeys.o quick.o rekey.o dstring.o dynarray.o hash.o execute.o docs.o \
attrs.o utils.o getopt.o getopt1.o md5c.o maketime.o partime.o vclex.o \
prcs-keys.o prjlex.o
prcs_LDFLAGS = 
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
LEXLIB = @LEXLIB@
YLWRAP = $(srcdir)/ylwrap
CXXFLAGS = @CXXFLAGS@
CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS)
CXXLINK = $(CXX) $(CXXFLAGS) $(LDFLAGS) -o $@
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON =  Makefile.am Makefile.in docs.cc.in fnmatch.c memcmp.c \
prjlex.c vclex.c ylwrap


DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)

TAR = gtar
GZIP = --best
SOURCES = $(prcs_SOURCES)
OBJECTS = $(prcs_OBJECTS)

default: all

.SUFFIXES:
.SUFFIXES: .c .cc .l .o
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile

Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status

docs.cc: $(top_builddir)/config.status docs.cc.in
	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status

mostlyclean-binPROGRAMS:

clean-binPROGRAMS:
	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)

distclean-binPROGRAMS:

maintainer-clean-binPROGRAMS:

install-binPROGRAMS: $(bin_PROGRAMS)
	@$(NORMAL_INSTALL)
	$(mkinstalldirs) $(bindir)
	@list='$(bin_PROGRAMS)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo "  $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
	     $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
	  else :; fi; \
	done

uninstall-binPROGRAMS:
	$(NORMAL_UNINSTALL)
	list='$(bin_PROGRAMS)'; for p in $$list; do \
	  rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
	done

.c.o:
	$(COMPILE) -c $<

mostlyclean-compile:
	-rm -f *.o core

clean-compile:

distclean-compile:
	-rm -f *.tab.c

maintainer-clean-compile:

prcs: $(prcs_OBJECTS) $(prcs_DEPENDENCIES)
	@rm -f prcs
	$(CXXLINK) $(prcs_LDFLAGS) $(prcs_OBJECTS) $(prcs_LDADD) $(LIBS)
.l.c:
	$(SHELL) $(YLWRAP) "$(LEX)" $< $(LEX_OUTPUT_ROOT).c $@ -- $(LFLAGS)
.cc.o:
	$(CXXCOMPILE) -c $<

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.

@SET_MAKE@

all-recursive install-data-recursive install-exec-recursive \
installdirs-recursive install-recursive uninstall-recursive  \
check-recursive installcheck-recursive info-recursive dvi-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	for subdir in $(SUBDIRS); do \
	  target=`echo $@ | sed s/-recursive//`; \
	  echo "Making $$target in $$subdir"; \
	  (cd $$subdir && $(MAKE) $$target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $(MAKEFLAGS); amf=$$2; \
	rev=''; for subdir in $(SUBDIRS); do rev="$$subdir $$rev"; done; \
	for subdir in $$rev; do \
	  target=`echo $@ | sed s/-recursive//`; \
	  echo "Making $$target in $$subdir"; \
	  (cd $$subdir && $(MAKE) $$target) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  (cd $$subdir && $(MAKE) tags); \
	done

tags: TAGS

ID: $(HEADERS) $(SOURCES)
	here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)

TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES)
	tags=; \
	here=`pwd`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
	done; \
	test -z "$(ETAGS_ARGS)$(SOURCES)$(HEADERS)$$tags" \
	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $(SOURCES) $(HEADERS) -o $$here/TAGS)

mostlyclean-tags:

clean-tags:

distclean-tags:
	-rm -f TAGS ID

maintainer-clean-tags:

distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)

subdir = src

distdir: $(DISTFILES)
	@for file in $(DISTFILES); do \
	  d=$(srcdir); \
	  test -f $(distdir)/$$file \
	  || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
	  || cp -p $$d/$$file $(distdir)/$$file; \
	done
	for subdir in $(SUBDIRS); do \
	  test -d $(distdir)/$$subdir \
	  || mkdir $(distdir)/$$subdir \
	  || exit 1; \
	  chmod 777 $(distdir)/$$subdir; \
	  (cd $$subdir && $(MAKE) top_distdir=../$(top_distdir) distdir=../$(distdir)/$$subdir distdir) \
	    || exit 1; \
	done
attrs.o attrs.lo: attrs.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/projdesc.h
checkin.o checkin.lo: checkin.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/setkeys.h \
	include/projdesc.h include/fileent.h include/repository.h \
	include/vc.h include/checkout.h include/checkin.h \
	include/misc.h include/memseg.h include/rebuild.h \
	include/system.h include/quick.h include/sexp.h \
	include/syscmd.h include/diff.h
checkout.o checkout.lo: checkout.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/repository.h \
	include/projdesc.h include/fileent.h include/vc.h \
	include/checkout.h include/checkin.h include/setkeys.h \
	include/misc.h include/system.h include/memseg.h \
	include/rebuild.h
convert.o convert.lo: convert.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/convert.h \
	include/repository.h include/misc.h include/rebuild.h
diff.o diff.lo: diff.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/misc.h include/repository.h \
	include/projdesc.h include/checkin.h include/checkout.h \
	include/vc.h include/fileent.h include/diff.h include/syscmd.h \
	include/setkeys.h include/system.h include/memseg.h \
	include/rebuild.h
docs.o docs.lo: docs.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/syscmd.h include/docs.h
dstring.o dstring.lo: dstring.cc include/dstring.h include/dynarray.h \
	../config.h include/utils.h
dynarray.o dynarray.lo: dynarray.cc ../config.h include/dynarray.h \
	include/dstring.h include/utils.h dynarray.tl include/prcs.h \
	include/typedefs.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/syscmd.h \
	include/vc.h
execute.o execute.lo: execute.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/projdesc.h \
	include/checkin.h include/fileent.h include/misc.h \
	include/repository.h include/checkout.h include/vc.h \
	include/system.h include/syscmd.h
fileent.o fileent.lo: fileent.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/projdesc.h \
	include/fileent.h include/repository.h include/misc.h \
	include/system.h include/vc.h
fnmatch.o fnmatch.lo: fnmatch.c ../config.h include/fnmatch.h
getopt.o getopt.lo: getopt.c ../config.h include/getopt.h
getopt1.o getopt1.lo: getopt1.c ../config.h include/getopt.h
hash.o hash.lo: hash.cc include/hash.h ../config.h hash.tl \
	include/prcs.h include/utils.h include/typedefs.h \
	include/dstring.h include/dynarray.h include/populate.h \
	include/regex.h include/prcserror.h include/projdesc.h \
	include/fileent.h include/sexp.h
info.o info.lo: info.cc include/fnmatch.h include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/projdesc.h \
	include/fileent.h include/repository.h include/vc.h \
	include/misc.h include/checkout.h include/checkin.h
lock.o lock.lo: lock.cc include/maketime.h include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/misc.h \
	include/lock.h
maketime.o maketime.lo: maketime.c ../config.h include/partime.h \
	include/maketime.h
md5c.o md5c.lo: md5c.c include/global.h include/md5.h include/utils.h \
	../config.h
memcmp.o memcmp.lo: memcmp.c ../config.h
memseg.o memseg.lo: memseg.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/memseg.h include/system.h
merge.o merge.lo: merge.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/diff.h include/checkin.h \
	include/checkout.h include/repository.h include/projdesc.h \
	include/vc.h include/syscmd.h include/setkeys.h \
	include/fileent.h include/misc.h include/system.h
misc.o misc.lo: misc.cc include/maketime.h include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/docs.h \
	include/prcsdir.h include/misc.h include/vc.h include/syscmd.h \
	include/repository.h include/system.h include/checkout.h
package.o package.lo: package.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/prcsdir.h \
	include/syscmd.h include/misc.h include/repository.h \
	include/projdesc.h include/system.h include/vc.h include/lock.h
partime.o partime.lo: partime.c ../config.h include/partime.h
populate.o populate.lo: populate.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/prcsdir.h \
	include/projdesc.h include/repository.h include/misc.h \
	include/fileent.h include/system.h include/checkin.h
prcs-keys.o prcs-keys.lo: prcs-keys.c
prcs.o prcs.lo: prcs.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/lock.h include/docs.h include/vc.h \
	include/misc.h include/projdesc.h include/fileent.h \
	include/syscmd.h include/repository.h include/system.h \
	include/getopt.h
prcserror.o prcserror.lo: prcserror.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/misc.h prcserror.tl
prcsver.o prcsver.lo: prcsver.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/projdesc.h \
	include/vc.h include/misc.h include/repository.h
prjlex.o prjlex.lo: prjlex.c include/utils.h ../config.h \
	include/projdesc.h
projdesc.o projdesc.lo: projdesc.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/projdesc.h \
	include/sexp.h include/fileent.h include/vc.h \
	include/repository.h include/misc.h include/quick.h \
	include/system.h include/checkout.h include/memseg.h \
	include/setkeys.h prj-names.h
quick.o quick.lo: quick.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/projdesc.h include/fileent.h \
	include/sexp.h include/quick.h include/system.h include/misc.h
rebuild.o rebuild.lo: rebuild.cc include/md5.h include/utils.h \
	../config.h include/global.h include/prcs.h include/typedefs.h \
	include/dstring.h include/dynarray.h include/hash.h \
	include/populate.h include/regex.h include/prcserror.h \
	include/repository.h include/misc.h include/vc.h \
	include/setkeys.h include/checkout.h include/system.h \
	include/memseg.h include/rebuild.h include/prcsdir.h \
	include/projdesc.h include/fileent.h include/syscmd.h \
	include/checkin.h
regex.o regex.lo: regex.c ../config.h include/regex.h
rekey.o rekey.lo: rekey.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/checkout.h include/checkin.h \
	include/projdesc.h include/fileent.h include/repository.h \
	include/misc.h include/memseg.h include/setkeys.h \
	include/system.h
repository.o repository.lo: repository.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/prcsdir.h \
	include/repository.h include/vc.h include/checkout.h \
	include/misc.h include/lock.h include/syscmd.h include/system.h \
	include/convert.h include/memseg.h include/rebuild.h \
	include/projdesc.h
setkeys.o setkeys.lo: setkeys.cc include/prcs.h ../config.h \
	include/utils.h include/typedefs.h include/dstring.h \
	include/dynarray.h include/hash.h include/populate.h \
	include/regex.h include/prcserror.h include/setkeys.h \
	include/memseg.h include/system.h include/projdesc.h \
	include/fileent.h
sexp.o sexp.lo: sexp.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/projdesc.h include/sexp.h \
	include/misc.h
syscmd.o syscmd.lo: syscmd.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/syscmd.h include/misc.h \
	include/system.h include/memseg.h
utils.o utils.lo: utils.c include/utils.h ../config.h
vc.o vc.lo: vc.cc include/prcs.h ../config.h include/utils.h \
	include/typedefs.h include/dstring.h include/dynarray.h \
	include/hash.h include/populate.h include/regex.h \
	include/prcserror.h include/vc.h include/syscmd.h \
	include/system.h include/misc.h include/memseg.h
vclex.o vclex.lo: vclex.c include/utils.h ../config.h include/vc.h

info: info-recursive
dvi: dvi-recursive
check: all-am
	$(MAKE) check-recursive
installcheck: installcheck-recursive
all-am: Makefile $(PROGRAMS)

install-exec-am: install-binPROGRAMS

uninstall-am: uninstall-binPROGRAMS

install-exec: install-exec-recursive install-exec-am
	@$(NORMAL_INSTALL)

install-data: install-data-recursive
	@$(NORMAL_INSTALL)

install: install-recursive install-exec-am
	@:

uninstall: uninstall-recursive uninstall-am

all: all-recursive all-am

install-strip:
	$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
installdirs: installdirs-recursive
	$(mkinstalldirs)  $(bindir)


mostlyclean-generic:
	-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-rm -f Makefile $(DISTCLEANFILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
		mostlyclean-tags mostlyclean-generic

clean-am:  clean-binPROGRAMS clean-compile clean-tags clean-generic \
		mostlyclean-am

distclean-am:  distclean-binPROGRAMS distclean-compile distclean-tags \
		distclean-generic clean-am

maintainer-clean-am:  maintainer-clean-binPROGRAMS \
		maintainer-clean-compile maintainer-clean-tags \
		maintainer-clean-generic distclean-am

mostlyclean:  mostlyclean-recursive mostlyclean-am

clean:  clean-recursive clean-am

distclean:  distclean-recursive distclean-am
	-rm -f config.status

maintainer-clean:  maintainer-clean-recursive maintainer-clean-am
	@echo "This command is intended for maintainers to use;"
	@echo "it deletes files that may require special tools to rebuild."

.PHONY: default mostlyclean-binPROGRAMS distclean-binPROGRAMS \
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile install-data-recursive \
uninstall-data-recursive install-exec-recursive \
uninstall-exec-recursive installdirs-recursive uninstalldirs-recursive \
all-recursive check-recursive installcheck-recursive info-recursive \
dvi-recursive mostlyclean-recursive distclean-recursive clean-recursive \
maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
installcheck all-am install-exec-am uninstall-am install-exec \
install-data install uninstall all installdirs mostlyclean-generic \
distclean-generic clean-generic maintainer-clean-generic clean \
mostlyclean distclean maintainer-clean


include/docs.h docs.cc.in: ../doc/prcs.texi ../doc/make-docs.el
	@EMACS@ --batch -l $(srcdir)/../doc/make-docs.el -f make-docs-noargs

misc.cc prcs.cc: include/docs.h
projdesc.cc: prj-names.h

prj-names.h: prj-names.gperf
	$(JGPERF) -A -G -C -a -t -T -p \
		-N ProjectDescriptor::prj_lookup_func \
		-H ProjectDescriptor::prj_lookup_hash \
		-W ProjectDescriptor::_pftable \
		< $< > $@

prcs-keys.c: prcs-keys.gperf
	$(JGPERF) -A -C -a -r -k1,9 \
		-N is_builtin_keyword \
		-H is_builtin_keyword_hash \
		< $< > $@

# gperf sucks way too much for me to fix this
#attrs.cc: attrs.gperf
#	$(JGPERF) -A -G -C -a -t -T -p \
#		-N is_file_attribute \
#		-H is_file_attribute_hash \
#		< $< > $@

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
