Mercurial > pidgin.yaz
comparison src/Makefile.mingw @ 4524:78403c4f62dc
[gaim-migrate @ 4802]
oops..
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 05 Feb 2003 00:52:02 +0000 |
parents | 64d03b6a0864 |
children | ba99d30afc14 |
comparison
equal
deleted
inserted
replaced
4523:64d03b6a0864 | 4524:78403c4f62dc |
---|---|
30 | 30 |
31 CFLAGS = | 31 CFLAGS = |
32 | 32 |
33 DEFINES = | 33 DEFINES = |
34 | 34 |
35 LDFLAGS = -mwindows | 35 LDFLAGS = -mconsole -mwindows |
36 | 36 |
37 #-mconsole | 37 #-mconsole |
38 #-mwindows | 38 #-mwindows |
39 | 39 |
40 ## | 40 ## |
73 | 73 |
74 ## | 74 ## |
75 ## SOURCES, OBJECTS | 75 ## SOURCES, OBJECTS |
76 ## | 76 ## |
77 | 77 |
78 DLL_C_SRC = about.c \ | 78 DLL_C_SRC = about.c \ |
79 away.c \ | 79 away.c \ |
80 browser.c \ | 80 browser.c \ |
81 buddy.c \ | 81 buddy.c \ |
82 buddy_chat.c \ | 82 buddy_chat.c \ |
83 conversation.c \ | 83 conversation.c \ |
137 -lws2_32 \ | 137 -lws2_32 \ |
138 -liberty \ | 138 -liberty \ |
139 -lwinmm \ | 139 -lwinmm \ |
140 -lperl56 \ | 140 -lperl56 \ |
141 -laspell-15 \ | 141 -laspell-15 \ |
142 -lidletracker | 142 -lIdleTrac |
143 | 143 |
144 | 144 |
145 | 145 |
146 EXE_LIBS = -lgaim -lglib-2.0 | 146 EXE_LIBS = -lgaim -lglib-2.0 |
147 | 147 |
166 all: $(TARGET).exe $(TARGET).dll | 166 all: $(TARGET).exe $(TARGET).dll |
167 | 167 |
168 install: | 168 install: |
169 cp $(GAIM_SRC)/gaim.exe $(GAIM_SRC)/gaim.dll $(GAIM_INSTALL_DIR) | 169 cp $(GAIM_SRC)/gaim.exe $(GAIM_SRC)/gaim.dll $(GAIM_INSTALL_DIR) |
170 | 170 |
171 $(IDLETRACKER_TOP)/idletracker.dll: | 171 $(GAIM_SRC)/win32/IdleTracker/IdleTrac.dll: |
172 $(MAKE) -C $(IDLETRACKER_TOP) -f Makefile.mingw | 172 $(MAKE) -C $(GAIM_SRC)/win32/IdleTracker -f Makefile.mingw |
173 | 173 |
174 # | 174 # |
175 # BUILD DLL | 175 # BUILD DLL |
176 # | 176 # |
177 | 177 |
185 | 185 |
186 $(TARGET).exp: $(TARGET).base $(TARGET).def | 186 $(TARGET).exp: $(TARGET).base $(TARGET).def |
187 dlltool --dllname $(TARGET).dll --base-file $(TARGET).base \ | 187 dlltool --dllname $(TARGET).dll --base-file $(TARGET).base \ |
188 --output-exp $(TARGET).exp --def $(TARGET).def | 188 --output-exp $(TARGET).exp --def $(TARGET).def |
189 | 189 |
190 $(TARGET).dll: $(DLL_OBJECTS) $(IDLETRACKER_TOP)/idletracker.dll $(TARGET).exp | 190 $(TARGET).dll: $(DLL_OBJECTS) $(GAIM_SRC)/win32/IdleTracker/IdleTrac.dll $(TARGET).exp |
191 $(CC) -mdll $(LDFLAGS) -o $(TARGET).dll $(DLL_OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(DLL_LIBS) | 191 $(CC) -mdll $(LDFLAGS) -o $(TARGET).dll $(DLL_OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(DLL_LIBS) |
192 rm -rf $(TARGET).exp $(TARGET).def $(TARGET).base | 192 rm -rf $(TARGET).exp $(TARGET).def $(TARGET).base |
193 | 193 |
194 $(TARGET).lib: $(TARGET).def | 194 $(TARGET).lib: $(TARGET).def |
195 dlltool -D $(TARGET).dll -d $(TARGET).def -l $(TARGET).lib | 195 dlltool -D $(TARGET).dll -d $(TARGET).def -l $(TARGET).lib |
204 ## | 204 ## |
205 ## CLEAN RULES | 205 ## CLEAN RULES |
206 ## | 206 ## |
207 | 207 |
208 clean: | 208 clean: |
209 $(MAKE) -C $(IDLETRACKER_TOP) -f Makefile.mingw clean | 209 $(MAKE) -C $(GAIM_SRC)/win32/IdleTracker -f Makefile.mingw clean |
210 rm -rf *.o ./win32/*.o | 210 rm -rf *.o ./win32/*.o |
211 rm -rf $(TARGET).dll | 211 rm -rf $(TARGET).dll |
212 rm -rf $(TARGET).lib | 212 rm -rf $(TARGET).lib |
213 rm -rf $(TARGET).exe | 213 rm -rf $(TARGET).exe |
214 | 214 |