.hgignore
author gabriele at naustech dot com
Thu, 12 Jun 2014 14:07:16 +0200
changeset 791 7740ac6fdedc
parent 752 48a0ebbefa74
permissions -rw-r--r--
Fix : libcanfestival_unix.a not built if examples are not compiled

Problem: when building Canfestival with unix timers 'libcanfestiva_unix.a'
is built only if you build examples too.

Test case:

$ ./configure --timers=unix --can=socket --target=unix
$ make canfestival

...

no errors but 'libcanfestival_unix.a' is not built:
$ find . -name "*.a"
./src/libcanfestival.a

Changing line 90 of 'drivers/unix/Makefile.in' to:
#driver: $(OBJS)
driver: libcanfestival_$(TARGET).a

solves the problem:

$ ./configure --timers=unix --can=socket --target=unix
$ make canfestival

...

$ find . -name "*.a"
./drivers/unix/libcanfestival_unix.a
./src/libcanfestival.a
.project

syntax: regexp
^objdictgen/gnosis$
syntax: regexp
\.o$
syntax: regexp
\.so$
syntax: regexp
\.pyc$
syntax: regexp
\.a$
syntax: regexp
\.orig$
syntax: regexp
^\.settings.*
syntax: regexp
\.rej$
syntax: regexp
^drivers/can_socket/Makefile$
syntax: regexp
^drivers/timers_unix/Makefile$
syntax: regexp
^drivers/unix/Makefile$
syntax: regexp
^drivers/Makefile$
syntax: regexp
^drivers/can_peak_linux/Makefile$
syntax: regexp
^drivers/timers_rtai/Makefile$


syntax: regexp
^examples/CANOpenShell/Debug$
syntax: regexp
^examples/CANOpenShell/CANOpenShellMasterOD\.c$
syntax: regexp
^examples/CANOpenShell/CANOpenShellMasterOD\.h$
syntax: regexp
^examples/CANOpenShell/CANOpenShellSlaveOD\.c$
syntax: regexp
^examples/CANOpenShell/CANOpenShellSlaveOD\.h$
syntax: regexp
^examples/CANOpenShell/Makefile$

syntax: regexp
^examples/SillySlave/Makefile$
syntax: regexp
^examples/TestMasterMicroMod/Makefile$
syntax: regexp
^examples/TestMasterSlave/Makefile$
syntax: regexp
^examples/TestMasterSlaveLSS/Makefile$
syntax: regexp
^examples/Makefile$
syntax: regexp
^drivers/Makefile$
syntax: regexp
^Makefile$
syntax: regexp
^objdictgen/canfestival_config\.py$
syntax: regexp
^objdictgen/Makefile$
syntax: regexp
^examples/Makefile$
syntax: regexp
^src/Makefile$

syntax: regexp
^examples/.*/Makefile$

syntax: regexp
^examples/CANOpenShell/CANOpenShell$
^examples/DS401_Master/DS401_Master$
^examples/DS401_Slave_Gui/DS401_Slave_Gui$



syntax: regexp
^include/config\.h$
syntax: regexp
^examples/TestMasterMicroMod/TestMasterMicroMod$
syntax: regexp
^examples/TestMasterSlave/TestMasterSlave$

syntax: regexp
^doc/doxygen/html$

glob:examples/DS401_Master/TestMaster.c
glob:examples/DS401_Master/TestMaster.h
glob:examples/DS401_Slave_Gui/ObjDict.c
glob:examples/DS401_Slave_Gui/ObjDict.h
glob:examples/TestMasterSlave/TestMaster.c
glob:examples/TestMasterSlave/TestMaster.h
glob:examples/TestMasterSlave/TestSlave.c
glob:examples/TestMasterSlave/TestSlave.h
glob:examples/TestMasterMicroMod/TestMaster.c