Getting useful...
[WebThing.git] / plugins / SoupSettings / Makefile
1 CFLAGS = `pkg-config glib-2.0 libsoup-2.4 webkit-1.0 --cflags`
2 LDFLAGS = `pkg-config glib-2.0 libsoup-2.4 webkit-1.0 --libs`
3 CSFLAGS = -debug
4 references = -r:../../webkit-sharp.dll -pkg:gtk-sharp-2.0
5
6 all: ../SoupSettings.dll
7
8 clean:
9         rm -f *.dll *.mdb ../SoupSettings.dll ../SoupSettings.so
10
11 ../%.dll: %.cs %.so ../../WebThing.dll
12         gmcs $(CSFLAGS) $(references) -r:../../WebThing.dll -target:library -out:$@ $<
13
14 %.so: %.c
15         $(CC) $(CFLAGS) -shared $(LDFLAGS) $< -o $@
16         cp $@ ../