summaryrefslogtreecommitdiffstats
path: root/qemu/roms/openbios/arch/unix/build.xml
blob: bc0cf9e74d0aaebe2b4c8509fccc51f727f29d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<build condition="HOST_UNIX">

 <dictionary name="openbios-unix" init="openbios" target="forth">
  <object source="tree.fs"/>
 </dictionary>

 <executable name="openbios-unix" target="target">
  <rule>
	$(call quiet-command,$(CC) $(CFLAGS) -rdynamic $(LIBDL_LDFLAGS) -o $@ $^,"  LINK  $(TARGET_DIR)$@")
  </rule>
  <object source="unix.c" flags="-DBOOTSTRAP"/>
  <object source="boot.c" flags="-DBOOTSTRAP"/>
  <object source="blk.c"  flags="-DBOOTSTRAP"/>
  <object source="plugins.c" flags="-DBOOTSTRAP" condition="PLUGINS"/>
  <external-object source="libbootstrap.a"/>
  <external-object source="libpackages.a"/>
  <external-object source="libopenbios.a"/>
  <external-object source="libdrivers.a"/>
  <external-object source="libfs.a"/>
  <external-object source="liblibc.a"/>
 </executable>

</build>