mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 15:05:36 +00:00
ed507416b2
* gdk/Global.custom : properties to expose window manager spec properties. * gdk/glue/windowmanager.c : glue to retrieve window manager props using gdk_property_get. * gdk/glue/Makefile.am : add new file. * gdk/glue/makefile.win32 : add new file. svn path=/trunk/gtk-sharp/; revision=25611
26 lines
680 B
Plaintext
Executable file
26 lines
680 B
Plaintext
Executable file
GTK_CFLAGS=`pkg-config --cflags gtk+-win32-2.0 libglade-2.0`
|
|
GTK_LIBS=`pkg-config --libs gtk+-win32-2.0 libglade-2.0`
|
|
CC=gcc -mno-cygwin -mms-bitfields
|
|
DLLWRAP=dllwrap -mno-cygwin -mms-bitfields --target i386-mingw32 --export-all-symbols
|
|
|
|
GLUE_OBJS = \
|
|
dragcontext.o \
|
|
event.o \
|
|
selection.o \
|
|
win32dll.o \
|
|
windowmanager.o
|
|
|
|
all: gdksharpglue.dll
|
|
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $(GTK_CFLAGS) -o $@ $^
|
|
|
|
|
|
gdksharpglue.dll: $(GLUE_OBJS)
|
|
$(DLLWRAP) --output-lib=libgdksharpglue.a --dllname=gdksharpglue.dll --driver-name=gcc --output-def=gdksharpglue.def $(GLUE_OBJS) $(GTK_LIBS)
|
|
|
|
|
|
clean:
|
|
rm -f gdksharpglue.dll *.o libgdksharpglue.a
|