source: trunk/athena/bin/grenew/Makefile.in @ 22521

Revision 22521, 975 bytes checked in by ghudson, 18 years ago (diff)
Fix some rules for installing files from the source tree.
Line 
1# modified from /mit/source/athena/bin/panel-wrapper
2# $Id: Makefile.in,v 1.7 2006-07-25 23:37:02 ghudson Exp $
3
4SHELL=/bin/sh
5VPATH=@srcdir@
6INSTALL=@INSTALL@
7INSTALL_PROGRAM=@INSTALL_PROGRAM@
8srcdir=@srcdir@
9top_srcdir=@top_srcdir@
10prefix=@prefix@
11exec_prefix=@exec_prefix@
12bindir=@bindir@
13mandir=@mandir@
14
15CC=@CC@
16DEFS=@DEFS@
17CPPFLAGS=@CPPFLAGS@
18CFLAGS=@CFLAGS@
19LDFLAGS=@LDFLAGS@
20LIBS=@KRB5_LIBS@ @KRB4_LIBS@ @LIBS@
21ALL_CFLAGS=`pkg-config --cflags gtk+-2.0` ${CPPFLAGS} ${CFLAGS} ${DEFS}
22ALL_LIBS=`pkg-config --libs gtk+-2.0` ${LIBS}
23
24all: grenew
25
26grenew: grenew.o
27        ${CC} ${LDFLAGS} -o $@ grenew.o ${ALL_LIBS}
28
29.c.o:
30        ${CC} -c ${ALL_CFLAGS} $<
31
32check:
33
34install:
35        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
36        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
37        ${INSTALL_PROGRAM} grenew ${DESTDIR}${bindir}
38        ${INSTALL} ${srcdir}/grenew.1 ${DESTDIR}${mandir}/man1
39
40clean:
41        rm -f grenew.o grenew
42
43distclean: clean
44        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.