# Generated automatically from Makefile.in by configure.
# Makefile.in  -  for multiping

SHELL = /bin/sh

top_srcdir = .
srcdir = .
prefix = /var/remstats
bindir = /var/remstats/bin

DEFS = -DHAVE_CONFIG_H
CC = gcc
CPPFLAGS = 
CFLAGS = $(CPPFLAGS) -g -O2
LDFLAGS =  -I$(srcdir)
LIBS = -lresolv -lnsl 
INSTALL = @INSTALL@

SOURCES = multiping.c multiping.h ip.h ip_icmp.h
DOCS = multiping.1
OTHERFILES = configure configure.in Makefile.in config.h config.h.in README

#---------------------------- shouldn't need to change under here -----

all: multiping 

multiping: multiping.c multiping.h Makefile
	$(CC) -o multiping $(CFLAGS) multiping.c $(LDFLAGS) $(LIBS)

install: all
	$(INSTALL) -o root -m 4511 multiping $(bindir)

uninstall:
	-rm -f $(bindir)/multiping

clean:
	-rm -f multiping *.o core a.out

distclean: clean
	-rm -f Makefile config.status config.cache config.log config.h stamp-h

#---------------------------------------------------- AUTOMAGIC ---
# automatic re-rerun of configure when configure.in changes
configure: configure.in
	autoheader
	autoconf
	echo timestamp > stamp-h

config.h: stamp-h

stamp-h: config.h.in config.status
	./config.status

Makefile: Makefile.in config.status
	./config.status

config.status: configure
	./config.status --recheck

