GtkSharp/vte/Makefile.in
John Luke 933a5ef73a fix another makefile error
(I forgot another part to fix)

svn path=/trunk/gtk-sharp/; revision=22278
2004-01-19 22:33:28 +00:00

41 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
vte-sharp.dll: generated-stamp
$(MCS) --unsafe --target library \
-r ../glib/glib-sharp.dll -r ../gtk/gtk-sharp.dll -r ../gdk/gdk-sharp.dll \
/r:../atk/atk-sharp.dll \
--recurse '@srcdir@/*.cs' -o vte-sharp.dll
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)