From: stephan b. <sg...@us...> - 2004-12-30 20:14:20
|
Update of /cvsroot/pclasses/pclasses2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4062 Modified Files: configure.pclasses2 toc.pclasses2.make.at Log Message: Added a timestamp kludge to help force rebuilds of objects after reconfigure. Still not 100% working, and i don't know why. Index: toc.pclasses2.make.at =================================================================== RCS file: /cvsroot/pclasses/pclasses2/toc.pclasses2.make.at,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- toc.pclasses2.make.at 30 Dec 2004 19:35:47 -0000 1.10 +++ toc.pclasses2.make.at 30 Dec 2004 20:14:10 -0000 1.11 @@ -1,9 +1,10 @@ #!/do/not/make #^^^ only to help emacs out. +# @CONFIGURE_TIMESTAMP@ -CLEAN_FILES += $(wildcard *.o *~) +CLEAN_FILES += $(wildcard *.o *~) INCLUDES += -I$(top_srcdir)/include $(PACKAGE_INCLUDES) @@ -36,21 +37,27 @@ ######################################################################## # HUGE KLUDGE to shut up 'no rule to make target -lfoo' errors from make: --l$(LIBPCORE_BASENAME): - @true --l$(LIBPNET_BASENAME): - @true --l$(LIBPIO_BASENAME): - @true --l$(LIBPUNICODE_BASENAME): - @true --l$(LIBPSYSTEM_BASENAME): - @true --l$(LIBPUTIL_BASENAME): - @true --l$(LIBPS11N_BASENAME): - @true --l$(LIBPSIO_BASENAME): - @true --l$(LIBPAPP_BASENAME): - @true +-l$(LIBPCORE_BASENAME): ; @true +-l$(LIBPNET_BASENAME): ; @true +-l$(LIBPIO_BASENAME): ; @true +-l$(LIBPUNICODE_BASENAME): ; @true +-l$(LIBPSYSTEM_BASENAME): ; @true +-l$(LIBPUTIL_BASENAME): ; @true +-l$(LIBPS11N_BASENAME): ; @true +-l$(LIBPSIO_BASENAME): ; @true +-l$(LIBPAPP_BASENAME): ; @true + + + +######################################################################## +##### try to force objects to recompile after configure has been run: +### ... not working :( ... +TOC_SOME_DEFAULT_DEPS = \ + Makefile Makefile.toc \ + $(top_srcdir)/toc.$(PACKAGE_NAME).make \ + $(top_srcdir)/toc.$(PACKAGE_NAME).configure.make \ + $(top_srcdir)/include/pclasses-config.h +%.o: $(TOC_SOME_DEFAULT_DEPS)# isn't working! +%.so: $(TOC_SOME_DEFAULT_DEPS) +$(TOC_SOME_DEFAULT_DEPS): +######################################################################## Index: configure.pclasses2 =================================================================== RCS file: /cvsroot/pclasses/pclasses2/configure.pclasses2,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- configure.pclasses2 30 Dec 2004 19:35:47 -0000 1.22 +++ configure.pclasses2 30 Dec 2004 20:14:10 -0000 1.23 @@ -5,6 +5,10 @@ toc_export PACKAGE_RELEASE_CODENAME="The Rewrite" +toc_export CONFIGURE_TIMESTAMP="$(date)" +# ^^^kludge to force some files to always regen, so that object files +# will be rebuilt after reconfigure. + toc_test check_dist_md5s toc_export PACKAGE_DESCRIPTION="C++ generic application framework library" |