mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-11 18:55:35 +00:00
3814787622
* pango/Makefile.in : fix path to glib-sharp.dll svn path=/trunk/gtk-sharp/; revision=18830
35 lines
817 B
Makefile
35 lines
817 B
Makefile
APIS= pango-api.xml
|
|
|
|
RUNTIME=mono
|
|
MCS=mcs
|
|
ASSEMBLY=pango-sharp.dll
|
|
|
|
all: $(ASSEMBLY)
|
|
|
|
generated-stamp: $(APIS) *.custom ../generator/gapi_codegen.exe
|
|
$(RUNTIME) ../generator/gapi_codegen.exe --generate $(APIS) \
|
|
--outdir=generated --customdir=. --assembly-name=pango-sharp \
|
|
&& touch generated-stamp
|
|
|
|
$(ASSEMBLY): *.cs generated-stamp
|
|
$(MCS) --unsafe -nowarn:0660,0661 --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) && \
|
|
for i in $(APIS); do \
|
|
cp $$i $(apidir) || true; \
|
|
done && \
|
|
cp $(ASSEMBLY) $(libdir)
|