1996-09-14 23:15:25 +00:00
|
|
|
*** Makefile.orig Sun Sep 15 01:13:03 1996
|
|
|
|
--- Makefile Sun Sep 15 01:14:06 1996
|
1995-10-12 07:29:19 +00:00
|
|
|
***************
|
1996-09-14 23:15:25 +00:00
|
|
|
*** 8,14 ****
|
1995-10-12 07:29:19 +00:00
|
|
|
RANLIB=ranlib
|
1996-09-14 23:15:25 +00:00
|
|
|
AR=ar cq
|
1995-10-12 07:29:19 +00:00
|
|
|
|
|
|
|
! INSTROOT=/usr/local
|
|
|
|
LIBDIR=$(INSTROOT)/lib
|
|
|
|
INCDIR=$(INSTROOT)/include
|
1996-09-14 23:15:25 +00:00
|
|
|
MANDIR=$(INSTROOT)/man/man3
|
|
|
|
--- 8,14 ----
|
1995-10-12 07:29:19 +00:00
|
|
|
RANLIB=ranlib
|
1996-09-14 23:15:25 +00:00
|
|
|
AR=ar cq
|
1995-10-12 07:29:19 +00:00
|
|
|
|
|
|
|
! INSTROOT=${PREFIX}
|
|
|
|
LIBDIR=$(INSTROOT)/lib
|
|
|
|
INCDIR=$(INSTROOT)/include
|
1996-09-14 23:15:25 +00:00
|
|
|
MANDIR=$(INSTROOT)/man/man3
|
1995-10-12 07:29:19 +00:00
|
|
|
***************
|
|
|
|
*** 19,25 ****
|
|
|
|
# Add -DHAVE_ANSIHEADERS if your system have the ANSI C header files
|
|
|
|
# needed for our purposes (stdlib, string, unistd).
|
|
|
|
#
|
|
|
|
! CFLAGS = -O
|
1996-09-14 23:15:25 +00:00
|
|
|
|
1995-10-12 07:29:19 +00:00
|
|
|
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
|
1996-09-14 23:15:25 +00:00
|
|
|
|
1995-10-12 07:29:19 +00:00
|
|
|
LDLIBS =
|
|
|
|
LIBIDENT = libident.a
|
|
|
|
***************
|
1996-09-14 23:15:25 +00:00
|
|
|
*** 32,37 ****
|
|
|
|
--- 32,38 ----
|
1995-10-12 07:29:19 +00:00
|
|
|
@echo ""
|
|
|
|
@echo aix
|
|
|
|
@echo bsd
|
|
|
|
+ @echo freebsd (FreeBSD 2.x)
|
|
|
|
@echo dynix
|
|
|
|
@echo hpux
|
|
|
|
@echo irix
|
|
|
|
***************
|
1996-09-14 23:15:25 +00:00
|
|
|
*** 121,126 ****
|
|
|
|
--- 122,132 ----
|
1995-10-12 07:29:19 +00:00
|
|
|
#
|
|
|
|
bsd:
|
|
|
|
@$(MAKE) all CC="$(CC)" CFLAGS="-O -DSIGRETURNTYPE=int"
|
|
|
|
+
|
|
|
|
+ #
|
|
|
|
+ # FreeBSD 2.x
|
|
|
|
+ freebsd:
|
|
|
|
+ @$(MAKE) all CC="$(CC)" CFLAGS="${CFLAGS} -Wall -DHAVE_ANSIHEADERS"
|
|
|
|
|
|
|
|
#
|
|
|
|
#
|