From 7af80b3979e3c60a6095eb1d7b89d61127af3663 Mon Sep 17 00:00:00 2001 From: troyhebe Date: Tue, 14 Feb 2006 21:21:20 +0000 Subject: [PATCH] Fixed make files to break out each copy element to be a unique target, this also seems to have resolved the issue where running make check rebuilds the entire library again. Signed-off-by: Troy Heber git-svn-id: https://judy.svn.sourceforge.net/svnroot/judy/trunk@37 6390f24f-2af0-0310-aa40-fab754e6522e --- ChangeLog | 6 ++++++ src/Judy1/Makefile.am | 46 ++++++++++++++++++++++++++++++++++++++----- src/JudyL/Makefile.am | 46 ++++++++++++++++++++++++++++++++++++++----- 3 files changed, 88 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2326436..c0de741 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1.0.3 Version (Feb 2006 ) by (twh) +o fixed make files to break out each copy element +to be a unique target, this also seems to have +resolved the issue where running make check rebuilds +the entire library again. + 1.0.2 Version (Jan 2006 ) by (twh) o fixed assumption of signed char in test programs. diff --git a/src/Judy1/Makefile.am b/src/Judy1/Makefile.am index bab403a..3976c40 100644 --- a/src/Judy1/Makefile.am +++ b/src/Judy1/Makefile.am @@ -20,29 +20,65 @@ libinline_la_CFLAGS = $(AM_CFLAGS) -DJUDYGETINLINE Judy1Tables.c: Judy1TablesGen.c $(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o Judy1TablesGen Judy1TablesGen.c; ./Judy1TablesGen - -Judy1Test.c: copies - -copies: +Judy1ByCount.c:../JudyCommon/JudyByCount.c cp -f ../JudyCommon/JudyByCount.c Judy1ByCount.c + +Judy1Cascade.c:../JudyCommon/JudyCascade.c cp -f ../JudyCommon/JudyCascade.c Judy1Cascade.c + +Judy1Count.c:../JudyCommon/JudyCount.c cp -f ../JudyCommon/JudyCount.c Judy1Count.c + +Judy1CreateBranch.c:../JudyCommon/JudyCreateBranch.c cp -f ../JudyCommon/JudyCreateBranch.c Judy1CreateBranch.c + +Judy1Decascade.c:../JudyCommon/JudyDecascade.c cp -f ../JudyCommon/JudyDecascade.c Judy1Decascade.c + +Judy1Unset.c:../JudyCommon/JudyDel.c cp -f ../JudyCommon/JudyDel.c Judy1Unset.c + +Judy1First.c:../JudyCommon/JudyFirst.c cp -f ../JudyCommon/JudyFirst.c Judy1First.c + +Judy1FreeArray.c:../JudyCommon/JudyFreeArray.c cp -f ../JudyCommon/JudyFreeArray.c Judy1FreeArray.c + +Judy1Test.c:../JudyCommon/JudyGet.c cp -f ../JudyCommon/JudyGet.c Judy1Test.c + +j__udy1Test.c:../JudyCommon/JudyGet.c cp -f ../JudyCommon/JudyGet.c j__udy1Test.c + +Judy1SetArray.c:../JudyCommon/JudyInsArray.c cp -f ../JudyCommon/JudyInsArray.c Judy1SetArray.c + +Judy1Set.c:../JudyCommon/JudyIns.c cp -f ../JudyCommon/JudyIns.c Judy1Set.c + +Judy1InsertBranch.c:../JudyCommon/JudyInsertBranch.c cp -f ../JudyCommon/JudyInsertBranch.c Judy1InsertBranch.c + +Judy1MallocIF.c:../JudyCommon/JudyMallocIF.c cp -f ../JudyCommon/JudyMallocIF.c Judy1MallocIF.c + +Judy1MemActive.c:../JudyCommon/JudyMemActive.c cp -f ../JudyCommon/JudyMemActive.c Judy1MemActive.c + +Judy1MemUsed.c:../JudyCommon/JudyMemUsed.c cp -f ../JudyCommon/JudyMemUsed.c Judy1MemUsed.c + +Judy1Next.c:../JudyCommon/JudyPrevNext.c cp -f ../JudyCommon/JudyPrevNext.c Judy1Next.c + +Judy1Prev.c:../JudyCommon/JudyPrevNext.c cp -f ../JudyCommon/JudyPrevNext.c Judy1Prev.c + +Judy1NextEmpty.c:../JudyCommon/JudyPrevNextEmpty.c cp -f ../JudyCommon/JudyPrevNextEmpty.c Judy1NextEmpty.c + +Judy1PrevEmpty.c:../JudyCommon/JudyPrevNextEmpty.c cp -f ../JudyCommon/JudyPrevNextEmpty.c Judy1PrevEmpty.c - cp -f ../JudyCommon/JudyTables.c Judy1TablesGen.c +Judy1TablesGen.c:../JudyCommon/JudyTables.c + cp -f ../JudyCommon/JudyTables.c Judy1TablesGen.c diff --git a/src/JudyL/Makefile.am b/src/JudyL/Makefile.am index 29ed616..174b3aa 100644 --- a/src/JudyL/Makefile.am +++ b/src/JudyL/Makefile.am @@ -20,29 +20,65 @@ libinline_la_CFLAGS = $(AM_CFLAGS) -DJUDYGETINLINE JudyLTables.c: JudyLTablesGen.c $(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o JudyLTablesGen JudyLTablesGen.c; ./JudyLTablesGen - -JudyLCascade.c: copies - -copies: +JudyLByCount.c: ../JudyCommon/JudyByCount.c cp -f ../JudyCommon/JudyByCount.c JudyLByCount.c + +JudyLCascade.c:../JudyCommon/JudyCascade.c cp -f ../JudyCommon/JudyCascade.c JudyLCascade.c + +JudyLCount.c:../JudyCommon/JudyCount.c cp -f ../JudyCommon/JudyCount.c JudyLCount.c + +JudyLCreateBranch.c:../JudyCommon/JudyCreateBranch.c cp -f ../JudyCommon/JudyCreateBranch.c JudyLCreateBranch.c + +JudyLDecascade.c:../JudyCommon/JudyDecascade.c cp -f ../JudyCommon/JudyDecascade.c JudyLDecascade.c + +JudyLDel.c:../JudyCommon/JudyDel.c cp -f ../JudyCommon/JudyDel.c JudyLDel.c + +JudyLFirst.c:../JudyCommon/JudyFirst.c cp -f ../JudyCommon/JudyFirst.c JudyLFirst.c + +JudyLFreeArray.c:../JudyCommon/JudyFreeArray.c cp -f ../JudyCommon/JudyFreeArray.c JudyLFreeArray.c + +JudyLGet.c:../JudyCommon/JudyGet.c cp -f ../JudyCommon/JudyGet.c JudyLGet.c + +j__udyLGet.c:../JudyCommon/JudyGet.c cp -f ../JudyCommon/JudyGet.c j__udyLGet.c + +JudyLInsArray.c:../JudyCommon/JudyInsArray.c cp -f ../JudyCommon/JudyInsArray.c JudyLInsArray.c + +JudyLIns.c:../JudyCommon/JudyIns.c cp -f ../JudyCommon/JudyIns.c JudyLIns.c + +JudyLInsertBranch.c:../JudyCommon/JudyInsertBranch.c cp -f ../JudyCommon/JudyInsertBranch.c JudyLInsertBranch.c + +JudyLMallocIF.c:../JudyCommon/JudyMallocIF.c cp -f ../JudyCommon/JudyMallocIF.c JudyLMallocIF.c + +JudyLMemActive.c:../JudyCommon/JudyMemActive.c cp -f ../JudyCommon/JudyMemActive.c JudyLMemActive.c + +JudyLMemUsed.c:../JudyCommon/JudyMemUsed.c cp -f ../JudyCommon/JudyMemUsed.c JudyLMemUsed.c + +JudyLNext.c:../JudyCommon/JudyPrevNext.c cp -f ../JudyCommon/JudyPrevNext.c JudyLNext.c + +JudyLPrev.c:../JudyCommon/JudyPrevNext.c cp -f ../JudyCommon/JudyPrevNext.c JudyLPrev.c + +JudyLNextEmpty.c:../JudyCommon/JudyPrevNextEmpty.c cp -f ../JudyCommon/JudyPrevNextEmpty.c JudyLNextEmpty.c + +JudyLPrevEmpty.c:../JudyCommon/JudyPrevNextEmpty.c cp -f ../JudyCommon/JudyPrevNextEmpty.c JudyLPrevEmpty.c + +JudyLTablesGen.c:../JudyCommon/JudyTables.c cp -f ../JudyCommon/JudyTables.c JudyLTablesGen.c -