Index: src_plugins/autoroute/Makefile =================================================================== --- src_plugins/autoroute/Makefile (nonexistent) +++ src_plugins/autoroute/Makefile (revision 1044) @@ -0,0 +1,4 @@ +all: + cd ../../src && make mod_autoroute + + Index: src_plugins/autoroute/Makefile.mod =================================================================== --- src_plugins/autoroute/Makefile.mod (revision 1043) +++ src_plugins/autoroute/Makefile.mod (revision 1044) @@ -1,9 +1,27 @@ append /local/pcb/autorouter/enable {} append /local/pcb/autorouter/buildin {} +append /local/pcb/autorouter/OBJS [@ ${PLUGDIR}/autoroute/autoroute.o ${PLUGDIR}/autoroute/action.o @] + if /local/pcb/autorouter/enable then -if /local/pcb/autorouter/buildin then -append /local/pcb/OBJS [@ ${PLUGDIR}/autoroute/autoroute.o ${PLUGDIR}/autoroute/action.o @] -append /local/pcb/ACTION_REG_SRC [@ ${PLUGDIR}/autoroute/action.c @] + if /local/pcb/autorouter/buildin then + append /local/pcb/OBJS /local/pcb/autorouter/OBJS + append /local/pcb/ACTION_REG_SRC [@ ${PLUGDIR}/autoroute/action.c @] + append /local/pcb/RULES [@ + +mod_autoroute: all + +@] + + else + append /local/pcb/all [@ ${PLUGDIR}/autoroute/autoroute.so @] + append /local/pcb/RULES [@ + +${PLUGDIR}/autoroute/autoroute.so: @/local/pcb/autorouter/OBJS@ + $(CC) $(LDFLAGS) -shared @cc/rdynamic@ -o ${PLUGDIR}/autoroute/autoroute.so @/local/pcb/autorouter/OBJS@ + +mod_autoroute: ${PLUGDIR}/autoroute/autoroute.so + +@] + end end -end