root/src/java/Makefile.in

Revision 275020089c5881bce207b67b6e3ce7e4685ccb51, 5.1 kB (checked in by Brian Clapper <bclapper@omniti.com>, 2 years ago)

upgrade to esper 4.5, fix internal 'API' changes to do so

  • Property mode set to 100644
Line 
1 .SUFFIXES: .re .c
2
3 JAVA=@JAVA@
4 JAVAC=@JAVAC@
5 JAR=@JAR@
6 INSTALL=@INSTALL@
7
8 prefix=@prefix@
9 exec_prefix=@exec_prefix@
10 bindir=@bindir@
11 sbindir=@sbindir@
12 libdir=@libdir@
13 javalibdir=@JAVA_LIB_DIR@
14 includedir=${prefix}/include
15 libexecdir=@libexecdir@
16 localstatedir=@localstatedir@
17 datarootdir=@datarootdir@
18 mandir=@mandir@
19 mansubdir=@mansubdir@
20 docdir=${prefix}/@docdir@
21 sysconfdir=@sysconfdir@
22 srcdir=@srcdir@
23 top_srcdir=@top_srcdir@
24
25 R_JAVA=com/omniti/reconnoiter/MQListener.java \
26         com/omniti/reconnoiter/EventHandler.java \
27         com/omniti/reconnoiter/MessageHandler.java \
28         com/omniti/reconnoiter/CheckStatus.java \
29         com/omniti/reconnoiter/broker/NoitListener.java \
30         com/omniti/reconnoiter/broker/RabbitBroker.java \
31         com/omniti/reconnoiter/broker/IMQBroker.java \
32         com/omniti/reconnoiter/broker/AMQBroker.java \
33         com/omniti/reconnoiter/broker/RabbitListener.java \
34         com/omniti/reconnoiter/broker/AMQListener.java \
35         com/omniti/reconnoiter/broker/BrokerFactory.java \
36         com/omniti/reconnoiter/event/NoitEvent.java \
37         com/omniti/reconnoiter/event/NoitBundlev1.java \
38         com/omniti/reconnoiter/event/NoitBundlev2.java \
39         com/omniti/reconnoiter/event/NoitCheck.java \
40         com/omniti/reconnoiter/event/NoitStatus.java \
41         com/omniti/reconnoiter/event/NoitMetric.java \
42         com/omniti/reconnoiter/event/NoitMetricText.java \
43         com/omniti/reconnoiter/event/NoitMetricNumeric.java \
44         com/omniti/reconnoiter/event/StratconStatement.java \
45         com/omniti/reconnoiter/event/StratconQueryBase.java \
46         com/omniti/reconnoiter/event/StratconQuery.java \
47         com/omniti/reconnoiter/event/StratconQueryStop.java \
48         com/omniti/reconnoiter/esper/ExactStatViewFactory.java \
49         com/omniti/reconnoiter/esper/ExactBaseBivariateStatisticsView.java \
50         com/omniti/reconnoiter/esper/ExactRegressionLinestView.java \
51         com/omniti/reconnoiter/esper/ExactBaseStatisticsBean.java \
52         com/omniti/reconnoiter/esper/ExactRegressionBean.java \
53         com/omniti/reconnoiter/esper/WeightedValueBean.java \
54         com/omniti/reconnoiter/esper/CounterView.java \
55         com/omniti/reconnoiter/esper/CounterViewFactory.java \
56         com/omniti/reconnoiter/esper/DeriveView.java \
57         com/omniti/reconnoiter/esper/DeriveViewFactory.java \
58         com/omniti/reconnoiter/IEPEngine.java \
59         com/omniti/reconnoiter/StratconConfig.java \
60         com/omniti/reconnoiter/StratconMessage.java \
61         com/omniti/reconnoiter/StratconMessageFactory.java
62
63 R_CLASS = $(R_JAVA:.java=*.class)
64
65 J_JAVA = com/omniti/jezebel/Jezebel.java \
66         com/omniti/jezebel/JezebelDispatch.java \
67         com/omniti/jezebel/JezebelCheck.java \
68         com/omniti/jezebel/JezebelClassLoader.java \
69         com/omniti/jezebel/JezebelResmon.java \
70         com/omniti/jezebel/JezebelTools.java \
71         com/omniti/jezebel/Resmon.java \
72         com/omniti/jezebel/ResmonResult.java \
73         com/omniti/jezebel/SampleCheck.java \
74         com/omniti/jezebel/check/JDBC.java \
75         com/omniti/jezebel/check/mysql.java \
76         com/omniti/jezebel/check/oracle.java \
77         com/omniti/jezebel/check/sqlserver.java \
78         com/omniti/jezebel/check/postgres.java \
79         com/omniti/jezebel/check/jmx.java
80
81 J_CLASS = $(J_JAVA:.java=*.class)
82
83 R_SUPPORT=lib/activemq-all-5.2.0.jar lib/antlr-runtime-3.1.1.jar lib/esper-4.5.0.jar \
84         lib/log4j-1.2.15.jar lib/spring-beans-2.5.5.jar lib/spring-context-2.5.5.jar \
85         lib/cglib-nodep-2.2.jar lib/commons-pool-1.4.jar lib/commons-dbcp-1.2.2.jar \
86         lib/postgresql-8.3-604.jdbc3.jar lib/rabbitmq-client-2.4.1.jar lib/commons-io-1.2.jar \
87         lib/commons-cli-1.1.jar lib/commons-logging-1.1.1.jar lib/commons-codec-1.5.jar \
88         lib/protobuf-java-2.4.1.jar
89
90 J_SUPPORT=lib/log4j-1.2.15.jar \
91         lib/jetty-6.1.20.jar lib/servlet-api-2.5-20081211.jar \
92         lib/jetty-util-6.1.20.jar lib/commons-logging-1.1.1.jar \
93         lib/commons-cli-1.1.jar lib/postgresql-8.3-604.jdbc3.jar
94
95 all:    reconnoiter.jar jezebel.jar
96         @chmod 755 run-iep.sh
97         @chmod 755 jezebel
98
99 reconnoiter.jar:        $(R_JAVA)
100         @echo "- $@ compiling files"
101         @$(JAVAC) -Xlint:unchecked -g -cp `echo $(R_SUPPORT) | sed -e 's/ /:/g;'` $(R_JAVA)
102         @echo "- creating $@"
103         @$(JAR) cf $@ $(R_CLASS)
104
105 jezebel.jar:    $(J_JAVA)
106         @echo "- $@ compiling files"
107         @$(JAVAC) -Xlint:unchecked -g -cp `echo $(J_SUPPORT) | sed -e 's/ /:/g;'` $(J_JAVA)
108         @echo "- creating $@"
109         @$(JAR) cf $@ $(J_CLASS)
110
111 install-dirs:   all
112         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(javalibdir)
113         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(bindir)
114
115 install-iep:    install-dirs all
116         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(localstatedir)/db/noit-iep
117         $(INSTALL) -m 0644 reconnoiter.jar $(DESTDIR)$(javalibdir)/reconnoiter.jar
118         for jar in $(R_SUPPORT) ; do \
119                 $(INSTALL) -m 0644 $$jar $(DESTDIR)$(javalibdir)/`echo $$jar | sed -e 's#^lib/##'` ; \
120         done
121         $(INSTALL) -m 0755 run-iep.sh $(DESTDIR)$(bindir)/run-iep.sh
122         $(INSTALL) -m 0644 log4j.xml $(DESTDIR)$(localstatedir)/db/noit-iep/log4j.xml
123
124 install-jezebel:        install-dirs all
125         $(INSTALL) -m 0644 jezebel.jar $(DESTDIR)$(javalibdir)/jezebel.jar
126         for jar in $(J_SUPPORT) ; do \
127                 $(INSTALL) -m 0644 $$jar $(DESTDIR)$(javalibdir)/`echo $$jar | sed -e 's#^lib/##'` ; \
128         done
129         $(INSTALL) -m 0755 jezebel $(DESTDIR)$(bindir)/jezebel
130
131 install:        install-iep install-jezebel
132
133 clean:
134         find com -name \*.class -exec rm {} \;
135         rm -f reconnoiter.jar jezebel.jar
136
137 distclean:      clean
138         rm -f Makefile run-iep.sh jezebel
139
Note: See TracBrowser for help on using the browser.