Revision 24621,
920 bytes
checked in by broder, 14 years ago
(diff) |
In discuss:
* Add a working distclean target.
|
Line | |
---|
1 | # |
---|
2 | # $Id: Makefile.in,v 1.3 2007-08-09 20:41:31 amb Exp $ |
---|
3 | # |
---|
4 | |
---|
5 | SHELL=/bin/sh |
---|
6 | VPATH=@srcdir@ |
---|
7 | INSTALL=@INSTALL@ |
---|
8 | INSTALL_PROGRAM=@INSTALL_PROGRAM@ |
---|
9 | INSTALL_DATA=@INSTALL_DATA@ |
---|
10 | MKDIR_P=@MKDIR_P@ |
---|
11 | srcdir=@srcdir@ |
---|
12 | top_srcdir=@top_srcdir@ |
---|
13 | prefix=@prefix@ |
---|
14 | exec_prefix=@exec_prefix@ |
---|
15 | bindir=@bindir@ |
---|
16 | datarootdir=@datarootdir@ |
---|
17 | mandir=@mandir@ |
---|
18 | |
---|
19 | CC=@CC@ |
---|
20 | DEFS=@DEFS@ |
---|
21 | CPPFLAGS=@CPPFLAGS@ |
---|
22 | CFLAGS=@CFLAGS@ |
---|
23 | LDFLAGS=@LDFLAGS@ |
---|
24 | LIBS=../libds/libdsk.a ../usp/libusp.a @REGEX_LIBS@ @KRB4_LIBS@ @KRB5_LIBS@ @LIBS@ |
---|
25 | ALL_CFLAGS=-I../include ${CPPFLAGS} ${CFLAGS} ${DEFS} |
---|
26 | |
---|
27 | OBJS= dsgrep.o regerror.o |
---|
28 | |
---|
29 | .c.o: |
---|
30 | ${CC} -c ${ALL_CFLAGS} $< |
---|
31 | |
---|
32 | all: dsgrep |
---|
33 | |
---|
34 | clean: |
---|
35 | rm -f dsgrep *.o |
---|
36 | |
---|
37 | distclean: clean |
---|
38 | rm -f Makefile |
---|
39 | |
---|
40 | depend: |
---|
41 | |
---|
42 | install: |
---|
43 | ${MKDIR_P} ${DESTDIR}${bindir} |
---|
44 | ${MKDIR_P} ${DESTDIR}${mandir}/man1 |
---|
45 | ${INSTALL_PROGRAM} dsgrep ${DESTDIR}${bindir} |
---|
46 | ${INSTALL_DATA} dsgrep.1 ${DESTDIR}${mandir}/man1 |
---|
47 | |
---|
48 | dsgrep: $(OBJS) |
---|
49 | ${CC} ${LDFLAGS} -o dsgrep ${OBJS} ${LIBS} |
---|
Note: See
TracBrowser
for help on using the repository browser.