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

Revision 22521, 933 bytes checked in by ghudson, 18 years ago (diff)
Fix some rules for installing files from the source tree.
Line 
1# $Id: Makefile.in,v 1.3 2006-07-25 23:37:02 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@
11bindir=@bindir@
12mandir=@mandir@
13
14CC=@CC@
15DEFS=@DEFS@
16CPPFLAGS=@CPPFLAGS@
17CFLAGS=@CFLAGS@
18LDFLAGS=@LDFLAGS@
19LIBS=@KRB5_LIBS@ @LIBS@
20ALL_CFLAGS=`pkg-config --cflags gtk+-2.0` ${CPPFLAGS} ${CFLAGS} ${DEFS}
21ALL_LIBS=`pkg-config --libs gtk+-2.0` ${LIBS}
22
23all: authwatch
24
25authwatch: authwatch.o
26        ${CC} ${LDFLAGS} -o $@ authwatch.o ${ALL_LIBS}
27
28.c.o:
29        ${CC} -c ${ALL_CFLAGS} $<
30
31check:
32
33install:
34        ${top_srcdir}/mkinstalldirs ${DESTDIR}${bindir}
35        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1
36        ${INSTALL_PROGRAM} authwatch ${DESTDIR}${bindir}
37        ${INSTALL} ${srcdir}/authwatch.1 ${DESTDIR}${mandir}/man1
38
39clean:
40        rm -f authwatch.o authwatch
41
42distclean: clean
43        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.