Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / openbios / arch / unix / plugins / Rules.plugin
1 # -*- makefile -*-
2
3 INCLUDES                = -I$(top_srcdir)/include -DBOOTSTRAP
4 CFLAGS                  = -fPIC
5
6 %.so: %.o
7         $(CC) -shared $(CFLAGS) $(filter %.o,$^) -o $@
8
9 THISDIR                 := $(notdir $(shell pwd))
10
11 all-local:              $(addprefix $(ODIR)/../,$(PLUGINS))
12
13 $(ODIR)/../%.so: $(ODIR)/%.so
14         install -d ../$(ODIR)
15         ln -f "../$(THISDIR)"/$< $@