comparison src/protocols/oscar/Makefile.am @ 4202:59751fe608c5

[gaim-migrate @ 4438] Much needed Makefile.am cleanups. Sorry for the large mass of commit e-mails, everyone. These changes should work on older versions of automake and newer versions. If you do have a problem, let me know, but it should be a smooth transition. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 05 Jan 2003 03:02:55 +0000
parents 422512cf6488
children 2a2d6d21f1d7
comparison
equal deleted inserted replaced
4201:511c2b63caa4 4202:59751fe608c5
1 EXTRA_DIST = aim.h aim_cbtypes.h aim_internal.h faimconfig.h md5.h README \ 1 EXTRA_DIST = README CHANGES COPYING BUGS AUTHORS
2 CHANGES COPYING BUGS AUTHORS
3 2
4 pkgdir = $(libdir)/gaim 3 pkgdir = $(libdir)/gaim
4
5 OSCARSOURCES = \
6 admin.c \
7 adverts.c \
8 aim.h \
9 aim_cbtypes.h \
10 aim_internal.h \
11 auth.c \
12 bos.c \
13 bstream.c \
14 buddylist.c \
15 chat.c \
16 chatnav.c \
17 conn.c \
18 email.c \
19 faimconfig.h \
20 ft.c \
21 icq.c \
22 im.c \
23 info.c \
24 invite.c \
25 md5.h \
26 meta.c \
27 misc.c \
28 msgcookie.c \
29 newsearch.c \
30 popups.c \
31 rxhandlers.c \
32 rxqueue.c \
33 search.c \
34 service.c \
35 snac.c \
36 ssi.c \
37 stats.c \
38 tlv.c \
39 translate.c \
40 txqueue.c \
41 util.c \
42 oscar.c
5 43
6 CURRENT_DATE := $(shell date +%Y%m%d) 44 CURRENT_DATE := $(shell date +%Y%m%d)
7 CURRENT_TIME := $(shell date +%H%M%S) 45 CURRENT_TIME := $(shell date +%H%M%S)
8 46
9 CFLAGS += -DAIM_BUILDDATE=\"$(CURRENT_DATE)\" -DAIM_BUILDTIME=\"$(CURRENT_TIME)\" -I\$(top_srcdir)/src $(st) 47 AM_CFLAGS = $(st)
10 $(DEBUG_CFLAGS) 48
11 liboscar_la_LDFLAGS = -module -avoid-version 49 liboscar_la_LDFLAGS = -module -avoid-version
12 50
13 if STATIC_OSCAR 51 if STATIC_OSCAR
14 52
15 st = -DSTATIC 53 st = -DSTATIC
16 pkg_LTLIBRARIES = 54 noinst_LIBRARIES = liboscar.a
17 noinst_LIBRARIES = liboscar.a 55 liboscar_a_SOURCES = $(OSCARSOURCES)
18 56 liboscar_a_CFLAGS = $(AM_CFLAGS)
19 liboscar_a_SOURCES = admin.c \
20 adverts.c \
21 auth.c \
22 bos.c \
23 bstream.c \
24 buddylist.c \
25 chat.c \
26 chatnav.c \
27 conn.c \
28 email.c \
29 ft.c \
30 icq.c \
31 im.c \
32 info.c \
33 invite.c \
34 meta.c \
35 misc.c \
36 msgcookie.c \
37 newsearch.c \
38 popups.c \
39 rxhandlers.c \
40 rxqueue.c \
41 search.c \
42 service.c \
43 snac.c \
44 ssi.c \
45 stats.c \
46 tlv.c \
47 translate.c \
48 txqueue.c \
49 util.c \
50 oscar.c
51
52 liboscar_a_CFLAGS = $(AM_CFLAGS)
53 57
54 else 58 else
55 59
56 st = 60 st =
57 pkg_LTLIBRARIES = liboscar.la 61 pkg_LTLIBRARIES = liboscar.la
58 noinst_LIBRARIES = 62 liboscar_la_SOURCES = $(OSCARSOURCES)
59
60 liboscar_la_SOURCES = admin.c \
61 adverts.c \
62 auth.c \
63 bos.c \
64 bstream.c \
65 buddylist.c \
66 chat.c \
67 chatnav.c \
68 conn.c \
69 email.c \
70 ft.c \
71 icq.c \
72 im.c \
73 info.c \
74 invite.c \
75 meta.c \
76 misc.c \
77 msgcookie.c \
78 newsearch.c \
79 popups.c \
80 rxhandlers.c \
81 rxqueue.c \
82 search.c \
83 service.c \
84 snac.c \
85 ssi.c \
86 stats.c \
87 tlv.c \
88 translate.c \
89 txqueue.c \
90 util.c \
91 oscar.c
92 63
93 endif 64 endif
65
66 AM_CPPFLAGS = \
67 -I$(top_srcdir)/src \
68 $(DEBUG_CFLAGS) \
69 -DAIM_BUILDDATE=\"$(CURRENT_DATE)\" \
70 -DAIM_BUILDTIME=\"$(CURRENT_TIME)\"