source: trunk/athena/bin/xmore/Makefile @ 3479

Revision 3479, 1.7 KB checked in by probe, 34 years ago (diff)
Ultrix integration (dschmidt) Changed -g to -O
Line 
1#      This is the Makefile for Xmore, a file browsing utility
2#      built upon Xlib and the XToolkit.
3#     
4#      Created:         October 22, 1987
5#      By:              Chris D. Peterson
6#     
7#      $Source: /afs/dev.mit.edu/source/repository/athena/bin/xmore/Makefile,v $
8#      $Author: probe $
9#      $Header: /afs/dev.mit.edu/source/repository/athena/bin/xmore/Makefile,v 1.10 1990-09-20 03:33:41 probe 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
18DESTDIR=
19INSTDIR= /usr/athena
20LIBDIR=/usr/athena/lib
21MANDIR=/usr/man
22MANSECT=1
23
24CFLAGS= -O -DHELPFILE=\"${LIBDIR}/xmore.help\" ${INCFLAGS}
25INCFLAGS=
26LIBES= -lXaw -lXt -lXmu -lX11
27OBJS= globals.o help.o main.o pages.o ${XTKOBJS}
28XTKOBJS= ScrollByLine.o
29XTKFILES= ScrollByLine.c
30INCLUDE= defs.h globals.h more.h mit-copyright.h
31CFILES= globals.c help.c main.c pages.c ${XTKFILES}
32
33all:            xmore
34xmore:          ${OBJS}
35                cc ${CFLAGS} ${LDFLAGS} ${OBJS} -o xmore ${LIBES}
36globals.o:      globals.c ${INCLUDE}
37help.o:         help.c ${INCLUDE}
38main.o:         main.c ${INCLUDE}
39pages.o:        pages.c ${INCLUDE}
40ScrollByLine.c: ScrollByLine.c ScrollByLineP.h ScrollByLine.h
41
42install: ;
43         install -c -s xmore ${DESTDIR}${INSTDIR}/
44         install -c xmore.help ${DESTDIR}${LIBDIR}
45         install -c xmore.man ${DESTDIR}${MANDIR}/man${MANSECT}/xmore.${MANSECT}
46
47clean:  ;
48        rm -f *~ *.o xmore xmore.shar core xmore.cat
49
50saber: ;
51        saber ${INCFLAGS} ${LDFLAGS} ${CFILES} ${LIBES}
52
53shar:   ;
54        shar README Makefile xmore.help xmore.man \
55             ${CFILES} ${XTKFILES} > xmore.shar
56
57manual: ;
58        nroff -man xmore.man > xmore.cat
59
60
61depend:
62        touch Make.depend; makedepend -fMake.depend ${CFLAGS} ${CFILES}
63
Note: See TracBrowser for help on using the repository browser.