mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-09 00:13:20 +02:00
![Robert McQueen](/assets/img/avatar_default.png)
* makefile: when doing distclean, attempt distclean on all the C# subdirs too * gconf/Makefile.in: added distclean target to rm the Makefiles in the subdirs of gconf/ * glue/Makefile.am: build libgtksharpglue as an unversioned module to avoid so -> so.0 -> so.0.0 symlink mess * */Makefile.in: call mkinstalldirs before installing any files so that subdirs can be installed seperately or in any sequence (eg binding dirs before native dirs) svn path=/trunk/gtk-sharp/; revision=9828
22 lines
921 B
Makefile
Executable File
22 lines
921 B
Makefile
Executable File
MCS=mcs
|
|
DESTDIR=
|
|
|
|
@ENABLE_GNOMEDB_TRUE@ all: linux
|
|
@ENABLE_GNOMEDB_FALSE@ all:
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /r:../pango/pango-sharp.dll /r:../atk/atk-sharp.dll /r:../art/art-sharp.dll /r:../gdk/gdk-sharp.dll /r:../gtk/gtk-sharp.dll /r:../gnome/gnome-sharp.dll /r:../gda/gda-sharp.dll /out:gnomedb-sharp.dll /recurse:*.cs
|
|
|
|
linux: gnomedb-sharp.dll
|
|
|
|
gnomedb-sharp.dll: Application.cs generated/*.cs
|
|
$(MCS) --unsafe --target library -L ../glib -L ../pango -L ../atk -L ../art -L ../gdk -L ../gtk -L ../gnome -L ../gda -r glib-sharp.dll -r pango-sharp.dll -r atk-sharp.dll -r art-sharp.dll -r gdk-sharp.dll -r gtk-sharp.dll -r gnome-sharp.dll -r gda-sharp.dll -o gnomedb-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
@ENABLE_GNOMEDB_TRUE@ ../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
|
@ENABLE_GNOMEDB_TRUE@ cp gnomedb-sharp.dll $(DESTDIR)@prefix@/lib
|