mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 12:45:28 +00:00
21cd2dfc14
* Thread.cs: Add GLib.Thread.Supported, should be checked to avoid doing Thread.Init() twice (Mono runtime initialises GLib threads itself, MS runtime doesn't) * glue/thread.c: g_thread_supported() is a macro, so needs glue * glue/Makefile.am: * glue/makefile.win32: Update makefiles with new glue file. svn path=/trunk/gtk-sharp/; revision=54926
31 lines
865 B
Plaintext
Executable file
31 lines
865 B
Plaintext
Executable file
GTK_CFLAGS=`pkg-config --cflags gobject-2.0`
|
|
GTK_LIBS=`pkg-config --libs gobject-2.0`
|
|
CC=gcc -mno-cygwin -mms-bitfields
|
|
DLLWRAP=dllwrap -mno-cygwin -mms-bitfields --target i386-mingw32 --export-all-symbols
|
|
|
|
GLUE_OBJS = \
|
|
error.o \
|
|
list.o \
|
|
object.o \
|
|
slist.o \
|
|
type.o \
|
|
unichar.o \
|
|
value.o \
|
|
valuearray.o \
|
|
thread.o \
|
|
win32dll.o
|
|
|
|
all: glibsharpglue-2.dll
|
|
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $(GTK_CFLAGS) -o $@ $^
|
|
|
|
|
|
glibsharpglue-2.dll: $(GLUE_OBJS)
|
|
$(DLLWRAP) --output-lib=libglibsharpglue-2.a --dllname=glibsharpglue-2.dll --driver-name=gcc --output-def=glibsharpglue-2.def $(GLUE_OBJS) $(GTK_LIBS)
|
|
|
|
|
|
clean:
|
|
rm -f glibsharpglue-2.dll *.o libglibsharpglue-2.a
|