2002-09-01 10:28:11 +00:00
|
|
|
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
|
|
|
|
|
2002-09-01 11:21:43 +00:00
|
|
|
gda-sharp.dll: Application.cs generated/*.cs
|
2003-07-27 06:48:40 +00:00
|
|
|
$(MCS) --unsafe -nowarn:0060,0061 --target library -L ../glib -r glib-sharp.dll -o gda-sharp.dll --recurse '*.cs'
|
2002-09-01 10:28:11 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.dll
|
|
|
|
rm -rf generated
|
|
|
|
|
|
|
|
install: all
|
2002-12-22 05:08:52 +00:00
|
|
|
@ENABLE_GDA_TRUE@ ../mkinstalldirs $(DESTDIR)@prefix@/lib && \
|
2002-09-01 10:28:11 +00:00
|
|
|
@ENABLE_GDA_TRUE@ cp gda-sharp.dll $(DESTDIR)@prefix@/lib
|