aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src/libicalss/Makefile.am
blob: 1b72cd03c92bb5a502c54faa9ff8510ade2e65ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#======================================================================
#  FILE: Makefile.am
#  CREATOR: eric 
#  
#  $Id: Makefile.am,v 1.22 2003/10/21 18:28:20 ettore Exp $
#
#
# (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of either: 
#
#    The LGPL as published by the Free Software Foundation, version
#    2.1, available at: http://www.fsf.org/copyleft/lesser.html
#
#  Or:
#
#    The Mozilla Public License Version 1.0. You may obtain a copy of
#    the License at http://www.mozilla.org/MPL/
#
#  
#
#======================================================================


AM_YFLAGS =-d -v -p ss
AM_LFLAGS = -Pss 
LEX_OUTPUT_ROOT = lex.ss

# just to get it built
$(srcdir)/icalgauge.c: icalssyacc.h
$(srcdir)/icalsslexer.c: icalssyacc.h 


if WITH_BDB4
BDB_INCLUDE=-I@BDB_DIR_INCLUDE@ -DWITH_BDB4
BDB_SOURCEFILES=icalbdbset.c icalbdbset.h icalbdbsetimpl.h
BDB_HEADERFILES=$(srcdir)/icalbdbset.h
libicalssinclude_BDBHEADERS=icalbdbset.h icalbdbsetimpl.h
BDB_LIBFILES=@BDB_DIR_LIB@/@BDB_LIB@
else
BDB_INCLUDE=
BDB_SOURCEFILES=
BDB_HEADERFILES=
endif

if WITH_CXX_BINDINGS
cxx_lib=libicalss-evolution_cxx.la
cxx_headers=icalspanlist_cxx.h
else
cxx_lib=
cxx_headers=
endif

privlib_LTLIBRARIES = libicalss-evolution.la $(cxx_lib)

INCLUDES =          \
    -I$(top_srcdir)/src \
    $(BDB_INCLUDE)

libicalss_evolution_la_LDFLAGS = -version-info 0:0:0
libicalss_evolution_la_LIBADD = $(BDB_LIBFILES)

if DEV
libicalss_evolution_la_DEVSOURCES = icalsslexer.l icalssyacc.y
else
libicalss_evolution_la_DEVSOURCES = icalsslexer.c icalssyacc.c
endif

libicalss_evolution_la_SOURCES =        \
    icalcalendar.c      \
    icalcalendar.h      \
    icalclassify.c      \
    icalclassify.h      \
    icalcluster.c       \
    icalcluster.h       \
    icalclusterimpl.h   \
    icalgauge.c     \
    icalgauge.h     \
    icalgaugeimpl.h     \
    icaldirset.c        \
    icaldirset.h        \
    icaldirsetimpl.h    \
    icalfileset.c       \
    icalfileset.h       \
    icalfilesetimpl.h   \
    icalset.c       \
    icalset.h       \
    icalssyacc.h        \
    icalspanlist.c      \
    icalspanlist.h      \
    icalmessage.c       \
    icalmessage.h       \
    $(BDB_SOURCEFILES)  \
    $(libicalss_evolution_la_DEVSOURCES)

libicalssincludedir = $(privincludedir)/libical

COMBINEDHEADERS = \
        $(srcdir)/icalgauge.h \
        $(srcdir)/icalset.h \
        $(srcdir)/icalcluster.h \
        $(srcdir)/icalfileset.h \
        $(srcdir)/icaldirset.h \
    $(BDB_HEADERFILES) \
        $(srcdir)/icalcalendar.h  \
        $(srcdir)/icalclassify.h \
    $(srcdir)/icalspanlist.h    \
    $(srcdir)/icalmessage.h

if WITH_CXX_BINDINGS
libicalss_evolution_cxx_la_SOURCES =    \
    $(libicalss_evolution_la_SOURCES)   \
    icalspanlist_cxx.h  \
    icalspanlist_cxx.cpp

endif


libicalssinclude_HEADERS = icalss.h  icalcalendar.h icalclassify.h icalcluster.h icaldirset.h icaldirsetimpl.h icalfileset.h icalfilesetimpl.h icalgauge.h icalgaugeimpl.h icalmessage.h icalset.h icalspanlist.h icalssyacc.h $(libicalssinclude_BDBHEADERS) $(cxx_headers)

CONFIG_CLEAN_FILES = y.output