54c1befd1ac95aab8c80c7e2e400a90d01849237 angie Fri Jan 9 16:41:47 2015 -0800 New CGI hgAi (Annotation Integrator) that uses new ReactJS/ImmutableJS framework.hgAi.c has three modes of operation: - HTML output for simple main page with a <div> container to be filled in by javascript - JSON responses to ajax requests from javascript (using hg/lib/cartJson.c) - text output for queries on track data hgAi.jsx is the React/JSX UI view code, compiled to bundle/reactHgAi.js. hgAiModel.js is a subclass of js/model/lib/ImModel.js that gets initial state from the server and then responds to user actions. diff --git src/hg/hgAi/makefile src/hg/hgAi/makefile new file mode 100644 index 0000000..5d2d884 --- /dev/null +++ src/hg/hgAi/makefile @@ -0,0 +1,17 @@ +include ../../inc/common.mk + +L += $(MYSQLLIBS) -lm +MYLIBDIR = ../../lib/${MACHTYPE} +MYLIBS = $(MYLIBDIR)/jkhgap.a ${MYLIBDIR}/jkweb.a + +A = hgAi +O = hgAi.o + +A = hgAi + +include ../../inc/cgi_build_rules.mk + +compile:: $O + ${CC} $O ${MYLIBS} ${L} + mv ${AOUT} $A${EXE} +