1
# Makefile for Tomcat Domino connector
8
#################################################################################
10
# These will almost certainly need to be changed to match the specifics of your #
11
# Domino and Tomcat installations. #
13
#################################################################################
15
# The root of your Domino installation. Mine's in /usr/local/lotus, but your's
16
# may well be /opt/lotus
17
NOTESROOT=/usr/local/lotus
19
# The place where the Notes API is installed
20
NOTESAPI=$(NOTESROOT)/notesapi
22
# The Domino program directory.
23
NOTESHOME=$(NOTESROOT)/notes/5061/linux
25
# The Domino data directory (the directory containing names.nsf)
26
NOTESDATA=$(NOTESROOT)/notes/data
28
# The include path for the Notes C API headers
29
NOTESINC=$(NOTESAPI)/include
31
# Where tomcat is installed. This is where conf, lib, webapps et al normally are
32
TOMCATHOME=/usr/local/apache/tomcat
34
# Your JDK's include directory
35
JAVAINC=$(JAVA_HOME)/include
37
#################################################################################
39
# You probably won't need to change anything below here. #
41
#################################################################################
44
LIBS=-lc -ldl -lnotes -L$(NOTESHOME)
46
INC=-I$(NOTESINC) -I$(JAVAINC) -I$(JK)
49
JKOBJ = $(JK)/jk_ajp12_worker.o $(JK)/jk_ajp13.o $(JK)/jk_ajp13_worker.o \
50
$(JK)/jk_connect.o $(JK)/jk_jni_worker.o $(JK)/jk_lb_worker.o \
51
$(JK)/jk_map.o $(JK)/jk_msg_buff.o $(JK)/jk_nwmain.o \
52
$(JK)/jk_pool.o $(JK)/jk_sockbuf.o $(JK)/jk_uri_worker_map.o \
53
$(JK)/jk_util.o $(JK)/jk_worker.o $(JK)/jk_ajp14.o \
54
$(JK)/jk_ajp14_worker.o $(JK)/jk_context.o $(JK)/jk_md5.o \
57
LOBJ = jk_dsapi_plugin.o inifile.o
58
OBJ = $(JKOBJ) $(LOBJ)
66
$(LD) $(LDFLAGS) $(LIBS) $(OBJ) -o $(TARG)
68
$(INI): mkini.sh Makefile
69
./mkini.sh $(TOMCATHOME) > $(INI)
72
$(CC) $(CCFLAGS) $(DEFS) $(INC) -o $@ -c $<
77
install: $(TARG) $(INI)
78
cp $(TARG) $(NOTESHOME)
79
cp $(INI) $(NOTESDATA)
81
# Various dependencies
82
jk_dsapi_plugin.o: jk_dsapi_plugin.c config.h inifile.h
83
inifile.o: inifile.c config.h inifile.h