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 - download
Index: ┃ M T

⟦c6c35b4c8⟧ TextFile

    Length: 2511 (0x9cf)
    Types: TextFile
    Names: »Makefile«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« 
        └─⟦2109abc41⟧ 
            └─ ⟦this⟧ »./X.V10R4/xterm/Makefile« 

TextFile

#
# 	$Source: /u1/X/xterm/RCS/Makefile,v $
#	$Header: Makefile,v 10.2 86/12/01 17:52:22 swick Rel $
#

#
#	Makefile for X window system terminal emulator.
#	@(#)Makefile	X10/6.6	11/3/86
#

DESTDIR=
# We put xterm in /etc so you can run on partial boot.  A link is put
# in CONFDIR so normal search paths will find xterm.
# 
# For the 4.3 distribution, the executable is put in /usr/new instead.
#
CONFDIR= /usr/new
INCLUDES= -I../include
LIBS= ../Xlib/libX.a -ltermcap
#
# The option KEYBD may be included if the keyboard mods have been done to
# XKeyBind.c in libX.a.
#cflags = -O -DMODEMENU ${INCLUDES} -DUTMP -DKEYBD
#
# NOWINDOWMENU	disables the window manager menu (right button)
# DROPMENUS	causes the menus to drop from the cursor rather than be
#		centered vertically.
cflags = -O -DMODEMENU ${INCLUDES} -DUTMP -DNOWINDOWMENU -DDROPMENUS
CFLAGS = -R ${cflags}
SOURCE = Makefile data.h error.h menu.h ptyx.h scrollbar.h VTparse.h \
		Tekparse.h button.c charproc.c cursor.c data.c input.c \
		main.c menu.c misc.c screen.c scrollbar.c tabs.c \
		Tekparsetable.c Tekproc.c util.c VTparsetable.c

.SUFFIXES: .o .h .c

OBJS =	main.o input.o charproc.o cursor.o util.o tabs.o \
	screen.o scrollbar.o button.o Tekproc.o misc.o \
	VTparsetable.o Tekparsetable.o data.o menu.o

all: xterm resize

xterm: $(OBJS) ../Xlib/libX.a
	$(CC) $(CFLAGS) -o xterm $(OBJS) $(LIBS)

button.o: data.h error.h menu.h ptyx.h scrollbar.h

charproc.o: VTparse.h error.h data.h menu.h ptyx.h scrollbar.h

cursor.o: ptyx.h

data.o: data.c ptyx.h scrollbar.h
	$(CC) $(cflags) -c data.c

input.o: ptyx.h

main.o: data.h error.h main.h ptyx.h scrollbar.h

menu.o: menu.h

misc.o: error.h ptyx.h scrollbar.h gray.ic hilite.ic icon.ic wait.ic waitmask.ic

screen.o: error.h ptyx.h scrollbar.h

scrollbar.o: error.h ptyx.h scrollbar.h button.ic dark.ic light.ic upline.ic \
	downline.ic uppage.ic downpage.ic top.ic bottom.ic saveoff.ic saveon.ic

tabs.o: ptyx.h

Tekparsetable.o: Tekparse.h

Tekproc.o: Tekparse.h error.h data.h menu.h ptyx.h scrollbar.h

VTparsetable.o: VTparse.h

util.o: ptyx.h scrollbar.h

resize: resize.o
	$(CC) $(cflags) -o resize resize.o -lc -ltermcap

resize.o: resize.c
	$(CC) $(cflags) -c resize.c

install: all
#	install -m 4755 xterm ${DESTDIR}/etc
	install -m 4755 xterm ${DESTDIR}${CONFDIR}
#	rm -f ${DESTDIR}${CONFDIR}/xterm
#	ln -s /etc/xterm ${DESTDIR}${CONFDIR}/xterm
	install resize ${DESTDIR}${CONFDIR}

clean:
	rm -f xterm resize *.o a.out core errs gmon.out *.bak *~

print:
	lpr -Pln ${SOURCE}