2d1 < ## The '#' is a comment to Makefiles; /_* is not.-RJL050812 4,5c3,4 < # ** Revision 1.7 2008/01/17 04:56:18 lechner < # ** Added flag -DUSECC when compiling to omit "C" in extern decls of dprint.h --- > # ** Revision 1.7 2008/01/17 20:22:05 lechner > # ** Restored line 178 inadvertently lost when editing. 7,8c6,7 < # ** Revision 1.6 2006/01/16 02:34:52 lechner < # ** Merely corrected one comment date. --- > # ** Revision 1.6 2008/01/17 04:57:16 lechner > # ** Added flag -DUSECC when compiling to omit "C" in extern decls of dprint.h 10,11c9,11 < # ** Revision 1.5 2005/12/10 03:44:01 lechner < # ** Removed copysources: $(GENSRCS) ... dependency; now compile directly by --- > # ** Revision 1.5 2005/12/10 03:48:44 lechner > # ** Added prefix '#' to 75 revision history comment lines (probably not needed). > # ** Removed copysources: $(GENSRCS) ... dependency; now compile directly by: 15,24c15,24 < # ** Revision 1.4 2005/10/25 18:13:45 lechner < # ** #defined GENLOG and BDELOG (no longer #defined them as 1); < # ** Cosmetic improvements to comments on make idiosyncracies in BSD vs. linux. < # ** < # ** Revision 1.3 2005/08/23 21:50:33 lechner < # ** Added '#' prefix to revision comments in case they are propagated to Makefiles. < # ** Added '1' to #define GENLOG 1, #define BDELOG 1 (conditional on #ifdef LOG). < # ** Added -I$(TOP) to INCLUDES = ... < # ** Removed ';' from #ifdef linux \ EXT < # ** Added misc. .h files to depends-on list of target copysources: --- > # ** Revision 1.4 2005/10/25 18:20:02 lechner > # ** Added copysources: dependencies from these files: > # ** $(GENSRCS) $(TOP)/dprint.h $(PRDIR)/94sbde_schema.h $(PRDIR)/lut.h > # ** (This didn't prevent recompiling all pr_*.c file s. - still TBD) > # ** Added a command $(CP) 94sbde_schema.h from $PRDIR to $PROBJDIR. > # ** > # ** Revision 1.3 2005/10/23 08:50:31 lechner > # ** Added EXT=; in one case. Appended '@@\' to a blank line inside a macro. > # ** Added dependencies to the target copysources: > # ** copysources: $(GENSRCS) $(TOP)/dprint.h $(PRDIR)/94sbde_schema.h $(PRDIR)/lut.h 26,27c26,27 < # ** Revision 1.2 2005/08/12 19:21:58 lechner < # ** Fixed a missing '/*' typo, changed to PRDIR = $(TOP)/pr_util_log --- > # ** Revision 1.2 2005/08/22 16:11:55 lechner > # ** Fixed a minor typo. 29c29 < # ** Revision 1.1 2005/08/12 03:18:02 lechner --- > # ** Revision 1.1 2005/08/12 03:11:57 lechner 53,54c53,54 < # ** This Imakefile is for bde/pr_util_log. - RJL050805 < # ** It updates files in bde/{pr_util_log/{,$(HOSTTYPE)/{obj,bin}} --- > # ** This Imakefile is for bde/pr_util_nolog. - RJL050805 > # ** It updates files in bde/{pr_util_nolog/{,$(HOSTTYPE)/{obj,bin}} 86c86,88 < # **/ --- > # */ > #/* xmkmf -a --> imake includes -Dlinux: - what about make's env'mt? */ > #/* -D LinuxArchitecture is present in bde/src/Makefile on Mercury. */ 117,118c119 < INCLUDES = -I/usr/include -I$(TOPINCLUDE) -I$(SCHEMA_INCLUDE) -I$(TOP) < --- > INCLUDES = -I/usr/include -I$(TOP) -I$(TOPINCLUDE) -I$(SCHEMA_INCLUDE) 148c149 < /* omit pr_log.c, alter others */ --- > 173d173 < 176,179c176,177 < #endif < < #ifdef linux < EXT = --- > #else > EXT = ; 182c180 < --- > @@\ 184a183 > @@\ 198,228d196 < < /* Testing notes moved down from in $PRNLOG/Imakefile-RJL050810 */ < /* Above , '$(PRDIR)/$(*).c' selects current source file */ < /* In $(*).c, parens are ESSENTIAL! -RJL050806 */ < /* src/Imakefile Ptrn rules: $(OBJDIR)%.o : $(SRCDIR)%.cc */ < /* $PR[N]LOG/Imakefile : $(PROBJDIR)%.o : $(PRDIR)%.c */ < /*$(GENOBJS):$(GENSRCS) @@\ */ < /* $(CC) -g -c -Wall $(GENDEFINES) $< -o $(@) @@\ */ < /*[$(<) -o $(@)] works on mercury, not on saturn!-RJL050807] */ < /* empty rule to cancel default rule: */ < < /* (*) does not include .c in CC command */ < /* Pattern rule for gnu make only: don't forget '/': */ < /* Didn't work on mercury: < * $(CC)...$(PRDIR)/%.c -o $(PROBJDIR)/%.o @@\ < * $(PRDIR)/%.c not found < * $(CC) ... $(<).c -o $(@) < * ($(PROBJDIR)/%.c not found - wrong dir'y) < * $(CC) -g -c -Wall $(