DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T m

⟦9606d726d⟧ TextFile

    Length: 4253 (0x109d)
    Types: TextFile
    Names: »makefile«

Derivation

└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89
    └─⟦this⟧ »./DVIware/lpr-viewers/crudetype/makefile« 
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« 
        └─⟦ca79c7339⟧ 
            └─⟦this⟧ »DVIware/lpr-viewers/crudetype/makefile« 

TextFile

# Makefile for Unix version of CRUDETYPE.
#
# {{ Originally written by P.King, much altered by RMD}}

#
# COPYRIGHT ( C ) P. King, Heriot-Watt University, 1988.
#
# Permission is given to any person to make and distribute copies of this
# software, subject to the following conditions:
#
# 1. All copies of the software must carry an exact copy of this notice.
#
# 2. This software is distributed free of charge, "AS IS" with absolutely no
# guarantee of performance. Any persons receiving or using this software must do
# so entirely at their own risk. Neither the authors nor their institutions
# accept any liability for any defects of this software, or for any consequential
# loss or damage however caused.
#
# 3. Any person who changes this software must clearly mark it as modified and
# add a note describing the changes made.
#
# Apart from the necessary changes to make it run under UNIX, I also
# added some options which can be specified from the command line.
# At the moment, if you specify any command line options, it assumes that
# all the dialog will be specified from there.
# You can also specify an alternative name for the print file, rather than
# have the program generate a default ( on UNIX you might be trying to
# print a dvi file in a directory in which you cannot write, so this
# allows you to specify so other directory.
# The other change is to allow you to suppress the information messages,
# about pages processed, tfm files loaded etc. (this is so you can put
# it in the background easily). 
#
# They depend on the Berkeley implementation of Pascal, and have only been tried
# on BSD4.2 UNIX.
#
#
# 
#
#
# Makefile:
# --------------------------------
#
#   Adapted from:
#   Makefile for TeX82 distribution, subdirectory `=TeXware'
#   version for 4.2 bsd
#
#   This file makes CRUDETYPE from its WEB source.
#
#   Note: The -J option on the 'pc' commands below is the only way to
#         'pc' to use the -J option to the assembler (which makes it
#         do the sensible thing with branches).  This flag is not
#         documented, which is correct, since 'pc' should really be
#         using it all of the time...  (Grrr..)
#
#   Note: The CRUDETYPE program uses an environment variable named
#   TEXFONTS to figure out where the TFM files are.  The default
#   value for this variable is set in the file (TEXDIR)site.h which
#   is also used by TeX.
#
#   Note: several parts of this Makefile are unsatisfactory; I could
#   not get them to work.
#
#
#  Before using this makefile, change these macros to conform to
#  local practice:
#
#
#
IMAGES = crudetype
INSTALL = cp
BINDIR=/tex
TEXDIR=/tex/tex82
MANDIR=/usr/man/manl


MACHINE = -m68020 -f68881
PC    = pc
CC    = cc
PCLIB = 
PFLAGS= -J -g -C $(MACHINE)
CFLAGS= -J -g $(MACHINE) -I$(TEXDIR)


.DEFAULT:
	@echo "You must name your target, there is no default"

.p.o:
	$(PC) $(PFLAGS) -c $<

.c.o:
	$(CC) $(CFLAGS) -c $< 



# There ought also to be an implicit rule for   .o    to executable, but 
# when I wrote one, it messed up the Pascal compile stage.
# Also I couldnt get a   .web.p   to work (RMD)


crudetype: crudetype.o unixext.o
	$(PC) $(PFLAGS) -o $@  crudetype.o unixext.o $(PCLIB)

crudetype.p: crudetype.web unix.ch
	-$(BINDIR)/tangle crudetype unix
	@echo "Ignore error messages saying 'this identifier has appeared' "


# YEUCHY mess for no coding schemes


noscheme: noscheme.o unixext.o
	$(PC) $(PFLAGS) -o $@  noscheme.o unixext.o $(PCLIB)
	@echo "What name do you want the installed image to have?"

noscheme.p: noscheme.web unix.ch
	-$(BINDIR)/tangle noscheme unix
	@echo "Ignore error messages saying 'this identifier has appeared' "

noscheme.web: crudetype.web noscheme.add
	cat crudetype.web noscheme.add > $@



# Typical example of a printer changefile

hpgf: hpgf.o unixext.o
	$(PC) $(PFLAGS) -o hpgf hpgf.o unixext.o $(PCLIB)

hpgf.p: crudetype.web  unixhp.ch
	cp crudetype.web hpgf.web
	-$(BINDIR)/tangle hpgf unixhp
	@echo "Ignore error messages saying 'this identifier has appeared' "
	rm -f hpgf.web
	
unixhp.ch: unix.ch hpgf.ch
	cat unix.ch hpgf.ch > $@


# Installing your binaries

install: $(IMAGES)
	for i in $(IMAGES) ; do\
		$(INSTALL) $$i  $(BINDIR); \
	done
	$(INSTALL) unixcru.man $(MANDIR)crudetype.l