Mercurial > pidgin.yaz
annotate src/protocols/trepia/Makefile.mingw @ 9730:c9ac1976ef01
[gaim-migrate @ 10591]
I shuffled lots of stuff around again.
See plugins/ChangeLog.API for the list of renamed functions.
I'm trying to clean up gtkdialogs.c/.h, so I moved the away stuff
into away.c/.h
I also reduced the minimum buddy list height from 200 pixels to
100 pixels. I just realized that that's also the default height
used when you don't have a prefs.xml, which is bad. I think I'm
going to set the default height to around 300 pixels.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 09 Aug 2004 03:49:46 +0000 |
parents | bb7723f0b4b9 |
children |
rev | line source |
---|---|
5797 | 1 # |
2 # Makefile.mingw | |
3 # | |
4 # Description: Makefile for win32 (mingw) version of libtrepia | |
5 # | |
6 | |
7 # | |
8 # PATHS | |
9 # | |
10 | |
11 INCLUDE_DIR := . | |
12 GTK_TOP := ../../../../win32-dev/gtk_2_0 | |
13 GAIM_TOP := ../../.. | |
14 TREPIA_ROOT := . | |
15 GAIM_INSTALL_DIR := $(GAIM_TOP)/win32-install-dir | |
16 | |
17 ## | |
18 ## VARIABLE DEFINITIONS | |
19 ## | |
20 | |
21 TARGET = libtrepia | |
22 | |
23 # Compiler Options | |
24 | |
25 CFLAGS = | |
26 | |
27 DEFINES = | |
28 | |
29 # Static or Plugin... | |
30 ifeq ($(TYPE),STATIC) | |
31 DEFINES += -DSTATIC | |
32 DLL_INSTALL_DIR = $(GAIM_INSTALL_DIR) | |
33 else | |
34 ifeq ($(TYPE),PLUGIN) | |
35 DLL_INSTALL_DIR = $(GAIM_INSTALL_DIR)/plugins | |
36 endif | |
37 endif | |
38 | |
39 | |
40 ## | |
41 ## INCLUDE MAKEFILES | |
42 ## | |
43 | |
44 include $(GAIM_TOP)/src/win32/global.mak | |
45 | |
46 ## | |
47 ## INCLUDE PATHS | |
48 ## | |
49 | |
50 INCLUDE_PATHS += -I$(TREPIA_ROOT) \ | |
51 -I$(GTK_TOP)/include \ | |
52 -I$(GTK_TOP)/include/gtk-2.0 \ | |
53 -I$(GTK_TOP)/include/glib-2.0 \ | |
54 -I$(GTK_TOP)/include/pango-1.0 \ | |
55 -I$(GTK_TOP)/include/atk-1.0 \ | |
56 -I$(GTK_TOP)/lib/glib-2.0/include \ | |
57 -I$(GTK_TOP)/lib/gtk-2.0/include \ | |
58 -I$(GAIM_TOP)/src \ | |
59 -I$(GAIM_TOP)/src/win32 \ | |
60 -I$(GAIM_TOP) | |
61 | |
62 | |
63 LIB_PATHS = -L$(GTK_TOP)/lib \ | |
64 -L$(GAIM_TOP)/src | |
65 | |
66 | |
67 ## | |
68 ## SOURCES, OBJECTS | |
69 ## | |
70 | |
5932
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
71 C_SRC = trepia.c \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
72 profile.c |
5797 | 73 |
74 | |
75 OBJECTS = $(C_SRC:%.c=%.o) | |
76 | |
77 | |
78 ## | |
79 ## LIBRARIES | |
80 ## | |
81 | |
5932
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
82 LIBS = -lgtk-win32-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
83 -lglib-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
84 -lgdk-win32-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
85 -lgmodule-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
86 -lgobject-2.0 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
87 -lws2_32 \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
88 -lintl \ |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
89 -lgaim |
5797 | 90 |
91 | |
92 ## | |
93 ## RULES | |
94 ## | |
95 | |
96 # How to make a C file | |
97 | |
98 %.o: %.c | |
99 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@ -c $< | |
100 | |
101 ## | |
102 ## TARGET DEFINITIONS | |
103 ## | |
104 | |
105 .PHONY: all clean | |
106 | |
107 all: $(TARGET).dll | |
108 | |
109 install: | |
110 cp $(TREPIA_ROOT)/$(TARGET).dll $(DLL_INSTALL_DIR) | |
111 | |
112 | |
113 ## | |
114 ## BUILD Dependencies | |
115 ## | |
116 | |
117 $(GAIM_TOP)/src/gaim.lib: | |
118 $(MAKE) -C $(GAIM_TOP)/src -f Makefile.mingw gaim.lib | |
119 | |
120 ## | |
121 ## BUILD DLL | |
122 ## | |
123 | |
5932
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
124 $(TARGET).dll: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib |
bb7723f0b4b9
[gaim-migrate @ 6372]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
5797
diff
changeset
|
125 $(CC) -shared $(OBJECTS) $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -Wl,--out-implib,$(TARGET).lib -o $(TARGET).dll |
5797 | 126 |
127 ## | |
128 ## CLEAN RULES | |
129 ## | |
130 | |
131 clean: | |
132 rm -rf *.o | |
133 rm -rf $(TARGET).dll | |
134 rm -rf $(TARGET).lib |