libpurple/protocols/jabber/Makefile.mingw

Mon, 10 Feb 2014 16:22:00 +0530

author
Ankit Vani <a@nevitus.org>
date
Mon, 10 Feb 2014 16:22:00 +0530
branch
soc.2013.gobjectification.plugins
changeset 37108
73c5fb6d78b3
parent 36799
8bc56580f70e
child 37154
ff7a5660dd4f
permissions
-rw-r--r--

Merged default branch

3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
1 #
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
2 # Makefile.mingw
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
3 #
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
4 # Description: Makefile for win32 (mingw) version of libjabber
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
5 #
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
6
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
7 PIDGIN_TREE_TOP := ../../..
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
9
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
10 TARGET = libjabber
14617
7e4c1a72656a [gaim-migrate @ 17278]
Daniel Atallah <datallah@pidgin.im>
parents: 14377
diff changeset
11 TYPE = PLUGIN
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
12
14294
04b7598fdbad [gaim-migrate @ 16914]
Daniel Atallah <datallah@pidgin.im>
parents: 14254
diff changeset
13 # Static or Plugin...
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
14 ifeq ($(TYPE),STATIC)
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
15 DEFINES += -DSTATIC
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
16 DLL_INSTALL_DIR = $(PURPLE_INSTALL_DIR)
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
17 else
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
18 ifeq ($(TYPE),PLUGIN)
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
19 DLL_INSTALL_DIR = $(PURPLE_INSTALL_PLUGINS_DIR)
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
20 endif
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
21 endif
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
22
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
23 ##
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
24 ## INCLUDE PATHS
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
25 ##
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents: 14294
diff changeset
26 INCLUDE_PATHS += -I. \
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents: 14294
diff changeset
27 -I./win32 \
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
28 -I$(GTK_TOP)/include \
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
29 -I$(GTK_TOP)/include/glib-2.0 \
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
30 -I$(GTK_TOP)/lib/glib-2.0/include \
29735
f36754cb9828 Win32 build updates
Daniel Atallah <datallah@pidgin.im>
parents: 29093
diff changeset
31 -I$(LIBXML2_TOP)/include/libxml2 \
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
32 -I$(PURPLE_TOP) \
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
33 -I$(PURPLE_TOP)/win32 \
33948
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
34 -I$(PIDGIN_TREE_TOP) \
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
35 $(VV_INCLUDE_PATHS)
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
36
16393
d89faf3f5282 Allow include and lib paths to be overridden from local.ent
Daniel Atallah <datallah@pidgin.im>
parents: 16309
diff changeset
37 LIB_PATHS += -L$(GTK_TOP)/lib \
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents: 14294
diff changeset
38 -L$(LIBXML2_TOP)/lib \
16309
347c01a71e7c Fix win32 build for Jabber/XMPP split.
Daniel Atallah <datallah@pidgin.im>
parents: 16100
diff changeset
39 -L$(PURPLE_TOP) \
33948
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
40 -L. \
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
41 $(VV_LIB_PATHS)
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
42
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
43 ##
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
44 ## SOURCES, OBJECTS
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
45 ##
33948
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
46 ifeq "$(USE_VV)" "1"
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
47 VV_SRC = google/google_p2p.c
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
48 else
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
49 VV_SRC =
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
50 endif
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
51
19898
218e4bb04853 Fix mingw build of xmpp prpl
Daniel Atallah <datallah@pidgin.im>
parents: 17769
diff changeset
52 C_SRC = \
218e4bb04853 Fix mingw build of xmpp prpl
Daniel Atallah <datallah@pidgin.im>
parents: 17769
diff changeset
53 adhoccommands.c \
218e4bb04853 Fix mingw build of xmpp prpl
Daniel Atallah <datallah@pidgin.im>
parents: 17769
diff changeset
54 auth.c \
29093
97f444a10e7d Add all those cool new files to Makefile.mingw
Paul Aurich <darkrain42@pidgin.im>
parents: 26968
diff changeset
55 auth_cyrus.c \
97f444a10e7d Add all those cool new files to Makefile.mingw
Paul Aurich <darkrain42@pidgin.im>
parents: 26968
diff changeset
56 auth_digest_md5.c \
97f444a10e7d Add all those cool new files to Makefile.mingw
Paul Aurich <darkrain42@pidgin.im>
parents: 26968
diff changeset
57 auth_plain.c \
97f444a10e7d Add all those cool new files to Makefile.mingw
Paul Aurich <darkrain42@pidgin.im>
parents: 26968
diff changeset
58 auth_scram.c \
7017
282532b6dd16 [gaim-migrate @ 7580]
Nathan Walp <nwalp@pidgin.im>
parents: 5932
diff changeset
59 buddy.c \
26904
7edb4605a2b1 Fix Makefile.mingw
Paul Aurich <darkrain42@pidgin.im>
parents: 26658
diff changeset
60 bosh.c \
19898
218e4bb04853 Fix mingw build of xmpp prpl
Daniel Atallah <datallah@pidgin.im>
parents: 17769
diff changeset
61 caps.c \
7017
282532b6dd16 [gaim-migrate @ 7580]
Nathan Walp <nwalp@pidgin.im>
parents: 5932
diff changeset
62 chat.c \
23626
e21afec2f485 Custom smileys for XMPP according to XEP 0231. Refs #5627.
Marcus Lundblad <malu@pidgin.im>
parents: 22708
diff changeset
63 data.c \
8313
8a63a164419c [gaim-migrate @ 9037]
Nathan Walp <nwalp@pidgin.im>
parents: 7923
diff changeset
64 disco.c \
36799
8bc56580f70e Updated the protocol makefiles for windows
Ankit Vani <a@nevitus.org>
parents: 33948
diff changeset
65 facebook.c \
29913
58f5122fbcd3 First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <malu@pidgin.im>
parents: 29735
diff changeset
66 google/gmail.c \
58f5122fbcd3 First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <malu@pidgin.im>
parents: 29735
diff changeset
67 google/google.c \
58f5122fbcd3 First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <malu@pidgin.im>
parents: 29735
diff changeset
68 google/google_presence.c \
58f5122fbcd3 First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <malu@pidgin.im>
parents: 29735
diff changeset
69 google/google_roster.c \
58f5122fbcd3 First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <malu@pidgin.im>
parents: 29735
diff changeset
70 google/google_session.c \
58f5122fbcd3 First shot at refactoring the Google-specific XMPP code.
Marcus Lundblad <malu@pidgin.im>
parents: 29735
diff changeset
71 google/jingleinfo.c \
30775
39d752af05d1 refactor out the relay credential fetching code to its own module
Marcus Lundblad <malu@pidgin.im>
parents: 29913
diff changeset
72 google/relay.c \
36799
8bc56580f70e Updated the protocol makefiles for windows
Ankit Vani <a@nevitus.org>
parents: 33948
diff changeset
73 gtalk.c \
24372
830701cec96f Implements file transfers using in-band bytestreams for XMPP
Marcus Lundblad <malu@pidgin.im>
parents: 23936
diff changeset
74 ibb.c \
7017
282532b6dd16 [gaim-migrate @ 7580]
Nathan Walp <nwalp@pidgin.im>
parents: 5932
diff changeset
75 iq.c \
282532b6dd16 [gaim-migrate @ 7580]
Nathan Walp <nwalp@pidgin.im>
parents: 5932
diff changeset
76 jabber.c \
26143
673b6665624d Restructure Jingle code to more easily support multiple application types.
Michael Ruprecht <maiku@pidgin.im>
parents: 23936
diff changeset
77 jingle/jingle.c \
673b6665624d Restructure Jingle code to more easily support multiple application types.
Michael Ruprecht <maiku@pidgin.im>
parents: 23936
diff changeset
78 jingle/content.c \
26166
ad7d09fef256 Added a Jingle ice-udp transmitter.
Michael Ruprecht <maiku@pidgin.im>
parents: 26144
diff changeset
79 jingle/iceudp.c \
26143
673b6665624d Restructure Jingle code to more easily support multiple application types.
Michael Ruprecht <maiku@pidgin.im>
parents: 23936
diff changeset
80 jingle/rawudp.c \
673b6665624d Restructure Jingle code to more easily support multiple application types.
Michael Ruprecht <maiku@pidgin.im>
parents: 23936
diff changeset
81 jingle/rtp.c \
673b6665624d Restructure Jingle code to more easily support multiple application types.
Michael Ruprecht <maiku@pidgin.im>
parents: 23936
diff changeset
82 jingle/session.c \
673b6665624d Restructure Jingle code to more easily support multiple application types.
Michael Ruprecht <maiku@pidgin.im>
parents: 23936
diff changeset
83 jingle/transport.c \
5932
989a2714d78e [gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents: 3718
diff changeset
84 jutil.c \
7017
282532b6dd16 [gaim-migrate @ 7580]
Nathan Walp <nwalp@pidgin.im>
parents: 5932
diff changeset
85 message.c \
7170
93a12931a1fd [gaim-migrate @ 7737]
Nathan Walp <nwalp@pidgin.im>
parents: 7137
diff changeset
86 oob.c \
7017
282532b6dd16 [gaim-migrate @ 7580]
Nathan Walp <nwalp@pidgin.im>
parents: 5932
diff changeset
87 parser.c \
19898
218e4bb04853 Fix mingw build of xmpp prpl
Daniel Atallah <datallah@pidgin.im>
parents: 17769
diff changeset
88 pep.c \
17769
69d98a4da006 applied patch for supporting XEP-0199: XMPP Ping
Andreas Monitzer <am@adiumx.com>
parents: 16652
diff changeset
89 ping.c \
7017
282532b6dd16 [gaim-migrate @ 7580]
Nathan Walp <nwalp@pidgin.im>
parents: 5932
diff changeset
90 presence.c \
282532b6dd16 [gaim-migrate @ 7580]
Nathan Walp <nwalp@pidgin.im>
parents: 5932
diff changeset
91 roster.c \
7395
e5595e8e13e4 [gaim-migrate @ 7990]
Nathan Walp <nwalp@pidgin.im>
parents: 7170
diff changeset
92 si.c \
26968
0527c5cc906b Build error/warning fixes. Still not tested because libxmpp.dll won't load.
Paul Aurich <darkrain42@pidgin.im>
parents: 26904
diff changeset
93 useravatar.c \
19898
218e4bb04853 Fix mingw build of xmpp prpl
Daniel Atallah <datallah@pidgin.im>
parents: 17769
diff changeset
94 usermood.c \
218e4bb04853 Fix mingw build of xmpp prpl
Daniel Atallah <datallah@pidgin.im>
parents: 17769
diff changeset
95 usernick.c \
218e4bb04853 Fix mingw build of xmpp prpl
Daniel Atallah <datallah@pidgin.im>
parents: 17769
diff changeset
96 usertune.c \
7923
fd43ed3cda18 [gaim-migrate @ 8592]
Nathan Walp <nwalp@pidgin.im>
parents: 7395
diff changeset
97 xdata.c \
36799
8bc56580f70e Updated the protocol makefiles for windows
Ankit Vani <a@nevitus.org>
parents: 33948
diff changeset
98 xmpp.c \
33948
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
99 win32/posix.uname.c \
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
100 $(VV_SRC)
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
101
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
102 OBJECTS = $(C_SRC:%.c=%.o)
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
103
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
104 ##
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
105 ## LIBRARIES
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
106 ##
13810
e63ac6c6ed1d [gaim-migrate @ 16234]
Daniel Atallah <datallah@pidgin.im>
parents: 8313
diff changeset
107 LIBS = \
5932
989a2714d78e [gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents: 3718
diff changeset
108 -lglib-2.0 \
26221
bc5d5d3fe4de Make it compile in Windows with the equivalent of --disable-vv.
Michael Ruprecht <maiku@pidgin.im>
parents: 26166
diff changeset
109 -lgobject-2.0 \
33948
b6c9e5dd95d1 VV: win32 support. No runtimes dependencies in dep-bundle yet. Refs #11075
Tomasz Wasilczyk <tomkiewicz@cpw.pidgin.im>
parents: 33600
diff changeset
110 $(VV_LIBS) \
13810
e63ac6c6ed1d [gaim-migrate @ 16234]
Daniel Atallah <datallah@pidgin.im>
parents: 8313
diff changeset
111 -lxml2 \
5932
989a2714d78e [gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents: 3718
diff changeset
112 -lws2_32 \
989a2714d78e [gaim-migrate @ 6372]
Herman Bloggs <herman@bluedigits.com>
parents: 3718
diff changeset
113 -lintl \
15438
c3e93cd038c5 Update win32 build for libpurple and pidgin renames. This compiles, but is far from complete.
Daniel Atallah <datallah@pidgin.im>
parents: 15435
diff changeset
114 -lpurple
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
115
20010
56e1d8b99853 Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <datallah@pidgin.im>
parents: 19898
diff changeset
116 ifeq ($(CYRUS_SASL), 1)
56e1d8b99853 Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <datallah@pidgin.im>
parents: 19898
diff changeset
117 INCLUDE_PATHS += -I$(CYRUS_SASL_TOP)/include
22708
851e843a81a1 per daniel, this is the correct fix to cross compiling with gcc 4.x
Gary Kramlich <grim@reaperworld.com>
parents: 22643
diff changeset
118 LIB_PATHS += -L$(CYRUS_SASL_TOP)/bin
20010
56e1d8b99853 Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <datallah@pidgin.im>
parents: 19898
diff changeset
119 LIBS += -llibsasl
56e1d8b99853 Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <datallah@pidgin.im>
parents: 19898
diff changeset
120 endif
56e1d8b99853 Sneakiness to make it easy to compile xmpp on win32 with Cyrus SASL support. This isn't ready for popular consumption yet, but if anyone wants the sasl binary that I compiled against MIT Kerberos, let me know.
Daniel Atallah <datallah@pidgin.im>
parents: 19898
diff changeset
121
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
122 include $(PIDGIN_COMMON_RULES)
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
123
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
124 ##
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
125 ## TARGET DEFINITIONS
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
126 ##
14638
b0fa76dac93f [gaim-migrate @ 17300]
Daniel Atallah <datallah@pidgin.im>
parents: 14617
diff changeset
127 .PHONY: all install clean
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
128
36799
8bc56580f70e Updated the protocol makefiles for windows
Ankit Vani <a@nevitus.org>
parents: 33948
diff changeset
129 all: $(TARGET).dll
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
130
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents: 14294
diff changeset
131 install: all $(DLL_INSTALL_DIR)
36799
8bc56580f70e Updated the protocol makefiles for windows
Ankit Vani <a@nevitus.org>
parents: 33948
diff changeset
132 cp $(TARGET).dll $(DLL_INSTALL_DIR)
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
133
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
134 $(OBJECTS): $(PURPLE_CONFIG_H)
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
135
36799
8bc56580f70e Updated the protocol makefiles for windows
Ankit Vani <a@nevitus.org>
parents: 33948
diff changeset
136 $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS)
8bc56580f70e Updated the protocol makefiles for windows
Ankit Vani <a@nevitus.org>
parents: 33948
diff changeset
137 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
138
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
139 ##
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
140 ## CLEAN RULES
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
141 ##
14377
c0440e16bacd [gaim-migrate @ 17008]
Daniel Atallah <datallah@pidgin.im>
parents: 14294
diff changeset
142 clean:
36799
8bc56580f70e Updated the protocol makefiles for windows
Ankit Vani <a@nevitus.org>
parents: 33948
diff changeset
143 rm -f $(OBJECTS) $(TARGET).dll
3630
caa952062dc2 [gaim-migrate @ 3753]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
144
16100
a0ab70986c10 This should get all the Win32 Makefiles in line with
Kevin Stange <kstange@pidgin.im>
parents: 15438
diff changeset
145 include $(PIDGIN_COMMON_TARGETS)

mercurial