blob: 23e0a048909219bb2cf653618d8103608a33fc60 (
plain)
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
|
*** Makefile.orig Mon Oct 9 12:34:13 1995
--- Makefile Mon Oct 9 12:49:45 1995
***************
*** 7,13 ****
RM=rm -f
RANLIB=ranlib
! INSTROOT=/usr/local
LIBDIR=$(INSTROOT)/lib
INCDIR=$(INSTROOT)/include
--- 7,13 ----
RM=rm -f
RANLIB=ranlib
! INSTROOT=${PREFIX}
LIBDIR=$(INSTROOT)/lib
INCDIR=$(INSTROOT)/include
***************
*** 19,25 ****
# Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files
# needed for our purposes (stdlib, string, unistd).
#
! CFLAGS = -O
LDLIBS =
LIBIDENT = libident.a
--- 19,25 ----
# Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files
# needed for our purposes (stdlib, string, unistd).
#
! #CFLAGS = -O
LDLIBS =
LIBIDENT = libident.a
***************
*** 31,36 ****
--- 31,37 ----
@echo ""
@echo aix
@echo bsd
+ @echo freebsd (FreeBSD 2.x)
@echo dynix
@echo hpux
@echo irix
***************
*** 119,124 ****
--- 120,130 ----
#
bsd:
@$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int"
+
+ #
+ # FreeBSD 2.x
+ freebsd:
+ @$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS"
#
#
|