|
|
1.1 root 1: # Copyright 1985, Massachusetts Institute of Technology.
2: #
3: # xload - makefile for xload
4: #
5:
6: DESTDIR =
7: CONFDIR = /usr/new
8: INCLUDES = -I../include
9:
10: CFLAGS = -O $(INCLUDES)
11: XLIB = ../Xlib/libX.a
12: SRCS = xload.c
13: OBJS = xload.o
14: PROGRAM = xload
15:
16: all: xload
17:
18: clean:
19: rm -f *.bak *.o *~ $(PROGRAM) \#*
20:
21: # note that on many systems, /dev/kmem is not readable except by a special group
22: # group kmem is the name of this group on 4.3.
23: install: all
24: install -s -m 2755 -g kmem xload ${DESTDIR}${CONFDIR}
25:
26: xload: xload.o ../Xlib/Xlib.h
27: cc $(CFLAGS) $(OBJS) -o $(PROGRAM) $(XLIB)
28:
29: $(OBJS): $(SRCS)
30:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.