Mercurial > pidgin
view libgaim/Makefile.mingw @ 14238:f189327b9968
[gaim-migrate @ 16920]
Cancelable DNS queries. This eliminates crashes when you cancel
a connection attempt while we're waiting for a response from a
DNS server. I tested with all three methods, so they SHOULD be ok.
Let me know if you have problems. I should be around today, starting
in maybe an hour.
I feel like it's kinda dumb for us to have three implementations for
the same thing. I want to get rid of the child-process method
(currently used in Unix and OS-X) and use the thread-based method
(currently used in Windows) everywhere. Then we can get rid of the
third method, too (currently used when !Unix and !OS-X and !Windows)
Any objections?
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 20 Aug 2006 22:24:13 +0000 |
parents | a7590884324d |
children | c54ea2572de9 |
line wrap: on
line source
# # Makefile.mingw # # Description: Makefile for win32 (mingw) version of Gaim # # # PATHS # INCLUDE_DIR := . GTK_TOP := ../../win32-dev/gtk_2_0 GAIM_TOP := .. GAIM_SRC := . GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir LIBXML2_DIR := ../../win32-dev/libxml2 ## ## VARIABLE DEFINITIONS ## TARGET = libgaim # Compiler and Linker Options CFLAGS = DEFINES = ## ## INCLUDE MAKEFILES ## include $(GAIM_TOP)/libgaim/win32/global.mak ## ## INCLUDE PATHS ## INCLUDE_PATHS = \ -I$(INCLUDE_DIR) \ -I$(INCLUDE_DIR)/win32 \ -I$(GAIM_TOP) \ -I$(GTK_TOP)/include \ -I$(GTK_TOP)/include/glib-2.0 \ -I$(GTK_TOP)/lib/glib-2.0/include \ -I$(LIBXML2_DIR)/include LIB_PATHS = -L$(GTK_TOP)/lib \ -L$(GAIM_SRC) \ -L$(LIBXML2_DIR)/lib ## ## SOURCES, OBJECTS ## C_SRC = \ account.c \ accountopt.c \ blist.c \ buddyicon.c \ cipher.c \ cmds.c \ connection.c \ conversation.c \ core.c \ debug.c \ dnsquery.c \ dnssrv.c \ eventloop.c \ ft.c \ circbuffer.c \ idle.c \ imgstore.c \ log.c \ mime.c \ network.c \ notify.c \ ntlm.c \ plugin.c \ pluginpref.c \ pounce.c \ prefs.c \ privacy.c \ proxy.c \ prpl.c \ request.c \ roomlist.c \ savedstatuses.c \ server.c \ signals.c \ sound.c \ sslconn.c \ status.c \ stringref.c \ stun.c \ upnp.c \ util.c \ value.c \ xmlnode.c \ whiteboard.c \ win32/libc_interface.c \ win32/win32dep.c OBJECTS = $(C_SRC:%.c=%.o) ## ## LIBRARIES ## LIBS = \ -lglib-2.0 \ -lgthread-2.0 \ -lgobject-2.0 \ -lgmodule-2.0 \ -lintl \ -lws2_32 \ -liberty \ -lxml2 ## ## RULES ## # How to make a C file %.o: %.c $(CC) $(CFLAGS) $(INCLUDE_PATHS) $(DEFINES) -c $< -o $@ ## ## TARGET DEFINITIONS ## .PHONY: all clean include_path all: $(TARGET).dll $(MAKE) -C protocols -f Makefile.mingw install: all $(MAKE) -C protocols -f Makefile.mingw install cp $(GAIM_SRC)/$(TARGET).dll $(GAIM_INSTALL_DIR) # # BUILD DLL # $(TARGET).dll.a $(TARGET).dll: $(TARGET).dll.a $(TARGET).dll: $(OBJECTS) $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--out-implib,$(TARGET).dll.a -o $(TARGET).dll ## ## CLEAN RULES ## clean: rm -rf *.o ./win32/*.o rm -rf $(TARGET).dll rm -rf $(TARGET).dll.a $(MAKE) -C protocols -f Makefile.mingw clean