Mercurial > pidgin.yaz
comparison libpurple/plugins/ssl/Makefile.mingw @ 16039:ded8da3de5f8
This should get all the Win32 Makefiles in line with
the names Pidgin and Purple. I tried to separate PIDGIN
and PURPLE values as much as a could to make it easier to
divide them later if that's ever desired.
author | Kevin Stange <kevin@simguy.net> |
---|---|
date | Tue, 10 Apr 2007 06:19:29 +0000 |
parents | 0e17470b47c2 |
children | 1843c0180fbe |
comparison
equal
deleted
inserted
replaced
16037:8f62c4177e0c | 16039:ded8da3de5f8 |
---|---|
2 # Makefile.mingw | 2 # Makefile.mingw |
3 # | 3 # |
4 # Description: Makefile for ssl plugin. | 4 # Description: Makefile for ssl plugin. |
5 # | 5 # |
6 | 6 |
7 GAIM_TOP := ../../.. | 7 PIDGIN_TREE_TOP := ../../.. |
8 include $(GAIM_TOP)/libpurple/win32/global.mak | 8 include $(PIDGIN_TREE_TOP)/libpurple/win32/global.mak |
9 | 9 |
10 ## | 10 ## |
11 ## VARIABLE DEFINITIONS | 11 ## VARIABLE DEFINITIONS |
12 ## | 12 ## |
13 TARGET = ssl | 13 TARGET = ssl |
28 ## | 28 ## |
29 INCLUDE_PATHS += -I. \ | 29 INCLUDE_PATHS += -I. \ |
30 -I$(GTK_TOP)/include \ | 30 -I$(GTK_TOP)/include \ |
31 -I$(GTK_TOP)/include/glib-2.0 \ | 31 -I$(GTK_TOP)/include/glib-2.0 \ |
32 -I$(GTK_TOP)/lib/glib-2.0/include \ | 32 -I$(GTK_TOP)/lib/glib-2.0/include \ |
33 -I$(GAIM_LIB_TOP) \ | 33 -I$(PURPLE_TOP) \ |
34 -I$(GAIM_LIB_TOP)/win32 \ | 34 -I$(PURPLE_TOP)/win32 \ |
35 -I$(GAIM_TOP) \ | 35 -I$(PIDGIN_TREE_TOP) \ |
36 -I$(NSS_TOP)/include \ | 36 -I$(NSS_TOP)/include \ |
37 -I$(NSPR_TOP)/include | 37 -I$(NSPR_TOP)/include |
38 | 38 |
39 LIB_PATHS = -L$(GTK_TOP)/lib \ | 39 LIB_PATHS = -L$(GTK_TOP)/lib \ |
40 -L$(GAIM_LIB_TOP) \ | 40 -L$(PURPLE_TOP) \ |
41 -L$(NSS_TOP)/lib \ | 41 -L$(NSS_TOP)/lib \ |
42 -L$(NSPR_TOP)/lib | 42 -L$(NSPR_TOP)/lib |
43 | 43 |
44 ## | 44 ## |
45 ## SOURCES, OBJECTS | 45 ## SOURCES, OBJECTS |
59 -lpurple \ | 59 -lpurple \ |
60 -lnss3 \ | 60 -lnss3 \ |
61 -lnspr4 \ | 61 -lnspr4 \ |
62 -lssl3 | 62 -lssl3 |
63 | 63 |
64 include $(GAIM_COMMON_RULES) | 64 include $(PIDGIN_COMMON_RULES) |
65 | 65 |
66 ## | 66 ## |
67 ## TARGET DEFINITIONS | 67 ## TARGET DEFINITIONS |
68 ## | 68 ## |
69 .PHONY: all install clean | 69 .PHONY: all install clean |
70 | 70 |
71 all: $(TARGET).dll $(TARGET_NSS).dll | 71 all: $(TARGET).dll $(TARGET_NSS).dll |
72 | 72 |
73 install: all $(GAIM_INSTALL_PLUGINS_DIR) $(GAIM_INSTALL_DIR) | 73 install: all $(PURPLE_INSTALL_PLUGINS_DIR) $(PURPLE_INSTALL_DIR) |
74 cp $(TARGET).dll $(GAIM_INSTALL_PLUGINS_DIR) | 74 cp $(TARGET).dll $(PURPLE_INSTALL_PLUGINS_DIR) |
75 cp $(TARGET_NSS).dll $(GAIM_INSTALL_PLUGINS_DIR) | 75 cp $(TARGET_NSS).dll $(PURPLE_INSTALL_PLUGINS_DIR) |
76 cp $(NEEDED_DLLS) $(GAIM_INSTALL_DIR) | 76 cp $(NEEDED_DLLS) $(PURPLE_INSTALL_DIR) |
77 | 77 |
78 $(OBJECTS) $(OBJECTS_NSS): $(GAIM_CONFIG_H) | 78 $(OBJECTS) $(OBJECTS_NSS): $(PURPLE_CONFIG_H) |
79 | 79 |
80 ## | 80 ## |
81 ## BUILD DLL | 81 ## BUILD DLL |
82 ## | 82 ## |
83 $(TARGET).dll: $(GAIM_LIBGAIM_DLL).a $(OBJECTS) | 83 $(TARGET).dll: $(PURPLE_DLL).a $(OBJECTS) |
84 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll | 84 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET).dll |
85 | 85 |
86 $(TARGET_NSS).dll: $(GAIM_LIBGAIM_DLL) $(OBJECTS_NSS) | 86 $(TARGET_NSS).dll: $(PURPLE_DLL) $(OBJECTS_NSS) |
87 $(CC) -shared $(OBJECTS_NSS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET_NSS).dll | 87 $(CC) -shared $(OBJECTS_NSS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $(TARGET_NSS).dll |
88 | 88 |
89 ## | 89 ## |
90 ## CLEAN RULES | 90 ## CLEAN RULES |
91 ## | 91 ## |
92 clean: | 92 clean: |
93 rm -f $(OBJECTS) $(OBJECTS_NSS) $(TARGET).dll $(TARGET_NSS).dll | 93 rm -f $(OBJECTS) $(OBJECTS_NSS) $(TARGET).dll $(TARGET_NSS).dll |
94 | 94 |
95 include $(GAIM_COMMON_TARGETS) | 95 include $(PIDGIN_COMMON_TARGETS) |