src/inc/cgi_build_rules.mk 1.10
1.10 2009/06/03 03:50:07 markd
don't strip binaries to allow stack traces
Index: src/inc/cgi_build_rules.mk
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/cgi_build_rules.mk,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 1000000 -r1.9 -r1.10
--- src/inc/cgi_build_rules.mk 21 Feb 2008 02:13:24 -0000 1.9
+++ src/inc/cgi_build_rules.mk 3 Jun 2009 03:50:07 -0000 1.10
@@ -1,37 +1,37 @@
# Common set of build rules for CGI binaries
my:: compile
chmod a+rx $A${EXE}
mv $A${EXE} ${CGI_BIN}-${USER}/$A
alpha:: strip
mv $A${EXE} ${CGI_BIN}/$A
beta:: strip
mv $A${EXE} ${CGI_BIN}-beta/$A
+# don't actually strip so we can get stack traces
strip:: compile
- ${STRIP} $A${EXE}
chmod g+w $A${EXE}
chmod a+rx $A${EXE}
install:: strip
@if [ ! -d "${DESTDIR}${CGI_BIN}" ]; then \
${MKDIR} "${DESTDIR}${CGI_BIN}"; \
fi
mv $A${EXE} ${DESTDIR}${CGI_BIN}/$A
debug:: $O
${CC} ${COPT} ${CFLAGS} $O ${MYLIBS} ${L}
mv ${AOUT} $A${EXE}
lib::
cd ../../lib; make
clean::
rm -f $O $A${EXE}
tags::
ctags *.h *.c ../lib/*.c ../inc/*.h ../../lib/*.c ../../inc/*.h