source: trunk/athena/etc/rpmupdate/Makefile.in @ 15775

Revision 15775, 971 bytes checked in by ghudson, 24 years ago (diff)
Install rpmupdate in /etc/athena where it belongs.
Line 
1# $Id: Makefile.in,v 1.2 2001-03-13 21:24:41 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=@sbindir@
12mandir=@mandir@
13lsbindir=@lsbindir@
14
15CC=@CC@
16DEFS=@DEFS@
17CPPFLAGS=@CPPFLAGS@
18CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS}
19LDFLAGS=@LDFLAGS@
20LIBS=@LIBS@
21ALL_CFLAGS=-static -I/usr/include/rpm ${CPPFLAGS} ${CFLAGS} ${DEFS}
22
23all: rpmupdate
24
25rpmupdate: rpmupdate.o
26        ${CC} ${LDFLAGS} -o rpmupdate rpmupdate.o ${LIBS} \
27                -lrpm -lpopt -ldb1 -lz -lbz2
28
29.c.o:
30        ${CC} -c ${ALL_CFLAGS} $<
31
32check:
33
34install:
35        ${top_srcdir}/mkinstalldirs ${DESTDIR}${lsbindir}
36        ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man8
37        ${INSTALL_PROGRAM} rpmupdate ${DESTDIR}${lsbindir}
38        ${INSTALL} -m 444 ${srcdir}/rpmupdate.8 ${DESTDIR}${mandir}/man8
39
40clean:
41        rm -f rpmupdate.o rpmupdate
42
43distclean: clean
44        rm -f config.cache config.log config.status Makefile
Note: See TracBrowser for help on using the repository browser.