grim/guifications2

Doing this so I can fix our tarball
org.guifications.gf2 gf_2_13beta7
2007-05-01, John Bailey
d9f3834d8f71
Doing this so I can fix our tarball
#
# Makefile.mingw
#
# Description: Makefile for guifications plugin.
#
#
# PATHS
#
GF_TOP := ..
-include $(GF_TOP)/local.mak
PIDGIN_TREE_TOP ?= ../../../..
include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
GF_VERSION := $(shell cat ${GF_TOP}/VERSION)
##
## VARIABLE DEFINITIONS
##
GF = guifications
# Compiler Options
CFLAGS =
DEFINES = -DGF_VERSION=\"$(GF_VERSION)\" -DGETTEXT_PACKAGE=\"$(GF)\" -DHAVE_CONFIG_H
LDFLAGS =
#-mwindows
##
## INCLUDE PATHS
##
INCLUDE_PATHS += -I. \
-I$(PIDGIN_TREE_TOP) \
-I$(PURPLE_TOP) \
-I$(PURPLE_TOP)/win32 \
-I$(PIDGIN_TOP) \
-I$(PIDGIN_TOP)/win32 \
-I$(GTK_TOP)/include \
-I$(GTK_TOP)/include/gtk-2.0 \
-I$(GTK_TOP)/include/glib-2.0 \
-I$(GTK_TOP)/include/pango-1.0 \
-I$(GTK_TOP)/include/atk-1.0 \
-I$(GTK_TOP)/include/freetype2 \
-I$(GTK_TOP)/lib/glib-2.0/include \
-I$(GTK_TOP)/lib/gtk-2.0/include \
-I$(PIDGIN_TREE_TOP)
LIB_PATHS = \
-L$(PURPLE_TOP) \
-L$(PIDGIN_TOP) \
-L$(GTK_TOP)/lib
##
## SOURCES, OBJECTS
##
GF_SRC = \
gf_action.c \
gf_blist.c \
gf_display.c \
gf_event.c \
gf_event_info.c \
gf_file.c \
gf_gtk_utils.c \
gf_item.c \
gf_item_icon.c \
gf_item_image.c \
gf_item_offset.c \
gf_item_text.c \
gf_menu.c \
gf_notification.c \
gf_preferences.c \
gf_stock.c \
gf_theme.c \
gf_theme_editor.c \
gf_theme_info.c \
gf_theme_ops.c \
gf_utils.c \
guifications.c
GF_OBJ = $(GF_SRC:%.c=%.o)
##
## LIBRARIES
##
PLUGIN_LIBS = \
-lgtk-win32-2.0 \
-lglib-2.0 \
-lpango-1.0 \
-lpangoft2-1.0 \
-lgdk-win32-2.0 \
-lgdk_pixbuf-2.0 \
-lgobject-2.0 \
-lws2_32 \
-lintl \
-lpurple \
-lpidgin
include $(PIDGIN_COMMON_RULES)
##
## TARGET DEFINITIONS
##
.PHONY: all clean install
all: $(GF).dll
install: all $(PIDGIN_INSTALL_PLUGINS_DIR)
cp $(GF).dll $(PIDGIN_INSTALL_PLUGINS_DIR)
##
## BUILD DLL
##
$(GF).dll: $(PIDGIN_DLL).a $(GF_OBJ)
$(CC) -shared $(GF_OBJ) $(LIB_PATHS) $(PLUGIN_LIBS) $(DLL_LD_FLAGS) -o $(GF).dll
##
## CLEAN RULES
##
clean:
rm -f *.o
rm -f $(GF).dll