GtkSharp/vte/Makefile.in
John Luke a48fe481b0 sadly the order matters if you are building from scratch
thanks to RoyBatty in #mono

svn path=/trunk/gtk-sharp/; revision=22374
2004-01-22 03:25:24 +00:00

42 lines
1.2 KiB
Makefile

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