7f3171c814
is now tracking Gnome 2.6. svn path=/trunk/gtk-sharp/; revision=35479
22 lines
645 B
Text
22 lines
645 B
Text
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 = \
|
|
layoutline.o \
|
|
win32dll.o
|
|
|
|
all: pangosharpglue-2.0.dll
|
|
|
|
|
|
%.o: %.c
|
|
$(CC) -c $(CFLAGS) $(PANGO_CFLAGS) -o $@ $^
|
|
|
|
|
|
gtksharpglue-2.0.dll: $(GLUE_OBJS)
|
|
$(DLLWRAP) --output-lib=libpangosharpglue-2.0.a --dllname=pangosharpglue-2.0.dll --driver-name=gcc --output-def=pangosharpglue-2.0.def $(GLUE_OBJS) $(PANGO_LIBS)
|
|
|
|
|
|
clean:
|
|
rm -f pangosharpglue-2.0.dll *.o libpangosharpglue-2.0.a
|