mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-26 11:55:38 +00:00
07df433712
* pango/Makefile.am : add file. * pango/Units.cs : new class to wrap PANGO_SCALE and PANGO_PIXELS. * pango/glue/units.c : accessors for the macros. * pango/glue/Makefile.am : build it. * pango/glue/makefile.win32 : build it on win. [Fixes #74837] svn path=/trunk/gtk-sharp/; revision=44410
25 lines
658 B
Plaintext
25 lines
658 B
Plaintext
PANGO_CFLAGS=`pkg-config --cflags gtk+-win32-2.0 libglade-2.0`
|
|
PANGO_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 = \
|
|
attribute.c \
|
|
layoutline.o \
|
|
units.o \
|
|
win32dll.o
|
|
|
|
all: pangosharpglue-2.dll
|
|
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $(PANGO_CFLAGS) -o $@ $^
|
|
|
|
|
|
gtksharpglue-2.dll: $(GLUE_OBJS)
|
|
$(DLLWRAP) --output-lib=libpangosharpglue-2.a --dllname=pangosharpglue-2.dll --driver-name=gcc --output-def=pangosharpglue-2.def $(GLUE_OBJS) $(PANGO_LIBS)
|
|
|
|
|
|
clean:
|
|
rm -f pangosharpglue-2.dll *.o libpangosharpglue-2.a
|