Mercurial > pidgin
comparison plugins/ticker/Makefile.mingw @ 3715:764d6f1848b2
[gaim-migrate @ 3848]
Introduction of global.mak
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 16 Oct 2002 19:40:00 +0000 |
parents | 9682c0e022c6 |
children | bb7723f0b4b9 |
comparison
equal
deleted
inserted
replaced
3714:380b043a4a1c | 3715:764d6f1848b2 |
---|---|
20 ## VARIABLE DEFINITIONS | 20 ## VARIABLE DEFINITIONS |
21 ## | 21 ## |
22 | 22 |
23 TARGET = ticker | 23 TARGET = ticker |
24 | 24 |
25 VERSION := $(shell cat $(GAIM_TOP)/VERSION) | |
26 | |
27 # Compiler Options | 25 # Compiler Options |
28 | 26 |
29 CC = gcc.exe | 27 CFLAGS = |
30 | 28 |
31 CFLAGS = -O2 -Werror -Wall -mno-cygwin -fnative-struct | 29 DEFINES = |
32 | |
33 DEFINES = -DGTK_ENABLE_BROKEN -DVERSION=\"$(VERSION)\" | |
34 | 30 |
35 | 31 |
36 ## | 32 ## |
37 ## INCLUDE MAKEFILES | 33 ## INCLUDE MAKEFILES |
38 ## | 34 ## |
39 | 35 |
36 include $(GAIM_TOP)/src/win32/global.mak | |
40 | 37 |
41 ## | 38 ## |
42 ## INCLUDE PATHS | 39 ## INCLUDE PATHS |
43 ## | 40 ## |
44 | 41 |
112 $(TARGET).def: $(OBJECTS) | 109 $(TARGET).def: $(OBJECTS) |
113 dlltool --dllname $(TARGET).dll -z $(TARGET).def \ | 110 dlltool --dllname $(TARGET).dll -z $(TARGET).def \ |
114 $(OBJECTS) | 111 $(OBJECTS) |
115 | 112 |
116 $(TARGET).base: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib | 113 $(TARGET).base: $(OBJECTS) $(GAIM_TOP)/src/gaim.lib |
117 gcc -mdll -o junk.tmp -Wl,--base-file,$@ $(OBJECTS) $(LIB_PATHS) $(LIBS) | 114 $(CC) -mdll -o junk.tmp -Wl,--base-file,$@ $(OBJECTS) $(LIB_PATHS) $(LIBS) |
118 rm -rf junk.tmp | 115 rm -rf junk.tmp |
119 | 116 |
120 $(TARGET).exp: $(TARGET).def $(TARGET).base | 117 $(TARGET).exp: $(TARGET).def $(TARGET).base |
121 dlltool --dllname $(TARGET).dll --base-file $(TARGET).base \ | 118 dlltool --dllname $(TARGET).dll --base-file $(TARGET).base \ |
122 --output-exp $(TARGET).exp --def $(TARGET).def | 119 --output-exp $(TARGET).exp --def $(TARGET).def |
123 rm -rf $(TARGET).base | 120 rm -rf $(TARGET).base |
124 | 121 |
125 $(TARGET).dll: $(OBJECTS) $(TARGET).exp $(GAIM_TOP)/src/gaim.lib | 122 $(TARGET).dll: $(OBJECTS) $(TARGET).exp $(GAIM_TOP)/src/gaim.lib |
126 gcc -mdll -o $(TARGET).dll $(OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(LIBS) | 123 $(CC) -mdll -o $(TARGET).dll $(OBJECTS) -Wl,$(TARGET).exp $(LIB_PATHS) $(LIBS) |
127 rm -rf $(TARGET).exp | 124 rm -rf $(TARGET).exp |
128 | 125 |
129 | 126 |
130 ## | 127 ## |
131 ## CLEAN RULES | 128 ## CLEAN RULES |