mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 17:45:27 +00:00
5c87903756
* 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
512 B
Makefile
Executable file
22 lines
512 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
|
|
@ENABLE_GDA_TRUE@ all: linux
|
|
@ENABLE_GDA_FALSE@ all:
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /r:../glib/glib-sharp.dll /out:gda-sharp.dll /recurse:*.cs
|
|
|
|
linux: gda-sharp.dll
|
|
|
|
gda-sharp.dll: Application.cs generated/*.cs
|
|
$(MCS) --unsafe --target library -L ../glib -r glib-sharp.dll -o gda-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
@ENABLE_GDA_TRUE@ ../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
|
@ENABLE_GDA_TRUE@ cp gda-sharp.dll $(DESTDIR)@prefix@/lib
|