source: trunk/athena/bin/xmore/Imakefile @ 6331

Revision 6331, 1.4 KB checked in by miki, 32 years ago (diff)
added lm for sun
Line 
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.3 1992-10-05 15:34:32 miki 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# Directories to put the things into on install.
17
18LIBDIR=/usr/athena/lib
19
20DEFINES= -DHELPFILE=\"${LIBDIR}/xmore.help\"
21#ifdef sun
22LIBES= -lXaw -lXt -lXmu -lXext -lX11 -lm
23#else
24LIBES= -lXaw -lXt -lXmu -lXext -lX11
25#endif
26OBJS= globals.o help.o main.o pages.o ${XTKOBJS}
27XTKOBJS= ScrollByLine.o
28XTKFILES= ScrollByLine.c
29INCLUDE= defs.h globals.h more.h mit-copyright.h
30CFILES= globals.c help.c main.c pages.c ${XTKFILES}
31
32SimpleProgram(xmore,$(OBJS),$(LIBES),$(ATHBINDIR))
33install_file(xmore.help,$(LIBDIR))
34install_man(xmore.man,xmore.1)
35
36globals.o:      globals.c ${INCLUDE}
37help.o:         help.c ${INCLUDE}
38main.o:         main.c ${INCLUDE}
39pages.o:        pages.c ${INCLUDE}
40ScrollByLine.o: ScrollByLine.c ScrollByLineP.h ScrollByLine.h
41
42saber: ;
43        saber ${INCFLAGS} ${LDFLAGS} ${CFILES} ${LIBES}
44
45shar:   ;
46        shar README Makefile xmore.help xmore.man \
47             ${CFILES} ${XTKFILES} > xmore.shar
48
49manual: ;
50        nroff -man xmore.man > xmore.cat
51
52
53#if 0
54depend:
55        makedepend  ${CFLAGS} ${CFILES}
56#endif
Note: See TracBrowser for help on using the repository browser.