source: trunk/athena/etc/console/Makefile.in @ 12243

Revision 12243, 1.3 KB checked in by ghudson, 26 years ago (diff)
Move console sources here from athena/bin/dash/src/console, and autoconfiscate.
Line 
1# $Id: Makefile.in,v 1.1 1998-12-17 16:26:01 ghudson Exp $
2
3SHELL=/bin/sh
4VPATH=@srcdir@
5INSTALL=@INSTALL@
6INSTALL_PROGRAM=@INSTALL_PROGRAM@
7srcdir=@srcdir@
8top_srcdir=@top_srcdir@
9prefix=@prefix@
10exec_prefix=@exec_prefix@
11sbindir=@bindir@
12lsbindir=@lsbindir@
13mandir=@mandir@
14sysconfdir=@sysconfdir@
15bitmapsdir=${sysconfdir}/login/bitmaps
16
17CC=@CC@
18DEFS=@DEFS@
19CPPFLAGS=@CPPFLAGS@
20CFLAGS=@CFLAGS@
21X_CFLAGS=@X_CFLAGS@
22LDFLAGS=@LDFLAGS@
23X_LIBS=@X_LIBS@
24X_PRE_LIBS=@X_PRE_LIBS@
25X_EXTRA_LIBS=@X_EXTRA_LIBS@
26LIBS=@LIBS@
27ALL_LDFLAGS=${LDFLAGS} ${X_LIBS}
28ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${X_CFLAGS} ${DEFS}
29ALL_LIBS=-lXj ${X_PRE_LIBS} -lX11 ${X_EXTRA_LIBS} ${LIBS}
30
31all: console
32
33console: console.o
34        ${CC} ${ALL_LDFLAGS} -o $@ console.o ${ALL_LIBS}
35
36.c.o:
37        ${CC} -c ${ALL_CFLAGS} $<
38
39check:
40
41install:
42        ${top_srcdir}/mkinstalldirs ${DESTDIR}${lsbindir}
43        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
44        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bitmapsdir}
45        ${INSTALL_PROGRAM} console ${DESTDIR}${lsbindir}
46        ${INSTALL} -m 444 ${srcdir}/console.8 ${DESTDIR}${mandir}/man8
47        ${INSTALL} -m 444 ${srcdir}/console.xbm ${DESTDIR}${bitmapsdir}
48        ${INSTALL} -m 444 ${srcdir}/gray ${DESTDIR}${bitmapsdir}
49
50clean:
51        rm -f console.o console
52
53distclean: clean
54        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.