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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
--- Makefile.config.orig Tue Mar 4 22:17:46 1997
+++ Makefile.config Sun May 21 18:01:05 2006
@@ -24,13 +24,15 @@
# Defines for your operating system
#
-DEFINES=
+.if defined(WITH_SKEY)
+DEFINES= -D_SKEY_INTERNAL
+.endif
#DEFINES=-DSYSV -DSOLARIS
# Options for your compiler (eg, "-g" for debugging, "-O" for
# optimizing, or "-g -O" for both under GCC)
#COPT= -g -traditional $(DEFINES)
-COPT= -g $(DEFINES)
+COPT= $(DEFINES)
#COPT= -O $(DEFINES)
# Version of "make" you want to use
@@ -44,16 +46,20 @@
# Destination directory for installation of binaries
-DEST= /usr/local/etc
+DEST= $(PREFIX)/libexec
# Destination directory for installation of man pages
-#DESTMAN= $(DEST)/../man
+DESTMAN= $(DEST)/../man
# Names of any auxiliary libraries your system may require (e.g., -lsocket)
# If you want to link against a resolver library, specify it here.
-AUXLIB=
+.if defined(WITH_SKEY)
+AUXLIB= -lcrypt -lskey -lmd
+.else
+AUXLIB= -lcrypt -lmd
+.endif
#AUXLIB= -lsocket
#AUXLIB= -lresolv
# For Solaris:
@@ -72,23 +78,23 @@
# or -Bstatic for static binaries under SunOS 4.1.x)
#LDFL= -Bstatic
#LDFL=
-LDFL= -g
+#LDFL= -g
# Flags for X gateway link - usually the same as LDFL
XLDFL=$(LDFL)
# Location of the fwtk sources [For #include by any external tools needing it]
-FWTKSRCDIR=/u/b/mjr/firewall/fwtk
+FWTKSRCDIR=/FBSD/pkg/Fix/fwtk/work/fwtk
#FWTKSRCDIR=/usr/local/src/fwtk
# Location of X libraries for X-gw
-XLIBDIR=/usr/X11/lib
+XLIBDIR=$(X11BASE)/lib
#XLIBDIR=/usr/local/X11R5/lib
# X Libraries
# For BSD:
-XLIBS= -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE -lipc
+XLIBS= -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lSM -lICE
#XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11
# for Linux:
#XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11 -lc
@@ -98,8 +104,8 @@
#XLIBS = -L$(XLIBDIR) -lXaw -lXmu -lXt -lXext -lX11
# Location of X include files
-XINCLUDE=/usr/X11/include
+XINCLUDE=$(X11BASE)/include
#XINCLUDE=/usr/local/X11R5/include
# Objects to include in libfwall for SYSV
-SYSVOBJ= signal.o
+#SYSVOBJ= signal.o
|