1 | /* |
---|
2 | * |
---|
3 | * This is the Makefile for Xmore, a file browsing utility |
---|
4 | * built upon Xlib and the XToolkit. |
---|
5 | * |
---|
6 | * Created: October 22, 1987 |
---|
7 | * By: Chris D. Peterson |
---|
8 | * |
---|
9 | * $Id: Imakefile,v 1.4 1994-06-17 09:45:36 cfields Exp $ |
---|
10 | * |
---|
11 | * Copyright 1987, 1988 by the Massachusetts Institute of Technology. |
---|
12 | * |
---|
13 | * For further information on copyright and distribution |
---|
14 | * see the file mit-copyright.h |
---|
15 | */ |
---|
16 | |
---|
17 | # Directories to put the things into on install. |
---|
18 | |
---|
19 | LIBDIR=/usr/athena/lib |
---|
20 | |
---|
21 | DEFINES= -DHELPFILE=\"${LIBDIR}/xmore.help\" |
---|
22 | #ifdef sun |
---|
23 | LIBES= -lXaw -lXt -lXmu -lXext -lX11 -lm |
---|
24 | #else |
---|
25 | LIBES= -lXaw -lXt -lXmu -lXext -lX11 |
---|
26 | #endif |
---|
27 | OBJS= globals.o help.o main.o pages.o ${XTKOBJS} |
---|
28 | XTKOBJS= ScrollByLine.o |
---|
29 | XTKFILES= ScrollByLine.c |
---|
30 | INCLUDE= defs.h globals.h more.h mit-copyright.h |
---|
31 | CFILES= globals.c help.c main.c pages.c ${XTKFILES} |
---|
32 | |
---|
33 | SimpleProgram(xmore,$(OBJS),$(LIBES),$(ATHBINDIR)) |
---|
34 | install_file(xmore.help,$(LIBDIR)) |
---|
35 | install_man(xmore.man,xmore.1) |
---|
36 | |
---|
37 | globals.o: globals.c ${INCLUDE} |
---|
38 | help.o: help.c ${INCLUDE} |
---|
39 | main.o: main.c ${INCLUDE} |
---|
40 | pages.o: pages.c ${INCLUDE} |
---|
41 | ScrollByLine.o: ScrollByLine.c ScrollByLineP.h ScrollByLine.h |
---|
42 | |
---|
43 | saber: ; |
---|
44 | saber ${INCFLAGS} ${LDFLAGS} ${CFILES} ${LIBES} |
---|
45 | |
---|
46 | shar: ; |
---|
47 | shar README Makefile xmore.help xmore.man \ |
---|
48 | ${CFILES} ${XTKFILES} > xmore.shar |
---|
49 | |
---|
50 | manual: ; |
---|
51 | nroff -man xmore.man > xmore.cat |
---|
52 | |
---|
53 | |
---|
54 | #if 0 |
---|
55 | depend: |
---|
56 | makedepend ${CFLAGS} ${CFILES} |
---|
57 | #endif |
---|