blob: 7ce6c65fffe2ce71e5b5abc88e90b28a200466d9 (
plain) (
blame)
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
|
--- Makefile.old Sun Oct 26 12:10:35 2003
+++ Makefile Sun Oct 26 12:13:14 2003
@@ -4,24 +4,26 @@
# BINDEST should be the directory/filename where the cgi program needs
# to be installed. This must be configured with your web server.
-BINDEST = /ns/cgi-bin/trace
+BINDEST = $(PREFIX)/www/cgi-bin/trace
# CC and CCFLAGS should be set appropriately for your system
# or uncomment the one you need.
#
# HP-UX
CC = cc
-CCFLAGS = -Aa +DA1.1 -D_HPUX_SOURCE
+#CCFLAGS = -Aa +DA1.1 -D_HPUX_SOURCE
#
# BSDI's BSD/OS (probably ok for any recent version of gcc)
# CC=gcc
-# CCFLAGS = -O2
+CCFLAGS = $(CFLAGS)
DEFINES = -DLEAVE_DOMAIN_NAME
# normally traceroute must be setuid root
BINOWN = root
BINMODE = 4555
+
+all: html.h $(PROG)
$(PROG): $(PROG).c html.h
$(CC) $(CCFLAGS) $(DEFINES) -o $(PROG) $(PROG).c
|