[gaim-migrate @ 3063]
[pidgin-git.git] / src / Makefile.am
blobb6370ebbe9079425dc49d220ffe27460082000ef
1 SUBDIRS = protocols
3 if GNOMEAPPLET
4 bin_PROGRAMS = gaim_applet
5 gaim_applet_SOURCES =   about.c \
6                         aim.c \
7                         applet.c \
8                         away.c \
9                         browser.c \
10                         buddy.c \
11                         buddy_chat.c \
12                         conversation.c \
13                         core.c \
14                         dialogs.c \
15                         gaimrc.c \
16                         gtkimhtml.c \
17                         gtkspell.c \
18                         gtkticker.c \
19                         html.c \
20                         idle.c \
21                         list.c \
22                         md5.c \
23                         module.c \
24                         multi.c \
25                         perl.c \
26                         plugins.c \
27                         prefs.c \
28                         proxy.c \
29                         prpl.c \
30                         server.c \
31                         sound.c \
32                         ticker.c \
33                         util.c
34 gaim_applet_DEPENDENCIES = @LIBOBJS@ $(STATIC_LINK_LIBS)
35 gaim_applet_LDFLAGS = -export-dynamic
36 gaim_applet_LDADD = @LDADD@ @LIBOBJS@
37 else
38 bin_PROGRAMS = gaim
39 gaim_SOURCES =  about.c \
40                 aim.c \
41                 applet.c \
42                 away.c \
43                 browser.c \
44                 buddy.c \
45                 buddy_chat.c \
46                 conversation.c \
47                 core.c \
48                 dialogs.c \
49                 gaimrc.c \
50                 gtkimhtml.c \
51                 gtkspell.c \
52                 gtkticker.c \
53                 html.c \
54                 idle.c \
55                 list.c \
56                 md5.c \
57                 module.c \
58                 multi.c \
59                 perl.c \
60                 plugins.c \
61                 prefs.c \
62                 proxy.c \
63                 prpl.c \
64                 server.c \
65                 sound.c \
66                 ticker.c \
67                 util.c
68 gaim_DEPENDENCIES = @LIBOBJS@ $(STATIC_LINK_LIBS)
69 gaim_LDFLAGS = -export-dynamic
70 gaim_LDADD = @LDADD@ @LIBOBJS@
71 endif
73 CFLAGS += $(PERL_CFLAGS)
74 CFLAGS += -DLOCALEDIR=\"$(datadir)/locale\" -DLIBDIR=\"$(libdir)/gaim/\" $(DEBUG_CFLAGS)
76 LIBS = @LIBS@ $(UI_LIBS) $(SOUND_LIBS) $(STATIC_LINK_LIBS) $(PERL_LIBS) $(XSS_LIBS) $(INTLLIBS) $(DEBUG_LIBS)
78 EXTRA_DIST =    applet.h \
79                 convo.h \
80                 core.h \
81                 gaim.h \
82                 getopt.c \
83                 getopt.h \
84                 getopt1.c \
85                 gtkimhtml.h \
86                 gtkspell.h \
87                 gtkticker.h \
88                 md5.h \
89                 multi.h \
90                 prpl.h \
91                 proxy.h \
92                 ui.h