Mercurial > pidgin.yaz
comparison plugins/Makefile.mingw @ 5932:bb7723f0b4b9
[gaim-migrate @ 6372]
Changed dll build rules in the mingw makefiles. Plugins will no
longer crash when built with the '-g' compile flag and plugin crashes will
now produce the correct debug info.
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Sat, 21 Jun 2003 01:03:23 +0000 |
parents | 809ef68273c8 |
children | 7c98adb00f3a |
comparison
equal
deleted
inserted
replaced
5931:8b5dd7117f56 | 5932:bb7723f0b4b9 |
---|---|
60 | 60 |
61 ## | 61 ## |
62 ## LIBRARIES | 62 ## LIBRARIES |
63 ## | 63 ## |
64 | 64 |
65 LIBS = -lgtk-win32-2.0 -lglib-2.0 -lgdk-win32-2.0 -lgobject-2.0 -lgmodule-2.0 -lintl -lws2_32 -liberty -lgaim | 65 LIBS = -lgtk-win32-2.0 \ |
66 -lglib-2.0 \ | |
67 -lgdk-win32-2.0 \ | |
68 -lgobject-2.0 \ | |
69 -lgmodule-2.0 \ | |
70 -lintl \ | |
71 -lws2_32 \ | |
72 -lgaim | |
66 | 73 |
67 ## | 74 ## |
68 ## RULES | 75 ## RULES |
69 ## | 76 ## |
70 | 77 |
90 # | 97 # |
91 # BUILD Plugin | 98 # BUILD Plugin |
92 # | 99 # |
93 | 100 |
94 .c.dll: | 101 .c.dll: |
95 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o tmp$@.o -c $< | 102 $(CC) $(CFLAGS) $(DEFINES) $(INCLUDE_PATHS) -o $@.o -c $< |
96 dlltool -D $@ -z $@.def tmp$@.o | 103 $(CC) -shared $@.o $(LIB_PATHS) $(LIBS) $(DLL_LD_FLAGS) -o $@ |
97 $(CC) -mdll -o junk.tmp -Wl,--base-file,$@.base tmp$@.o $(LIB_PATHS) $(LIBS) | |
98 dlltool -D $@ -b $@.base -e $@.exp -d $@.def | |
99 $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) | |
100 rm -rf $@.base $@.def $@.exp junk.tmp | |
101 | 104 |
102 plugins: iconaway.dll spellchk.dll autorecon.dll | 105 plugins: iconaway.dll spellchk.dll autorecon.dll |
103 | 106 |
104 | 107 |
105 ## | 108 ## |