view src/=Makefile.in @ 16361:032601b9959b

(ps-print-prologue-1): Fix bug in postscript comment lines. (ps-nb-pages): Call ps-setup _before_ switching to the other buffer, because of buffer variables. Major rewrite. (ps-page-dimensions-database, ps-paper-type): Replace the following global variables: (ps-a4-page-height, ps-a4-page-width, ps-legal-page-height, ps-legal-page-width, ps-letter-page-height, ps-letter-page-width, ps-pages-alist, ps-page-dimensions): Variables deleted. (ps-page-height-i, ps-page-width-i): Variables deleted. (ps-print-prologue): Variable deleted. (ps-print-prologue-1, ps-print-prologue-2): New variables. Major rewrite of the postscript code to handle landscape mode, multiple columns and new font management. (ps-landscape-mode, ps-number-of-columns, ps-inter-column): New variables. Add landscape mode and multiple columns with interspacing. (ps-font-info-database, ps-font-family, ps-font-size, ps-header-font-family, ps-header-font-size, ps-header-title-font, ps-header-title-font-size): New variables. New font management interface. (ps-header-line-pad, ps-header-offset): New variables. (ps-header-font, ps-landscape-page-height): New internal variables. (ps-top-margin): Change its semantics. It is now really the top margin, not anymore twice the top margin. (/ReportAllFontInfo): New postscript function to get all the font families of the printer. (ps-setup): New function. (ps-line-lengths, ps-nb-pages-buffer, ps-nb-pages-region): New utility functions. (ps-page-dimensions-get-width, ps-page-dimensions-get-height): New macros. (/HeaderOffset): Fix bug with /PrintStartY. (/SetHeaderLines): Fix bug.
author Richard M. Stallman <rms@gnu.org>
date Sat, 28 Sep 1996 04:34:34 +0000
parents e58fefa3c3ab
children
line wrap: on
line source

# DIST: This is the distribution Makefile for Emacs.  configure can
# DIST: make most of the changes to this file you might want, so try
# DIST: that first.

MAKE = make
# BSD doesn't have it as a default.

# ==================== Things `configure' might edit ====================

CC=cc
CPP=cc -E
CFLAGS=-g
C_SWITCH_SYSTEM=
srcdir=@srcdir@/src
VPATH=@srcdir@/src
LN_S=ln -s

# ============================= Targets ==============================

CPP = $(CC) -E -Is -Im
#Note: an alternative is  CPP = /lib/cpp

# Just to avoid uncertainty.
SHELL = /bin/sh

SUBMAKEFLAGS = CC='${CC}' LN_S='${LN_S}' CFLAGS='${CFLAGS}' MAKE='${MAKE}'

all: doall

doall: xmakefile
	$(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} all

mostlyclean:
	rm -f temacs prefix-args xmakefile* core \#* *.o libXMenu11.a
	rm -f ../etc/DOC
clean: mostlyclean
	rm -f emacs-* emacs
#This is used in making a distribution.
#Do not use it on development directories!
distclean: clean
	rm -f paths.h config.h ../etc/DOC-*
realclean: distclean
	rm -f TAGS
versionclean:
	-rm -f emacs emacs-* ../etc/DOC*
extraclean: distclean
	-rm -f *~ \#* m/*~ s/*~

emacs: doemacs
	@true

doemacs: xmakefile
	$(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} emacs

temacs: dotemacs
	@true

dotemacs: xmakefile
	$(MAKE) ${SUBMAKEFLAGS} -f xmakefile ${MFLAGS} temacs

SOURCES = *.[ch] [sm]/* COPYING Makefile.in ymakefile \
	config.h.in README COPYING ChangeLog vms.pp-trans
unlock:
	chmod u+w $(SOURCES)

relock:
	chmod -w $(SOURCES)
	chmod +w paths.h

### Some makes, like Ultrix's make, complain if you put a comment in
### the middle of a rule's command list!  Dummies.

### The flags for optimization and debugging depend on the
### system, so take an ordinary CFLAGS value and choose the
### appropriate CPP symbols to use in ymakefile.
### If you have a problem with cc -E here, changing
### the definition of CPP above may fix it.

# Remake xmakefile whenever we reconfigure even if config.h didn't change.
xmakefile: ymakefile config.h ../config.status
	-rm -f xmakefile xmakefile.new junk.c junk.cpp
	cp ${srcdir}/ymakefile junk.c
	${CPP} -I. -I${srcdir} ${C_SWITCH_SYSTEM} ${CFLAGS} junk.c > junk.cpp
	< junk.cpp					\
	sed	-e 's/^#.*//'				\
		-e 's/^[ \f\t][ \f\t]*$$//'		\
		-e 's/^ /	/' 			\
		-e 's|^\(srcdir *=\).*$$|\1'"${srcdir}"'|'	\
		-e 's|^\(VPATH *=\).*$$|\1'"${srcdir}"'|'	\
	| sed -n -e '/^..*$$/p' 			\
	> xmakefile.new
	mv -f xmakefile.new xmakefile
	chmod 444 xmakefile
	rm -f junk.c junk.cpp

tagsfiles = [a-z]*.h [a-z]*.c ../lisp/[a-z]*.el ../lisp/term/[a-z]*.el
TAGS: $(tagsfiles)
	etags $(tagsfiles)
tags: TAGS
.PHONY: tags