1 # Id: Makefile.in,v 1.1 2008/02/15 01:47:15 marka Exp
7 MANDIR
=@
prefix@
/share
/man
/man1
8 DISTRIB
= README INSTALL ALGO USAGE ADDRESSES Makefile.in configure configure.in config.h.in install-sh loc.h loc.c query-loc.c loc_ntoa.c query-loc
.1 reconf
9 OBJS
=query-loc.o loc.o @LOC_NTOA@
10 VERSION
=`grep VERSION loc.h | cut -d ' ' -f 3 | sed s/\"//g`
15 $(CC
) -o
$@
$(OBJS
) $(LIBS
)
21 rm -f
*.o query-loc
*~
24 rm -f config.h config.cache config.log config.status Makefile
30 @
(echo Query-Loc is version
${VERSION}; \
31 mkdir query-loc-
${VERSION}; \
32 cp
$(DISTRIB
) query-loc-
${VERSION};\
33 tar cvf query-loc-
${VERSION}.
tar query-loc-
${VERSION}; \
34 rm -rf query-loc-
${VERSION}; \
35 gzip
-v
-9 -f query-loc-
${VERSION}.
tar);
38 @INSTALL@
-m
0755 query-loc
$(BINDIR
)
39 if
[ ! -d
$(MANDIR
) ]; then \
42 @INSTALL@
-m
0644 query-loc
.1 $(MANDIR
)