view pidgin/plugins/win32/transparency/Makefile.mingw @ 15377:0e17470b47c2

Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
author Daniel Atallah <daniel.atallah@gmail.com>
date Sun, 21 Jan 2007 21:55:07 +0000
parents 5fe8042783c1
children ded8da3de5f8
line wrap: on
line source

#
# Makefile.mingw
#
# Description: Makefile for win32trans plugin.
#

GAIM_TOP := ../../../..
include $(GAIM_TOP)/libpurple/win32/global.mak

TARGET = win2ktrans
DEFINES += -D_WIN32_WINNT=0x0500

##
## INCLUDE PATHS
##
INCLUDE_PATHS +=	-I. \
			-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)/lib/glib-2.0/include \
			-I$(GTK_TOP)/lib/gtk-2.0/include \
			-I$(GAIM_LIB_TOP) \
			-I$(GAIM_LIB_TOP)/win32 \
			-I$(GAIM_GTK_TOP) \
			-I$(GAIM_GTK_TOP)/win32 \
			-I$(GAIM_TOP)

LIB_PATHS =		-L$(GTK_TOP)/lib \
			-L$(GAIM_LIB_TOP) \
			-L$(GAIM_GTK_TOP)

##
##  SOURCES, OBJECTS
##
C_SRC =			win2ktrans.c

OBJECTS = $(C_SRC:%.c=%.o)

##
## LIBRARIES
##
LIBS =			-lgtk-win32-2.0 \
			-lglib-2.0 \
			-lgdk-win32-2.0 \
			-lgmodule-2.0 \
			-lgobject-2.0 \
			-lintl \
			-lpidgin \
			-lpurple

include $(GAIM_COMMON_RULES)

##
## TARGET DEFINITIONS
##
.PHONY: all install clean

all: $(TARGET).dll

install: all $(GAIM_INSTALL_PLUGINS_DIR)
	cp $(TARGET).dll $(GAIM_INSTALL_PLUGINS_DIR)

$(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(GAIM_GTKGAIM_DLL).a $(OBJECTS)
	$(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll

##
## CLEAN RULES
##
clean:
	rm -rf $(OBJECTS)
	rm -rf $(TARGET).dll

include $(GAIM_COMMON_TARGETS)