11218
|
1 plugindir = $(libdir)/gaim
|
|
2
|
|
3 if ENABLE_DEBUG
|
|
4 DEBUG_CPPFLAGS = -g -pg
|
|
5 # DEBUG_CPPFLAGS = -D_DEBUG_ -g -pg
|
|
6 DEBUG_LDFLAGS = -pg
|
|
7 else
|
|
8 DEBUG_CPPFLAGS = -O2
|
|
9 DEBUG_LDFLAGS =
|
|
10 endif
|
|
11
|
|
12 plugin_LTLIBRARIES = crazychat.la
|
|
13 if DISABLE_QT
|
|
14 crazychat_la_LDFLAGS = -module -avoid-version $(DEBUG_LDFLAGS)
|
|
15 crazychat_la_SOURCES = cc_gaim_plugin.c cc_gtk_gl.c cc_gtk_gl.h \
|
|
16 cc_interface.h crazychat.c crazychat.h util.h \
|
|
17 cc_network.c cc_network.h filter.c filter.h\
|
|
18 cc_output.c face.c face.h doggy.c doggy.h glm.h glm.c sharky.h sharky.c models.h models.c
|
|
19
|
|
20 QT_CPPFLAGS = -D_DISABLE_QT_
|
|
21 else
|
|
22 crazychat_la_LDFLAGS = -module -avoid-version $(DEBUG_LDFLAGS) \
|
|
23 -XCClinker -framework -XCClinker Carbon -XCClinker -framework \
|
|
24 -XCClinker QuickTime
|
|
25
|
|
26 crazychat_la_SOURCES = cc_features.c cc_gaim_plugin.c cc_gtk_gl.c cc_gtk_gl.h \
|
|
27 cc_interface.h crazychat.c crazychat.h util.h \
|
|
28 cc_network.c cc_network.h filter.c filter.h\
|
|
29 cc_output.c face.c face.h doggy.c doggy.h glm.h glm.c sharky.h sharky.c models.h models.c\
|
|
30 QTUtilities.c Utilities.c camdata.c camproc.c Utilities.h
|
|
31
|
|
32 QT_CPPFLAGS =
|
|
33 endif
|
|
34
|
|
35 crazychat_la_LIBADD = $(PTHREAD_LIB) $(GTKGLEXT_LIBS)
|
|
36
|
|
37 AM_CFLAGS = $(GTK_CFLAGS) \
|
|
38 $(GTKGLEXT_CFLAGS) \
|
|
39 -I$(top_srcdir)/include
|
|
40
|
|
41 AM_CPPFLAGS = -DGAIM_PLUGINS \
|
|
42 $(DEBUG_CPPFLAGS) \
|
|
43 $(QT_CPPFLAGS)
|