GtkSharp/pango/Makefile.in

37 lines
936 B
Makefile
Raw Normal View History

APIS= pango-api.xml
RUNTIME=mono
MCS=mcs
ASSEMBLY=pango-sharp.dll
all: $(ASSEMBLY)
generated-stamp: $(APIS) *.custom ../generator/gapi_codegen.exe Pango.metadata
$(RUNTIME) ../parser/gapi-fixup.exe --api=pango-api.xml --metadata=Pango.metadata && \
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) \
--outdir=generated --customdir=. --assembly-name=pango-sharp \
&& touch generated-stamp
$(ASSEMBLY): *.cs generated-stamp
$(MCS) --unsafe --target library \
-r System.Drawing -r ../glib/glib-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)