Index: trunk/scconfig/Rev.h =================================================================== --- trunk/scconfig/Rev.h (revision 9210) +++ trunk/scconfig/Rev.h (revision 9211) @@ -1 +1 @@ -static const int myrev = 9205; +static const int myrev = 9211; Index: trunk/scconfig/Rev.tab =================================================================== --- trunk/scconfig/Rev.tab (revision 9210) +++ trunk/scconfig/Rev.tab (revision 9211) @@ -1,4 +1,4 @@ -9205 configure lib: per-plugin-per-project storage +9211 configure lib: per-plugin-per-project storage 9185 configure new plugin: funcmap 9079 configure rubber band wire move 9038 configure move out tEDAx parse/write into a reusable lib plugin Index: trunk/src/libcschem/Makefile.dep =================================================================== --- trunk/src/libcschem/Makefile.dep (revision 9210) +++ trunk/src/libcschem/Makefile.dep (revision 9211) @@ -272,7 +272,7 @@ ../../src_3rd/gengeo2d/typecfg_long_double.h ../../src_3rd/opc89.h \ ../../src_3rd/gengeo2d/common.h ../../src_3rd/gengeo2d/prim.h \ ../libcschem/engine.h libcschem.h plug_io.h ../libcschem/abstract.h \ - ../libcschem/TODO.h event.h project_p4.c project_p4.h + ../libcschem/TODO.h event.h project_p4.h ../libcschem/project.h project_act.o: project_act.c config.h event.h project.h \ ../libcschem/common_types.h ../libcschem/config.h \ ../libcschem/concrete.h ../libcschem/rtree.h ../libcschem/attrib.h \ @@ -282,6 +282,14 @@ ../../src_3rd/gengeo2d/common.h ../../src_3rd/gengeo2d/prim.h \ ../libcschem/engine.h compile.h ../libcschem/abstract.h \ ../libcschem/TODO.h ../libcschem/project.h project_act.h +project_p4.o: project_p4.c project_p4.h ../libcschem/project.h \ + ../libcschem/common_types.h ../libcschem/config.h \ + ../libcschem/concrete.h ../libcschem/rtree.h ../libcschem/attrib.h \ + ../libcschem/oidpath.h ../libcschem/vtoid.h \ + ../../src_3rd/libuundo/uundo.h ../../src_3rd/libminuid/libminuid.h \ + ../../src_3rd/gengeo2d/typecfg_long_double.h ../../src_3rd/opc89.h \ + ../../src_3rd/gengeo2d/common.h ../../src_3rd/gengeo2d/prim.h \ + ../libcschem/engine.h rtree.o: rtree.c rtree.h ../libcschem/common_types.h \ ../libcschem/config.h search.o: search.c config.h operation.h concrete.h \ Index: trunk/src/libcschem/Makefile.in =================================================================== --- trunk/src/libcschem/Makefile.in (revision 9210) +++ trunk/src/libcschem/Makefile.in (revision 9211) @@ -41,6 +41,7 @@ plug_library.o project.o project_act.o + project_p4.o rtree.o triangle.o search.o Index: trunk/src/libcschem/project.c =================================================================== --- trunk/src/libcschem/project.c (revision 9210) +++ trunk/src/libcschem/project.c (revision 9211) @@ -36,11 +36,10 @@ #include #include "plug_io.h" #include "event.h" +#include "project_p4.h" static const char project_cookie[] = "libcschem/project"; -#include "project_p4.c" - csch_project_t *csch_project_alloc(void) { csch_project_t *prj; Index: trunk/src/libcschem/project_p4.h =================================================================== --- trunk/src/libcschem/project_p4.h (revision 9210) +++ trunk/src/libcschem/project_p4.h (revision 9211) @@ -30,7 +30,7 @@ #ifndef CSCH_PROJECT_P4_H #define CSCH_PROJECT_P4_H -#include +#include typedef long csch_p4id_t; /* used internally for indexing project->p4data */