|
|
1.1 ! root 1: # ! 2: # Makefile for X window system terminal emulator. ! 3: # ! 4: ! 5: DESTDIR= ! 6: # We put xterm in /etc so you can run on partial boot. A link is put ! 7: # in CONFDIR so normal search paths will find xterm. ! 8: # ! 9: # For the 4.3 distribution, the executable is put in /usr/new instead. ! 10: # ! 11: CONFDIR= /usr/new ! 12: INCLUDES= -I../include ! 13: #CFLAGS = -g -DJUMPSCROLL -DMODEMENU ! 14: CFLAGS = -O -DJUMPSCROLL -DMODEMENU ${INCLUDES} ! 15: ! 16: .SUFFIXES: .o .h .c ! 17: ! 18: OBJS = main.o input.o charproc.o cursor.o util.o tabs.o buf.o ansi.o \ ! 19: screen.o button.o Tplot.o ! 20: ! 21: all: xterm resize ! 22: ! 23: bup: Makefile ptyx.h ansi.c buf.c button.c chartable.h \ ! 24: esctable.h charproc.c cursor.c input.c \ ! 25: main.c screen.c tabs.c Tplot.c util.c ! 26: ! 27: $(OBJS): ptyx.h ! 28: ! 29: charproc.o: chartable.h esctable.h ! 30: ! 31: main.o: icon.ic icon_mask.ic ! 32: ! 33: xterm: $(OBJS) ../Xlib/libX.a ../XMenu/libXMenu.a ! 34: $(CC) $(CFLAGS) -o xterm $(OBJS) ../XMenu/libXMenu.a ../Xlib/libX.a -ltermcap ! 35: ! 36: resize: resize.o ! 37: $(CC) $(CFLAGS) -o resize resize.o -lc -ltermcap ! 38: ! 39: install: all ! 40: # install -m 4755 xterm ${DESTDIR}/etc ! 41: install -m 4755 xterm ${DESTDIR}${CONFDIR} ! 42: # rm -f ${DESTDIR}${CONFDIR}/xterm ! 43: # ln -s /etc/xterm ${DESTDIR}${CONFDIR}/xterm ! 44: install resize ${DESTDIR}${CONFDIR} ! 45: ! 46: clean: ! 47: rm -f xterm resize *.o a.out core errs gmon.out *.bak *~ ! 48: ! 49: print: ! 50: lpr -Pln ptyx.h ansi.c buf.c button.c chartable.h \ ! 51: esctable.h charproc.c cursor.c input.c \ ! 52: main.c screen.c tabs.c Tplot.c util.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.