Add RFC931 and INTERNATIONAL installation variables

This commit is contained in:
Hallvard Furuseth 1999-04-30 08:22:07 +00:00
parent fb1227a547
commit e871ad7f47
2 changed files with 13 additions and 2 deletions

View file

@ -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",

View file

@ -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 \