diff plugins/crazychat/Makefile.am @ 11272:80ee726755d4

[gaim-migrate @ 13455] another commit to crazy c committer: Tailor Script <tailor@pidgin.im>
author Charlie Stockman <chuckleberry>
date Mon, 15 Aug 2005 08:25:31 +0000
parents ed017b9c532d
children 515a4630d960
line wrap: on
line diff
--- a/plugins/crazychat/Makefile.am	Mon Aug 15 06:52:45 2005 +0000
+++ b/plugins/crazychat/Makefile.am	Mon Aug 15 08:25:31 2005 +0000
@@ -3,41 +3,38 @@
 if ENABLE_DEBUG
 DEBUG_CPPFLAGS = -g -pg
 # DEBUG_CPPFLAGS = -D_DEBUG_ -g -pg 
-DEBUG_LDFLAGS = -pg
+DEBUG_LFLAGS = -pg
 else
 DEBUG_CPPFLAGS = -O2
-DEBUG_LDFLAGS =
+DEBUG_LFLAGS =
 endif
 
 plugin_LTLIBRARIES = crazychat.la
-if DISABLE_QT
-crazychat_la_LDFLAGS = -module -avoid-version $(DEBUG_LDFLAGS)
+
+if DISABLE_MODELS
+MD_CPPFLAGS = -DDISABLE_MODELS
+else
+MD_CPPFLAGS =
+endif
+
+crazychat_la_LDFLAGS = -module -avoid-version $(GTK_LIBS) $(DEBUG_LFLAGS)
 crazychat_la_SOURCES = cc_gaim_plugin.c cc_gtk_gl.c cc_gtk_gl.h \
-	cc_interface.h crazychat.c crazychat.h util.h \
+	cc_interface.h crazychat.c crazychat.h util.h\
 	cc_network.c cc_network.h filter.c filter.h\
 	cc_output.c face.c face.h doggy.c doggy.h glm.h glm.c sharky.h sharky.c models.h models.c
 
 QT_CPPFLAGS = -D_DISABLE_QT_
-else
-crazychat_la_LDFLAGS = -module -avoid-version $(DEBUG_LDFLAGS) \
-	-XCClinker -framework -XCClinker Carbon -XCClinker -framework \
-	-XCClinker QuickTime
+
+crazychat_la_LIBADD = $(GTKGLEXT_LIBS)
 
-crazychat_la_SOURCES = cc_features.c cc_gaim_plugin.c cc_gtk_gl.c cc_gtk_gl.h \
-	cc_interface.h crazychat.c crazychat.h util.h \
-	cc_network.c cc_network.h filter.c filter.h\
-	cc_output.c face.c face.h doggy.c doggy.h glm.h glm.c sharky.h sharky.c models.h models.c\
-	QTUtilities.c Utilities.c camdata.c camproc.c Utilities.h
-
-QT_CPPFLAGS =
-endif
-
-crazychat_la_LIBADD = $(PTHREAD_LIB) $(GTKGLEXT_LIBS)
-
-AM_CFLAGS = $(GTK_CFLAGS) \
-	$(GTKGLEXT_CFLAGS) \
-	-I$(top_srcdir)/include
+#AM_CFLAGS = $(GTK_CFLAGS) \
+#$(GTKGLEXT_CFLAGS) \
+#-I$(top_srcdir)/include
 
 AM_CPPFLAGS = -DGAIM_PLUGINS \
+	-I$(top_srcdir)/src \
+	$(GTK_CFLAGS) \
+	$(GTKGLEXT_CFLAGS) \
 	$(DEBUG_CPPFLAGS) \
-	$(QT_CPPFLAGS)
+	$(QT_CPPFLAGS) \
+	$(MD_CPPFLAGS)