Skip to content
Snippets Groups Projects
Commit e871ad7f authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Add RFC931 and INTERNATIONAL installation variables

parent fb1227a5
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,9 @@ INTERNATIONAL Define this is you have POSIX international support.
constraint in a future release.
Available under Ultrix but not SunOS.
RFC931 Define this if you wish to turn on rfc931 logging.
You must have log_tcp source available.
Once you have modified these variable you should be able to just type "make",
if you are in the whois++ directory, or "make ldap-whois++" from the main
LDAP directory. All going well there should be no problems so "make install",
......
......@@ -19,10 +19,17 @@ FACILITY = LOG_LOCAL3
#
#SYSLIBS = -li -lsyslog
#
# If you want POSIX international support (format of dates), on ultrix
#
#INTERNATIONAL = -DINTERNATIONAL
#
# If you want RFC931 logging you must have log_tcp source available
#
#RFC931DEF = -DRFC931
#RFC931SRC = /local/src/log_tcp/rfc931.c
SRCS = whois++.c command.c config.c describe.c help.c output.c template.c \
util.c version.c # /local/src/log_tcp/rfc931.c
util.c version.c $(RFC931SRC)
HDRS = whois++.h
OBJS = ${SRCS:.c=.o}
HOST = `hostname`
......@@ -36,7 +43,8 @@ DEFINES = -DETCDIR=\"$(ETCDIR)\" -DBUILD="\"$(USER)@$(HOST) on $(DATE)\"" \
-DCONFIG_DIRECTORY=\"$(CONFIG_DIRECTORY)\" -DMAIN \
-DHELP_DIRECTORY=\"$(HELP_DIRECTORY)\" -DREVISION="$(REVISION)" \
-DPROTOCOL="\"[FIRST DRAFT - 15 April 1993]\"" -DRELEASE=\"BETA\" \
-DFACILITY=$(FACILITY) -DDEFAULT_LDAPHOST=\"$(LDAPHOST)\" # -DRFC931
-DFACILITY=$(FACILITY) -DDEFAULT_LDAPHOST=\"$(LDAPHOST)\" \
$(INTERNATIONAL) $(RFC931DEF)
CFLAGS = -I$(LDAPSRC)/include -I/usr/local/include $(ACFLAGS)
LIBS = -L$(LDAPSRC)/libraries/libldap -lldap -L$(LDAPSRC)/libraries/liblber \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment