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 \
|
|
|
|
fileselection.o \
|
|
|
|
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
|
|
|
|
|
|
|
|
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
|