# Makefile.in for cookie # Author: Noah Friedman # Created: 1995-07-20 # $Id$ #### Start of system configuration section. #### srcdir = @srcdir@ VPATH = $(srcdir) CC = @CC@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_DATA = @INSTALL_DATA@ DEFS = @DEFS@ LIBS = @LIBS@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ prefix = @prefix@ exec_prefix = @exec_prefix@ # The directory for installing executable programs that users can run. bindir = $(exec_prefix)/bin # Prefix/suffix for each installed program name, normally empty. binprefix = binsuffix = # The directory for installing read-only architecture independent # data files. # As a special exception, see `infodir' and `includedir' below. datadir = $(prefix)/share/cookie AUTOCONF = autoconf ETAGS = etags LN = ln -s RM = rm -f TAR = tar #### End of system configuration section. #### COOKIEVERSION = @PACKAGE_VERSION@ SHELL = /bin/sh LOADLIBES = $(LIBS) DISTFILES = RCS Makefile.in configure.in configure install-sh $(SRCS) SRCS = cookie.c COOKIEDEFS = -DDEFAULT_COOKIEJAR='"$(datadir)/cookie-dough"' $(DEFS) .c.o: $(CC) -c -I. -I$(srcdir) $(COOKIEDEFS) $(CPPFLAGS) $(CFLAGS) $< all: all-cookie ### targets required by GNU Coding standards ### Makefile: Makefile.in config.status $(SHELL) ./config.status config.status: configure $(SHELL) ./config.status --recheck configure: configure.in cd $(srcdir) && $(AUTOCONF) TAGS: cd $(srcdir) && $(ETAGS) .PHONY: clean mostlyclean distclean clean: $(RM) *.o core a.out cookie mostlyclean: clean distclean: clean $(RM) Makefile config.status config.log config.cache config.h .PHONY: maintainer-clean maintclean-warning maintainer-clean: maintclean-warning distclean $(RM) getdate.c y.tab.c configure # Used by maintainer-clean to print a warning before any rm commands are run. maintclean-warning: @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." realclean: distclean $(RM) TAGS .PHONY: dist dist: $(DISTFILES) echo cookie-$(COOKIEVERSION) > .fname $(RM) -r `cat .fname` mkdir `cat .fname` dst=`cat .fname`; for f in $(DISTFILES); do \ $(LN) ../$$f $$dst/$$f || { echo copying $$f; cp -p $(srcdir)/$$f $$dst/$$f ; } \ done $(TAR) --gzip -chovf `cat .fname`.tar.gz `cat .fname` $(RM) -r `cat .fname` .fname .PHONY: installdirs uninstall install: all installdirs $(INSTALL_PROGRAM) cookie $(DESTDIR)$(bindir)/cookie $(INSTALL_PROGRAM) cookie-express.pl $(DESTDIR)$(bindir)/cookie-express.pl # -$(INSTALL_DATA) $(srcdir)/cookie-dough $(datadir)/cookie-dough installdirs: force $(INSTALL) -d $(DESTDIR)$(bindir) $(INSTALL) -d $(DESTDIR)$(datadir) uninstall: force -cd $(bindir) && $(RM) cookie .PHONY: check installcheck force check: @echo 'Nothing to be done for "check"' installcheck: @echo 'Nothing to be done for "installcheck"' force: ### program-specific building targets ### all-cookie: cookie cookie: cookie.o $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o cookie cookie.o $(LOADLIBES) # Prevent GNU make v3 from overflowing arg limit on SysV. .NOEXPORT: # local variables: # mode: indented-text # end: # Makefile.in ends here