732cdf7729
* */Makefile.in : rework the prefix handling for duncan's packaging. svn path=/trunk/gtk-sharp/; revision=18778
22 lines
389 B
Makefile
Executable file
22 lines
389 B
Makefile
Executable file
MCS=mcs
|
|
DESTDIR=
|
|
prefix=@prefix@
|
|
|
|
all: linux
|
|
|
|
windows:
|
|
$(CSC) /unsafe /target:library /out:glib-sharp.dll /recurse:*.cs
|
|
|
|
linux: glib-sharp.dll
|
|
|
|
glib-sharp.dll: *.cs
|
|
$(MCS) --unsafe --target library -o glib-sharp.dll --recurse '*.cs'
|
|
|
|
clean:
|
|
rm -f *.dll
|
|
rm -rf generated
|
|
|
|
install: all
|
|
../mkinstalldirs $(DESTDIR)$(prefix)/lib && \
|
|
cp glib-sharp.dll $(DESTDIR)$(prefix)/lib || exit 1
|
|
|