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 | |
---|
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 | sbindir=@sbindir@ |
---|
12 | mandir=@mandir@ |
---|
13 | lsbindir=@lsbindir@ |
---|
14 | |
---|
15 | CC=@CC@ |
---|
16 | DEFS=@DEFS@ |
---|
17 | CPPFLAGS=@CPPFLAGS@ |
---|
18 | CFLAGS=@CFLAGS@ ${WARN_CFLAGS} ${ERROR_CFLAGS} |
---|
19 | LDFLAGS=@LDFLAGS@ |
---|
20 | LIBS=@LIBS@ |
---|
21 | ALL_CFLAGS=-static -I/usr/include/rpm ${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
22 | |
---|
23 | all: rpmupdate |
---|
24 | |
---|
25 | rpmupdate: 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 | |
---|
32 | check: |
---|
33 | |
---|
34 | install: |
---|
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 | |
---|
40 | clean: |
---|
41 | rm -f rpmupdate.o rpmupdate |
---|
42 | |
---|
43 | distclean: clean |
---|
44 | rm -f config.cache config.log config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.