d8feabb353b3c2650facea4afd08c86bb56e5549
kent
  Fri Apr 6 16:51:54 2012 -0700
Moving autoSql and autoDtd and autoXml back to just under hg.  A little autoSql -django fix.
diff --git src/hg/autoSql/makefile src/hg/autoSql/makefile
new file mode 100644
index 0000000..ef5e4b4
--- /dev/null
+++ src/hg/autoSql/makefile
@@ -0,0 +1,29 @@
+include ../../inc/common.mk
+
+HG_WARN = ${HG_WARN_ERR}
+L += -lm 
+MYLIBDIR = ../../lib/${MACHTYPE}
+MYLIBS =  ${MYLIBDIR}/jkweb.a
+
+
+O = autoSql.o
+
+all: ${BINDIR}/autoSql
+
+${BINDIR}/autoSql: autoSql
+	rm -f $@
+	cp -p $< $@
+
+autoSql: ${O}
+	${CC} ${COPT} -o autoSql $O ../../lib/${MACHTYPE}/jkweb.a ${L}
+
+test:
+	cd tests && ${MAKE} test
+
+lib:
+	cd ../../lib && ${MAKE}
+
+clean::
+	rm -f autoSql ${O}
+	cd tests && ${MAKE} clean
+