Rev | Line | |
---|
[14016] | 1 | # $Id: Makefile.in,v 1.3 1999-11-18 12:53:58 ghudson Exp $ |
---|
[13819] | 2 | |
---|
| 3 | SHELL=/bin/sh |
---|
| 4 | VPATH=@srcdir@ |
---|
| 5 | INSTALL=@INSTALL@ |
---|
[14016] | 6 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
[13819] | 7 | srcdir=@srcdir@ |
---|
| 8 | top_srcdir=@top_srcdir@ |
---|
| 9 | prefix=@prefix@ |
---|
| 10 | exec_prefix=@exec_prefix@ |
---|
| 11 | bindir=@bindir@ |
---|
| 12 | mandir=@mandir@ |
---|
| 13 | |
---|
| 14 | CC=@CC@ |
---|
| 15 | DEFS=@DEFS@ |
---|
| 16 | CPPFLAGS=@CPPFLAGS@ |
---|
| 17 | CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS} |
---|
| 18 | LDFLAGS=@LDFLAGS@ |
---|
| 19 | LIBS=@LIBS@ |
---|
| 20 | ALL_CFLAGS=${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
| 21 | |
---|
| 22 | CFILES = config_console.c |
---|
| 23 | OBJS = config_console.o |
---|
| 24 | |
---|
| 25 | all: config_console |
---|
| 26 | |
---|
| 27 | config_console: config_console.o |
---|
| 28 | ${CC} ${LDFLAGS} -o config_console config_console.o ${LIBS} |
---|
| 29 | |
---|
| 30 | .c.o: |
---|
| 31 | ${CC} -c ${ALL_CFLAGS} $< |
---|
| 32 | |
---|
| 33 | check: |
---|
| 34 | |
---|
| 35 | install: |
---|
| 36 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir} |
---|
| 37 | ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 |
---|
| 38 | ${INSTALL_PROGRAM} -m 4755 -o root ${srcdir}/config_console \ |
---|
| 39 | ${DESTDIR}${bindir} |
---|
| 40 | rm -f ${DESTDIR}${bindir}/show_console |
---|
| 41 | rm -f ${DESTDIR}${bindir}/hide_console |
---|
| 42 | ln -s config_console ${DESTDIR}${bindir}/show_console |
---|
| 43 | ln -s config_console ${DESTDIR}${bindir}/hide_console |
---|
| 44 | ${INSTALL} -m 444 ${srcdir}/config_console.1 ${DESTDIR}${mandir}/man1 |
---|
| 45 | ${INSTALL} -m 444 ${srcdir}/hide_console.1 ${DESTDIR}${mandir}/man1 |
---|
| 46 | ${INSTALL} -m 444 ${srcdir}/show_console.1 ${DESTDIR}${mandir}/man1 |
---|
[13838] | 47 | |
---|
| 48 | clean: |
---|
| 49 | rm -f config_console.o config_console |
---|
| 50 | |
---|
| 51 | distclean: clean |
---|
| 52 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.