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 | |
---|
3 | SHELL=/bin/sh |
---|
4 | VPATH=@srcdir@ |
---|
5 | INSTALL=@INSTALL@ |
---|
6 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
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@ |
---|
18 | LDFLAGS=@LDFLAGS@ |
---|
19 | LIBS=@KRB5_LIBS@ @LIBS@ |
---|
20 | ALL_CFLAGS=`pkg-config --cflags gtk+-2.0` ${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
21 | ALL_LIBS=`pkg-config --libs gtk+-2.0` ${LIBS} |
---|
22 | |
---|
23 | all: authwatch |
---|
24 | |
---|
25 | authwatch: authwatch.o |
---|
26 | ${CC} ${LDFLAGS} -o $@ authwatch.o ${ALL_LIBS} |
---|
27 | |
---|
28 | .c.o: |
---|
29 | ${CC} -c ${ALL_CFLAGS} $< |
---|
30 | |
---|
31 | check: |
---|
32 | |
---|
33 | install: |
---|
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 | |
---|
39 | clean: |
---|
40 | rm -f authwatch.o authwatch |
---|
41 | |
---|
42 | distclean: clean |
---|
43 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.