GtkSharp/art/Makefile.in
Mike Kestner cff58b1cb2 2003-11-30 Mike Kestner <mkestner@speakeasy.net>
* art/art-symbols.xml : add some simple types to clean up generation.
	* art/Makefile.in : add art-symbols.xml

svn path=/trunk/gtk-sharp/; revision=20655
2003-12-01 04:43:20 +00:00

43 lines
1.1 KiB
Makefile
Executable file

APIS=art-api.xml art-symbols.xml
INCLUDE_APIS = ../atk/atk-api.xml \
../pango/pango-api.xml \
../gdk/gdk-api.xml \
../gdk/gdk-symbols.xml
RUNTIME=mono
MCS=mcs
ASSEMBLY=art-sharp.dll
all: $(ASSEMBLY)
generated-stamp: $(APIS) ../generator/gapi_codegen.exe Art.metadata
$(RUNTIME) ../parser/gapi-fixup.exe --api=art-api.xml --metadata=Art.metadata && \
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) \
--include $(INCLUDE_APIS) --outdir=generated --customdir=. \
--assembly-name=art-sharp && touch generated-stamp
$(ASSEMBLY): generated-stamp
$(MCS) --unsafe --target library \
-r System.Drawing -r ../glib/glib-sharp.dll \
-r ../pango/pango-sharp.dll -r ../atk/atk-sharp.dll \
-r ../gdk/gdk-sharp.dll -o $(ASSEMBLY) --recurse '*.cs'
clean:
rm -f generated-stamp
rm -f $(ASSEMBLY)
rm -rf generated
prefix=@prefix@
DESTDIR=
apidir=$(DESTDIR)$(prefix)/share/gapi
libdir=$(DESTDIR)$(prefix)/lib
install: all
../mkinstalldirs $(libdir) && \
../mkinstalldirs $(apidir) && \
for i in $(APIS); do \
cp $$i $(apidir) || true; \
done && \
cp $(ASSEMBLY) $(libdir)