Mercurial > pidgin
annotate plugins/crazychat/Makefile.am @ 12435:8f98014a4e7d
[gaim-migrate @ 14742]
1. Protecting the --enable-debug warning tests with an "if gcc" check.
2. Adding a number of warning flags to --enable-debug. All cases of the added warnings have been fixed, except:
a. The pointer-arith warnings. I think someone smarter than me should decide whether we need to fix those (and how) or if that should be disabled. That said, I think all the errors left (after you consider the exception listed as "b" below) are in libzephyr.
b. Those in src/protocols/sametime/meanwhile at siege's request. Don't worry about these for now.
3. Noting a few warnings we could enable, and the cases we'd have to deal with. Thoughts on these warnings?
4. I added support for FORTIFY_SOURCE. If your compiler has support for this feature, --enable-debug will set _FORTIFY_SOURCE=2. I'm doing this in --enable-debug for the warnings you get. I wouldn't mind having it on by default for the runtime protections as well. Thoughts?
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Fri, 09 Dec 2005 05:32:59 +0000 |
| parents | 515a4630d960 |
| children |
| rev | line source |
|---|---|
| 11218 | 1 plugindir = $(libdir)/gaim |
| 2 | |
| 3 if ENABLE_DEBUG | |
| 4 DEBUG_CPPFLAGS = -g -pg | |
| 5 # DEBUG_CPPFLAGS = -D_DEBUG_ -g -pg | |
| 11272 | 6 DEBUG_LFLAGS = -pg |
| 11218 | 7 else |
| 8 DEBUG_CPPFLAGS = -O2 | |
| 11272 | 9 DEBUG_LFLAGS = |
| 11218 | 10 endif |
| 11 | |
| 12 plugin_LTLIBRARIES = crazychat.la | |
| 11272 | 13 |
| 14 if DISABLE_MODELS | |
| 15 MD_CPPFLAGS = -DDISABLE_MODELS | |
| 16 else | |
| 17 MD_CPPFLAGS = | |
| 18 endif | |
| 19 | |
| 20 crazychat_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) $(DEBUG_LFLAGS) | |
| 11218 | 21 crazychat_la_SOURCES = cc_gaim_plugin.c cc_gtk_gl.c cc_gtk_gl.h \ |
| 11272 | 22 cc_interface.h crazychat.c crazychat.h util.h\ |
| 11218 | 23 cc_network.c cc_network.h filter.c filter.h\ |
| 24 cc_output.c face.c face.h doggy.c doggy.h glm.h glm.c sharky.h sharky.c models.h models.c | |
| 25 | |
| 26 QT_CPPFLAGS = -D_DISABLE_QT_ | |
| 11272 | 27 |
| 28 crazychat_la_LIBADD = $(GTKGLEXT_LIBS) | |
| 11218 | 29 |
| 11272 | 30 #AM_CFLAGS = $(GTK_CFLAGS) \ |
| 31 #$(GTKGLEXT_CFLAGS) \ | |
| 32 #-I$(top_srcdir)/include | |
| 11218 | 33 |
| 34 AM_CPPFLAGS = -DGAIM_PLUGINS \ | |
| 11272 | 35 -I$(top_srcdir)/src \ |
| 36 $(GTK_CFLAGS) \ | |
| 37 $(GTKGLEXT_CFLAGS) \ | |
| 11218 | 38 $(DEBUG_CPPFLAGS) \ |
|
12385
515a4630d960
[gaim-migrate @ 14691]
Richard Laager <rlaager@wiktel.com>
parents:
11272
diff
changeset
|
39 $(DEBUG_CFLAGS) \ |
| 11272 | 40 $(QT_CPPFLAGS) \ |
| 41 $(MD_CPPFLAGS) |
