2004-06-07 18:59:16 +00:00
|
|
|
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
|
|
|
|
|
2004-12-07 19:03:55 +00:00
|
|
|
all: pangosharpglue-2.dll
|
2004-06-07 18:59:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
%.o: %.c
|
|
|
|
$(CC) -c $(CFLAGS) $(PANGO_CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
|
2004-12-07 19:03:55 +00:00
|
|
|
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)
|
2004-06-07 18:59:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2004-12-07 19:03:55 +00:00
|
|
|
rm -f pangosharpglue-2.dll *.o libpangosharpglue-2.a
|