Mercurial > pidgin > pidgin
view libpurple/plugins/Makefile.mingw @ 38340:aaa5e467901f
Merged in CMaiku/pidgin (pull request #194)
Port to GChecksum
Approved-by: Gary Kramlich <grim@reaperworld.com>
Approved-by: Eion Robb <eionrobb@gmail.com>
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Sun, 04 Jun 2017 18:13:19 +0000 |
parents | 225eacd997af |
children |
line wrap: on
line source
# # Makefile.mingw # # Description: Makefile for win32 (mingw) version of libpurple Plugins # PIDGIN_TREE_TOP := ../.. include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak KEYRING_PLUGIN := ./keyrings .SUFFIXES: .SUFFIXES: .c .dll ## ## INCLUDE PATHS ## INCLUDE_PATHS += \ -I$(GTK_TOP)/include \ -I$(GTK_TOP)/include/glib-2.0 \ -I$(GTK_TOP)/lib/glib-2.0/include \ -I$(PIDGIN_TREE_TOP) \ -I$(PURPLE_TOP) \ -I$(PURPLE_TOP)/win32 LIB_PATHS += -L$(GTK_TOP)/lib \ -L$(PURPLE_TOP) ## ## LIBRARIES ## LIBS = \ -lglib-2.0 \ -lgobject-2.0 \ -lgmodule-2.0 \ -lintl \ -lws2_32 \ -lpurple ## ## TARGET DEFINITIONS ## .PHONY: all clean plugins install all: $(PURPLE_DLL).a plugins $(MAKE_at) $(MAKE) -C $(KEYRING_PLUGIN) -f $(MINGW_MAKEFILE) install: all $(PURPLE_INSTALL_PLUGINS_DIR) $(MAKE_at) $(MAKE) -C $(KEYRING_PLUGIN) -f $(MINGW_MAKEFILE) install cp *.dll $(PURPLE_INSTALL_PLUGINS_DIR) %.dll: %.c $(PURPLE_CONFIG_H) $(PURPLE_VERSION_H) $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ plugins: \ autoaccept.dll \ buddynote.dll \ idle.dll \ joinpart.dll \ log_reader.dll \ offlinemsg.dll \ psychic.dll \ statenotify.dll ## ## CLEAN RULES ## clean: rm -f *.o *.dll $(MAKE_at) $(MAKE) -C $(KEYRING_PLUGIN) -f $(MINGW_MAKEFILE) clean include $(PIDGIN_COMMON_TARGETS)