1998-05-07 02:00:55 +00:00
|
|
|
--- Makefile.orig Tue Jul 29 05:01:22 1997
|
|
|
|
+++ Makefile Mon May 4 11:59:30 1998
|
1997-03-02 03:09:19 +00:00
|
|
|
@@ -16,9 +16,9 @@
|
1996-08-16 18:31:04 +00:00
|
|
|
MAKE=make
|
|
|
|
|
|
|
|
# set this to 'in.' if you like Sun's prefix on internet daemons
|
|
|
|
-PREFIX=in.
|
|
|
|
+PREFIX=
|
|
|
|
|
|
|
|
-DESTROOT=/usr/local
|
|
|
|
+DESTROOT=${REALPREFIX}
|
|
|
|
|
|
|
|
# set this to '/share' if your man pages are in /usr/share
|
|
|
|
#SHARE=/share
|
1998-05-07 02:00:55 +00:00
|
|
|
@@ -33,7 +33,7 @@
|
|
|
|
MANSECT=8
|
|
|
|
MANDIR=$(MANROOT)/man$(MANSECT)
|
|
|
|
|
|
|
|
-INSTALL=aux/install-sh -c
|
|
|
|
+INSTALL=/usr/bin/install -c
|
|
|
|
|
|
|
|
|
|
|
|
# NEXTSTEP 3.x Multi-Architecture-Binary (FAT) compiles
|
1997-03-02 03:09:19 +00:00
|
|
|
@@ -57,14 +57,14 @@
|
|
|
|
# GDEFS=-DINCLUDE_EXTENSIONS -DINCLUDE_PROXY -DINCLUDE_CRYPT \
|
1996-08-16 18:31:04 +00:00
|
|
|
# -DSTRONG_LOG -DALLOW_FORMAT \
|
|
|
|
#
|
1997-03-02 03:09:19 +00:00
|
|
|
-GDEFS=-DINCLUDE_EXTENSIONS -DSTRONG_LOG -DALLOW_FORMAT \
|
1996-08-16 18:31:04 +00:00
|
|
|
- -DDPATH_CONFIG='\"$(CONFDIR)/identd.conf\"' \
|
1997-03-02 03:09:19 +00:00
|
|
|
+GDEFS=-DINCLUDE_EXTENSIONS -DSTRONG_LOG -DALLOW_FORMAT $(ADD_GDEFS) \
|
1996-08-16 18:31:04 +00:00
|
|
|
+ -DPATH_CONFIG='\"$(CONFDIR)/identd.conf\"' \
|
|
|
|
-DPATH_DESKEY='\"$(CONFDIR)/identd.key\"'
|
|
|
|
|
|
|
|
# GLIBS=-lident -ldes
|
1997-03-02 03:09:19 +00:00
|
|
|
-GLIBS=
|
|
|
|
+GLIBS= $(ADD_GLIBS)
|
1996-08-16 18:31:04 +00:00
|
|
|
|
|
|
|
-CFLAGS=-O
|
|
|
|
+#CFLAGS=-O
|
|
|
|
#LDFLAGS=-L$(DESTROOT)/lib
|
|
|
|
|
|
|
|
all:
|
1998-05-07 02:00:55 +00:00
|
|
|
@@ -573,18 +573,18 @@
|
1996-08-17 11:19:03 +00:00
|
|
|
mv $@-t $@
|
|
|
|
chmod 755 $@
|
|
|
|
|
|
|
|
-install: $(PREFIX)identd identd.$(MANSECT) identconn itest idecrypt
|
|
|
|
+install: $(PREFIX)identd identd.$(MANSECT) idecrypt # identconn itest
|
|
|
|
$(INSTALL) -m 644 identd.$(MANSECT) $(MANDIR)
|
|
|
|
if [ -n "$(PREFIX)" ] ; then \
|
|
|
|
rm -f $(MANDIR)/$(PREFIX)identd.$(MANSECT) ; \
|
|
|
|
echo ".so `basename $(MANDIR)`/identd.$(MANSECT)" > $(MANDIR)/$(PREFIX)identd.$(MANSECT) ; \
|
|
|
|
fi
|
1998-05-07 02:00:55 +00:00
|
|
|
- $(INSTALL) -m 755 $(PREFIX)identd $(DESTDIR)
|
1996-08-17 11:19:03 +00:00
|
|
|
- $(INSTALL) -m 755 identconn $(DESTROOT)/bin
|
1998-05-07 02:00:55 +00:00
|
|
|
+ $(INSTALL) -s -m 755 $(PREFIX)identd $(DESTDIR)
|
1996-08-17 11:19:03 +00:00
|
|
|
+# $(INSTALL) -m 755 identconn $(DESTROOT)/bin
|
|
|
|
$(INSTALL) -m 644 idecrypt.man $(MANDIR)/idecrypt.$(MANSECT)
|
1998-05-07 02:00:55 +00:00
|
|
|
- $(INSTALL) -m 755 idecrypt $(DESTDIR)/idecrypt
|
1996-08-17 11:19:03 +00:00
|
|
|
- @echo "The following command will fail it you are not Root."
|
|
|
|
- -$(INSTALL) -o root -g kmem -m 2555 itest $(DESTROOT)/bin
|
1998-05-07 02:00:55 +00:00
|
|
|
+ $(INSTALL) -s -m 755 idecrypt $(DESTDIR)/idecrypt
|
1996-08-17 11:19:03 +00:00
|
|
|
+# @echo "The following command will fail it you are not Root."
|
|
|
|
+# -$(INSTALL) -o root -g kmem -m 2555 itest $(DESTROOT)/bin
|
|
|
|
|
|
|
|
|
|
|
|
tests:
|