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