File: Makefile

package info (click to toggle)
remstats 1.00a4-8woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,576 kB
  • ctags: 1,020
  • sloc: perl: 11,706; ansic: 2,776; makefile: 944; sh: 869
file content (59 lines) | stat: -rw-r--r-- 1,277 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# 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