Permalink
Browse files

use symlinks instead of copying source files

  • Loading branch information...
1 parent d697358 commit 099243bdd3c0d17001d7fbd2042dc2b34da63aa0 @tony2001 committed Jul 30, 2013
Showing with 43 additions and 43 deletions.
  1. +21 −21 src/Judy1/Makefile.am
  2. +21 −21 src/JudyL/Makefile.am
  3. +1 −1 src/JudySL/Makefile.am
View
@@ -21,67 +21,67 @@ Judy1Tables.c: Judy1TablesGen.c
$(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o Judy1TablesGen Judy1TablesGen.c; ./Judy1TablesGen
Judy1ByCount.c: $(top_srcdir)/src/JudyCommon/JudyByCount.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyByCount.c Judy1ByCount.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyByCount.c Judy1ByCount.c
Judy1Cascade.c: $(top_srcdir)/src/JudyCommon/JudyCascade.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyCascade.c Judy1Cascade.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyCascade.c Judy1Cascade.c
Judy1Count.c: $(top_srcdir)/src/JudyCommon/JudyCount.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyCount.c Judy1Count.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyCount.c Judy1Count.c
Judy1CreateBranch.c: $(top_srcdir)/src/JudyCommon/JudyCreateBranch.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyCreateBranch.c Judy1CreateBranch.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyCreateBranch.c Judy1CreateBranch.c
Judy1Decascade.c: $(top_srcdir)/src/JudyCommon/JudyDecascade.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyDecascade.c Judy1Decascade.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyDecascade.c Judy1Decascade.c
Judy1Unset.c: $(top_srcdir)/src/JudyCommon/JudyDel.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyDel.c Judy1Unset.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyDel.c Judy1Unset.c
Judy1First.c: $(top_srcdir)/src/JudyCommon/JudyFirst.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyFirst.c Judy1First.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyFirst.c Judy1First.c
Judy1FreeArray.c: $(top_srcdir)/src/JudyCommon/JudyFreeArray.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyFreeArray.c Judy1FreeArray.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyFreeArray.c Judy1FreeArray.c
Judy1Test.c: $(top_srcdir)/src/JudyCommon/JudyGet.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyGet.c Judy1Test.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyGet.c Judy1Test.c
j__udy1Test.c: $(top_srcdir)/src/JudyCommon/JudyGet.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyGet.c j__udy1Test.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyGet.c j__udy1Test.c
Judy1SetArray.c: $(top_srcdir)/src/JudyCommon/JudyInsArray.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyInsArray.c Judy1SetArray.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyInsArray.c Judy1SetArray.c
Judy1Set.c: $(top_srcdir)/src/JudyCommon/JudyIns.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyIns.c Judy1Set.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyIns.c Judy1Set.c
Judy1InsertBranch.c: $(top_srcdir)/src/JudyCommon/JudyInsertBranch.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyInsertBranch.c Judy1InsertBranch.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyInsertBranch.c Judy1InsertBranch.c
Judy1MallocIF.c: $(top_srcdir)/src/JudyCommon/JudyMallocIF.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyMallocIF.c Judy1MallocIF.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyMallocIF.c Judy1MallocIF.c
Judy1MemActive.c: $(top_srcdir)/src/JudyCommon/JudyMemActive.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyMemActive.c Judy1MemActive.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyMemActive.c Judy1MemActive.c
Judy1MemUsed.c: $(top_srcdir)/src/JudyCommon/JudyMemUsed.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyMemUsed.c Judy1MemUsed.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyMemUsed.c Judy1MemUsed.c
Judy1Next.c: $(top_srcdir)/src/JudyCommon/JudyPrevNext.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyPrevNext.c Judy1Next.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyPrevNext.c Judy1Next.c
Judy1Prev.c: $(top_srcdir)/src/JudyCommon/JudyPrevNext.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyPrevNext.c Judy1Prev.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyPrevNext.c Judy1Prev.c
Judy1NextEmpty.c: $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c Judy1NextEmpty.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c Judy1NextEmpty.c
Judy1PrevEmpty.c: $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c Judy1PrevEmpty.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c Judy1PrevEmpty.c
Judy1TablesGen.c: $(top_srcdir)/src/JudyCommon/JudyTables.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyTables.c Judy1TablesGen.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyTables.c Judy1TablesGen.c
DISTCLEANFILES = .deps Makefile
View
@@ -21,67 +21,67 @@ JudyLTables.c: JudyLTablesGen.c
$(CC) $(INCLUDES) $(AM_CFLAGS) @CFLAGS@ -o JudyLTablesGen JudyLTablesGen.c; ./JudyLTablesGen
JudyLByCount.c: $(top_srcdir)/src/JudyCommon/JudyByCount.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyByCount.c JudyLByCount.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyByCount.c JudyLByCount.c
JudyLCascade.c: $(top_srcdir)/src/JudyCommon/JudyCascade.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyCascade.c JudyLCascade.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyCascade.c JudyLCascade.c
JudyLCount.c: $(top_srcdir)/src/JudyCommon/JudyCount.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyCount.c JudyLCount.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyCount.c JudyLCount.c
JudyLCreateBranch.c: $(top_srcdir)/src/JudyCommon/JudyCreateBranch.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyCreateBranch.c JudyLCreateBranch.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyCreateBranch.c JudyLCreateBranch.c
JudyLDecascade.c: $(top_srcdir)/src/JudyCommon/JudyDecascade.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyDecascade.c JudyLDecascade.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyDecascade.c JudyLDecascade.c
JudyLDel.c: $(top_srcdir)/src/JudyCommon/JudyDel.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyDel.c JudyLDel.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyDel.c JudyLDel.c
JudyLFirst.c: $(top_srcdir)/src/JudyCommon/JudyFirst.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyFirst.c JudyLFirst.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyFirst.c JudyLFirst.c
JudyLFreeArray.c: $(top_srcdir)/src/JudyCommon/JudyFreeArray.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyFreeArray.c JudyLFreeArray.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyFreeArray.c JudyLFreeArray.c
JudyLGet.c: $(top_srcdir)/src/JudyCommon/JudyGet.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyGet.c JudyLGet.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyGet.c JudyLGet.c
j__udyLGet.c: $(top_srcdir)/src/JudyCommon/JudyGet.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyGet.c j__udyLGet.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyGet.c j__udyLGet.c
JudyLInsArray.c: $(top_srcdir)/src/JudyCommon/JudyInsArray.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyInsArray.c JudyLInsArray.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyInsArray.c JudyLInsArray.c
JudyLIns.c: $(top_srcdir)/src/JudyCommon/JudyIns.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyIns.c JudyLIns.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyIns.c JudyLIns.c
JudyLInsertBranch.c: $(top_srcdir)/src/JudyCommon/JudyInsertBranch.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyInsertBranch.c JudyLInsertBranch.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyInsertBranch.c JudyLInsertBranch.c
JudyLMallocIF.c: $(top_srcdir)/src/JudyCommon/JudyMallocIF.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyMallocIF.c JudyLMallocIF.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyMallocIF.c JudyLMallocIF.c
JudyLMemActive.c: $(top_srcdir)/src/JudyCommon/JudyMemActive.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyMemActive.c JudyLMemActive.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyMemActive.c JudyLMemActive.c
JudyLMemUsed.c: $(top_srcdir)/src/JudyCommon/JudyMemUsed.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyMemUsed.c JudyLMemUsed.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyMemUsed.c JudyLMemUsed.c
JudyLNext.c: $(top_srcdir)/src/JudyCommon/JudyPrevNext.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyPrevNext.c JudyLNext.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyPrevNext.c JudyLNext.c
JudyLPrev.c: $(top_srcdir)/src/JudyCommon/JudyPrevNext.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyPrevNext.c JudyLPrev.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyPrevNext.c JudyLPrev.c
JudyLNextEmpty.c: $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c JudyLNextEmpty.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c JudyLNextEmpty.c
JudyLPrevEmpty.c: $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c JudyLPrevEmpty.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyPrevNextEmpty.c JudyLPrevEmpty.c
JudyLTablesGen.c: $(top_srcdir)/src/JudyCommon/JudyTables.c
- cp -f $(top_srcdir)/src/JudyCommon/JudyTables.c JudyLTablesGen.c
+ ln -s $(top_srcdir)/src/JudyCommon/JudyTables.c JudyLTablesGen.c
DISTCLEANFILES = .deps Makefile
@@ -1,4 +1,4 @@
-INCLUDES = -I. -I.. -I../JudyCommon/ -I$(top_srcdir)/src
+INCLUDES = -I. -I.. -I$(top_srcdir)/src/JudyCommon/ -I$(top_srcdir)/src
AM_CFLAGS = @CFLAGS@ @WARN_CFLAGS@
noinst_LTLIBRARIES = libJudySL.la

0 comments on commit 099243b

Please sign in to comment.