Mercurial > pidgin
view gtk/plugins/docklet/Makefile.mingw @ 14576:5d03b309b482
[gaim-migrate @ 17300]
Fix mingw makefile .PHONY targets.
Fix gtkwin32dep.h missing includes.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 18 Sep 2006 01:13:07 +0000 |
parents | 8793fc8f7064 |
children |
line wrap: on
line source
# # Makefile.mingw # # Description: Makefile for docklet plugin. # GAIM_TOP := ../../.. include $(GAIM_TOP)/libgaim/win32/global.mak TARGET = docklet ## ## 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 = docklet.c \ docklet-win32.c \ MinimizeToTray.c OBJECTS = $(C_SRC:%.c=%.o) ## ## LIBRARIES ## LIBS = -lgtk-win32-2.0 \ -lglib-2.0 \ -lgdk-win32-2.0 \ -lgobject-2.0 \ -lintl \ -lgaim \ -lgtkgaim 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) $(OBJECTS): $(GAIM_CONFIG_H) $(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)