|
|
Choosing A Webhost: |
CVS update of carob (GNUmakefile): msg#00010db.carob.cvs
Date: Tuesday, December 19, 2006 @ 18:22:23 Author: marc Path: /cvsroot/carob/carob Modified: GNUmakefile (1.1 -> 1.2) Added new targets: checklib, checkstatic, check -------------+ GNUmakefile | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) Index: carob/GNUmakefile diff -u carob/GNUmakefile:1.1 carob/GNUmakefile:1.2 --- carob/GNUmakefile:1.1 Mon Dec 18 14:01:54 2006 +++ carob/GNUmakefile Tue Dec 19 18:22:23 2006 @@ -109,7 +109,7 @@ ${LIB_CAROB_STATIC}: ${OBJS} ar ${ARFLAGS} ${LIB_CAROB_STATIC} ${OBJS} -clean: clean-lib clean-test clean-doc +clean: clean-lib clean-test clean-doc clean-checks clean-lib: ${RM} ${SRCDIR}/*.o ${LIB_CAROB_LIB} ${LIB_CAROB_LIB_SHORT} ${LIB_CAROB_STATIC} clean-test: @@ -121,14 +121,36 @@ ${DOC_HTML}: ${DOXYFILE} ${DOXYGEN} ${DOXYFILE} + + ########## CHECKS ##############" + +check: checkstatic checklib checkheaders + +clean-check: + ${RM} checkstatic checklib include/headercheck + # compile each include/*.hpp, isolated +# TODO: use a GNU make loop instead of a shell script one checkheaders: cd include ; \ for h in *.hpp; do ln -sf $$h someheader.cpp; \ printf "compiling $$h\n"; \ - ${CXX} -c ${CXXFLAGS} someheader.cpp; done + ${CXX} -c ${CXXFLAGS} someheader.cpp -o headercheck; done + +# Link a empty executable to our lib +# Useful to detect unresolved symbols in our lib +checklib: ${LIB_CAROB_LIB} + - ${CXX} -Iinclude dummymain.cpp $< -o $@ + ldd $< + +STATIC_DEPS = -lgmp -lpthread + +checkstatic: ${LIB_CAROB_STATIC} + - ${CXX} -Iinclude ${STATIC_DEPS} dummymain.cpp $< -o $@ + ldd $@ + ########### DIST ################## # To create "carob-foo.tar.gz" from carob version tag r12_34, # simply type this:
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | CVS update of carob/test (GNUmakefile), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
|---|---|
| Next by Date: | CVS update of carob (dummymain.cpp), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Previous by Thread: | CVS update of carob/test/40-Parameter-PreparedStatement (1 file), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Next by Thread: | CVS update of carob (GNUmakefile), marc-Tt5JLJuBijYiZlD9aYmxOGD2FQJk+8+b |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|