2003-09-07 10:56:40 +00:00
|
|
|
GTK_CFLAGS=`pkg-config --cflags gtk+-win32-2.0 libglade-2.0`
|
|
|
|
GTK_LIBS=`pkg-config --libs gtk+-win32-2.0 libglade-2.0`
|
2003-09-07 12:01:21 +00:00
|
|
|
CC=gcc -mno-cygwin -mms-bitfields
|
|
|
|
DLLWRAP=dllwrap -mno-cygwin -mms-bitfields --target i386-mingw32 --export-all-symbols
|
2002-10-27 02:30:51 +00:00
|
|
|
|
|
|
|
GLUE_OBJS = \
|
2003-09-06 18:11:13 +00:00
|
|
|
adjustment.o \
|
2003-10-30 18:19:59 +00:00
|
|
|
button.o \
|
2004-12-17 20:32:33 +00:00
|
|
|
cellrenderer.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
clipboard.o \
|
|
|
|
colorseldialog.o \
|
|
|
|
combo.o \
|
2004-05-08 02:14:19 +00:00
|
|
|
container.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
dialog.o \
|
|
|
|
fileselection.o \
|
2004-08-26 19:10:48 +00:00
|
|
|
inputdialog.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
layout.o \
|
2003-11-04 23:20:15 +00:00
|
|
|
nodestore.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
object.o \
|
|
|
|
paned.o \
|
2003-12-26 15:14:07 +00:00
|
|
|
selectiondata.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
style.o \
|
|
|
|
widget.o \
|
2002-10-27 02:30:51 +00:00
|
|
|
win32dll.o
|
|
|
|
|
2004-12-07 19:03:55 +00:00
|
|
|
all: gtksharpglue-2.dll
|
2002-10-27 02:30:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) -c $(CFLAGS) $(GTK_CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
|
2004-12-07 19:03:55 +00:00
|
|
|
gtksharpglue-2.dll: $(GLUE_OBJS)
|
|
|
|
$(DLLWRAP) --output-lib=libgtksharpglue-2.a --dllname=gtksharpglue-2.dll --driver-name=gcc --output-def=gtksharpglue-2.def $(GLUE_OBJS) $(GTK_LIBS)
|
2002-10-27 02:30:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2004-12-07 19:03:55 +00:00
|
|
|
rm -f gtksharpglue-2.dll *.o libgtksharpglue-2.a
|