root/src/java/Makefile.in

Revision 53662cda08ac28939e1a9d8af713aba318cc4384, 2.1 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 5 years ago)

cleanup

  • 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=@prefix@/java
14 includedir=${prefix}/include
15 libexecdir=@libexecdir@
16 datarootdir = @datarootdir@
17 mandir=@mandir@
18 mansubdir=@mansubdir@
19 docdir=${prefix}/@docdir@
20 sysconfdir=@sysconfdir@
21 srcdir=@srcdir@
22 top_srcdir=@top_srcdir@
23
24 JAVA=com/omniti/reconnoiter/MQListener.java \
25         com/omniti/reconnoiter/EventHandler.java \
26         com/omniti/reconnoiter/broker/RabbitBroker.java \
27         com/omniti/reconnoiter/broker/IMQBroker.java \
28         com/omniti/reconnoiter/broker/AMQBroker.java \
29         com/omniti/reconnoiter/broker/RabbitListener.java \
30         com/omniti/reconnoiter/broker/AMQListener.java \
31         com/omniti/reconnoiter/broker/BrokerFactory.java \
32         com/omniti/reconnoiter/event/NoitEvent.java \
33         com/omniti/reconnoiter/event/NoitMetricNumeric.java \
34         com/omniti/reconnoiter/event/StratconQuery.java \
35         com/omniti/reconnoiter/event/StratconQueryStop.java \
36         com/omniti/reconnoiter/IEPEngine.java \
37         com/omniti/reconnoiter/StratconConfig.java \
38         com/omniti/reconnoiter/StratconMessage.java
39
40 SUPPORT=lib/activemq-all-5.2.0.jar lib/antlr-runtime-3.1.1.jar lib/esper-3.0.0.jar \
41         lib/log4j-1.2.15.jar lib/spring-beans-2.5.5.jar lib/spring-context-2.5.5.jar \
42         lib/cglib-nodep-2.2.jar lib/commons-pool-1.4.jar lib/commons-dbcp-1.2.2.jar \
43         lib/postgresql-8.3-604.jdbc3.jar lib/rabbitmq-client.jar lib/commons-io-1.2.jar \
44         lib/commons-cli-1.1.jar
45
46 all:    reconnoiter.jar
47         @chmod 755 run-iep.sh
48
49 reconnoiter.jar:        $(JAVA)
50         @echo "- compiling files"
51         @$(JAVAC) -cp `echo $(SUPPORT) | sed -e 's/ /:/g;'` $(JAVA)
52         @echo "- creating jar"
53         @$(JAR) cvf $@ `find com -name \*.class`
54
55 install:        all
56         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(javalibdir)
57         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(bindir)
58         $(INSTALL) -m 0644 reconnoiter.jar $(DESTDIR)$(javalibdir)/reconnoiter.jar
59         for jar in $(SUPPORT) ; do \
60                 $(INSTALL) -m 0644 $$jar $(DESTDIR)$(javalibdir)/$$jar ; \
61         done
62         $(INSTALL) -m 0755 run-iep.sh $(DESTDIR)$(bindir)/run-iep.sh
63
64 clean:
65         find com -name \*.class -exec rm {} \;
66         rm -f reconnoiter.jar
67
Note: See TracBrowser for help on using the browser.