view libgaim/win32/targets.mak @ 14315:8793fc8f7064

[gaim-migrate @ 17008] Lee Roach revamped the win32 makefiles. This makes me happy, they were in dire need of some loving. This makes life a great deal easier for anyone who wants to build out-of-tree plugins. committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 23 Aug 2006 21:34:43 +0000
parents
children e88aae4f4c40
line wrap: on
line source

#
# targets.mak
#
# This file should be included at the end of all Makefile.mingw
# files for better handling of cross directory dependencies
#

$(GAIM_CONFIG_H): $(GAIM_TOP)/config.h.mingw
	cp $(GAIM_TOP)/config.h.mingw $(GAIM_CONFIG_H)

$(GAIM_LIBGAIM_DLL) $(GAIM_LIBGAIM_DLL).a:
	$(MAKE) -C $(GAIM_LIB_TOP) -f $(GAIM_WIN32_MAKEFILE) libgaim.dll

$(GAIM_GTKGAIM_DLL) $(GAIM_GTKGAIM_DLL).a:
	$(MAKE) -C $(GAIM_GTK_TOP) -f $(GAIM_WIN32_MAKEFILE) gtkgaim.dll

$(GAIM_IDLETRACK_DLL) $(GAIM_IDLETRACK_DLL).a:
	$(MAKE) -C $(GAIM_GTK_IDLETRACK_TOP) -f $(GAIM_WIN32_MAKEFILE) idletrack.dll

$(GAIM_EXE):
	$(MAKE) -C $(GAIM_GTK_TOP) -f $(GAIM_WIN32_MAKEFILE) gaim.exe

$(GAIM_PORTABLE_EXE):
	$(MAKE) -C $(GAIM_GTK_TOP) -f $(GAIM_WIN32_MAKEFILE) gaim-portable.exe

# Installation Directories
$(GAIM_INSTALL_DIR):
	mkdir -p $(GAIM_INSTALL_DIR)

$(GAIM_INSTALL_PERLMOD_DIR):
	mkdir -p $(GAIM_INSTALL_PERLMOD_DIR)

$(GAIM_INSTALL_PLUGINS_DIR):
	mkdir -p $(GAIM_INSTALL_PLUGINS_DIR)

$(GAIM_INSTALL_PIXMAPS_DIR):
	mkdir -p $(GAIM_INSTALL_PIXMAPS_DIR)

$(GAIM_INSTALL_PO_DIR):
	mkdir -p $(GAIM_INSTALL_PO_DIR)

$(GAIM_INSTALL_SOUNDS_DIR):
	mkdir -p $(GAIM_INSTALL_SOUNDS_DIR)