<!DOCTYPE module SYSTEM "module.dtd">

<module name="gps_ubx" dir="gps">
  <doc>
    <description>Ublox gps (uart)</description>
  </doc>
  <header>
    <file name="gps_ubx_uart.h"/>
  </header>
  <init fun="gps_init()"/>
  <event fun="GpsEvent(on_gps_solution)"/>
  <makefile>
    <file name="gps.c" dir="subsystems"/>
  </makefile>
  <makefile target="ap">
    <file name="gps_ubx.c" dir="subsystems/gps"/>
    <raw>
      ap.CFLAGS += -DGPS_TYPE_H=\"subsystems/gps/gps_ubx.h\"
    </raw>
  </makefile>
  <makefile target="sim|jsbsim">
    <file name="gps_sim.c" dir="subsystems/gps"/>
    <raw>
      sim.CFLAGS += -DGPS_TYPE_H=\"subsystems/gps/gps_sim.h\"
      jsbsim.CFLAGS += -DGPS_TYPE_H=\"subsystems/gps/gps_sim.h\"
    </raw>
  </makefile>
</module>


