root/src/java/Makefile.in

Revision 24eac7c456bb2802cf4a695e79f812cc3a0b4b0c, 1.6 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 5 years ago)

variety of stuff. fixing some bugs and adding checks into the data model, refs #122

  • 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/AMQBrokerSingleton.java \
25         com/omniti/reconnoiter/AMQListener.java \
26         com/omniti/reconnoiter/AMQOutput.java \
27         com/omniti/reconnoiter/event/NoitEvent.java \
28         com/omniti/reconnoiter/event/StratconQuery.java \
29         com/omniti/reconnoiter/event/StratconQueryStop.java \
30         com/omniti/reconnoiter/IEPEngine.java \
31         com/omniti/reconnoiter/StratconMessage.java
32
33 SUPPORT=lib/activemq-all-5.2.0.jar lib/antlr-runtime-3.1.1.jar lib/esper-3.0.0.jar \
34         lib/log4j-1.2.15.jar lib/spring-beans-2.5.5.jar lib/spring-context-2.5.5.jar
35
36 all:    reconnoiter.jar
37         @chmod 755 run-iep.sh
38
39 reconnoiter.jar:        $(JAVA)
40         @echo "- compiling files"
41         @$(JAVAC) -cp `echo $(SUPPORT) | sed -e 's/ /:/g;'` $(JAVA)
42         @echo "- creating jar"
43         @$(JAR) cvf $@ `find com -name \*.class`
44
45 install:        all
46         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(javalibdir)
47         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(bindir)
48         $(INSTALL) -m 0644 reconnoiter.jar $(DESTDIR)$(javalibdir)/reconnoiter.jar
49         for jar in $(SUPPORT) ; do \
50                 $(INSTALL) -m 0644 $$jar $(DESTDIR)$(javalibdir)/$$jar ; \
51         done
52         $(INSTALL) -m 0755 run-iep.sh $(DESTDIR)$(bindir)/run-iep.sh
53
54 clean:
55         find com -name \*.class -exec rm {} \;
56         rm -f reconnoiter.jar
57         rm -f run-iep.sh
58
Note: See TracBrowser for help on using the browser.