Index: trunk/src/Makefile.dep =================================================================== --- trunk/src/Makefile.dep (revision 1422) +++ trunk/src/Makefile.dep (revision 1423) @@ -1465,6 +1465,16 @@ list_element.h plug_footprint.h data.h file.h mymem.h paths.h error.h \ plugins.h ../src_3rd/genht/htsp.h ../src_3rd/genht/ht.h \ ../src_3rd/genht/ht_inlines.h ../src_3rd/genht/hash.h +plug_footprint_host.o: plug_footprint_host.c ../config.h \ + ../config.manual.h ../config.auto.h global.h const.h ../globalconst.h \ + ../config.h macro.h global_typedefs.h global_objs.h \ + ../src_3rd/genlist/gendlist.h polyarea.h list_common.h list_line.h \ + ../src_3rd/genlist/gentdlist_impl.h ../src_3rd/genlist/gendlist.h \ + ../src_3rd/genlist/gentdlist_undef.h list_arc.h list_text.h list_poly.h \ + list_pad.h list_pin.h list_rat.h vtonpoint.h \ + ../src_3rd/genvector/genvector_impl.h \ + ../src_3rd/genvector/genvector_undef.h hid.h global_element.h \ + list_element.h plug_footprint.h data.h plugins.o: plugins.c plugins.h ../config.h ../config.manual.h \ ../config.auto.h global.h const.h ../globalconst.h ../config.h macro.h \ global_typedefs.h global_objs.h ../src_3rd/genlist/gendlist.h polyarea.h \ Index: trunk/src/Makefile.in =================================================================== --- trunk/src/Makefile.in (revision 1422) +++ trunk/src/Makefile.in (revision 1423) @@ -69,6 +69,7 @@ pcb-printf.o plugins.o plug_footprint.o + plug_footprint_host.o polygon.o polygon1.o polygon_act.o Index: trunk/src/plug_footprint.c =================================================================== --- trunk/src/plug_footprint.c (revision 1422) +++ trunk/src/plug_footprint.c (revision 1423) @@ -25,8 +25,6 @@ */ #include "config.h" - -//#include #include "global.h" #include #include @@ -180,9 +178,3 @@ if (fctx->backend->fclose != NULL) fctx->backend->fclose(fctx->backend, f, fctx); } - -const char *fp_get_library_shell(void) -{ - return Settings.LibraryShell; -} - Index: trunk/src/plug_footprint_host.c =================================================================== --- trunk/src/plug_footprint_host.c (nonexistent) +++ trunk/src/plug_footprint_host.c (revision 1423) @@ -0,0 +1,11 @@ +/* Glue between plug_footrpint and pcb-rnd; this is a separate file so a + different glue can be used with gsch2pcb */ +#include "config.h" +#include "global.h" +#include "data.h" + +const char *fp_get_library_shell(void) +{ + return Settings.LibraryShell; +} +