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 \
|
2003-09-06 18:11:13 +00:00
|
|
|
clipboard.o \
|
|
|
|
colorseldialog.o \
|
|
|
|
combo.o \
|
|
|
|
dialog.o \
|
|
|
|
error.o \
|
|
|
|
event.o \
|
|
|
|
fileselection.o \
|
|
|
|
layout.o \
|
|
|
|
list.o \
|
2003-11-04 23:20:15 +00:00
|
|
|
nodestore.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
object.o \
|
|
|
|
paned.o \
|
|
|
|
selection.o \
|
2003-12-26 15:14:07 +00:00
|
|
|
selectiondata.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
slist.o \
|
|
|
|
style.o \
|
2004-01-29 21:20:59 +00:00
|
|
|
time_t.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
type.o \
|
|
|
|
value.o \
|
2004-01-14 18:05:50 +00:00
|
|
|
valuearray.o \
|
2003-09-06 18:11:13 +00:00
|
|
|
widget.o \
|
2003-09-07 10:56:40 +00:00
|
|
|
gladexml.o \
|
2002-10-27 02:30:51 +00:00
|
|
|
win32dll.o
|
|
|
|
|
|
|
|
all: gtksharpglue.dll
|
|
|
|
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) -c $(CFLAGS) $(GTK_CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
|
|
|
|
gtksharpglue.dll: $(GLUE_OBJS)
|
|
|
|
$(DLLWRAP) --output-lib=libgtksharpglue.a --dllname=gtksharpglue.dll --driver-name=gcc --output-def=gtksharpglue.def $(GLUE_OBJS) $(GTK_LIBS)
|
|
|
|
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f gtksharpglue.dll *.o libgtksharpglue.a
|