533112afe2a2005e80cdb1f82904ea65032d4302
braney
  Sat Oct 2 11:37:34 2021 -0700
split hg/lib into two separate libaries, one only used by the cgis

diff --git src/hg/cgilib/tests/makefile src/hg/cgilib/tests/makefile
new file mode 100644
index 0000000..4ee668f
--- /dev/null
+++ src/hg/cgilib/tests/makefile
@@ -0,0 +1,27 @@
+kentSrc = ../../..
+include ../../../inc/common.mk
+
+L += ${MYSQLLIBS} -lm
+MYLIBDIR = ../../../lib/${MACHTYPE}
+MYLIBS =  ${MYLIBDIR}/jkhgapcgi.a ${MYLIBDIR}/jkhgap.a ${MYLIBDIR}/jkweb.a
+BIN_DIR = bin/${MACHTYPE}
+
+all: 	${BIN_DIR}/annoGratorTester 
+
+test: annoGratorTest 
+	rm -r output
+	echo tested all
+
+mkdirs:
+	@${MKDIR} output ${BIN_DIR}
+
+annoGratorTest: ${BIN_DIR}/annoGratorTester mkdirs
+	${MAKE} -f annoGratorTests.mk test
+
+${BIN_DIR}/annoGratorTester: annoGratorTester.o ${MYLIBS}
+	@${MKDIR} ${BIN_DIR}
+	${CC} ${COPT} ${CFLAGS} -o $@ $< ${MYLIBS} ${L}
+
+
+clean:
+	rm -rf *.o bin output *.tmp loader udcCache