[storage] Direct non-monetary gains and losses (bug #123)
[abstract.git] / storage / Makefile.am
blobba4fd19537e1a4ababb9f9ad3963afa69b7d9a5c
1 ## Makefile.am -- Process this file with automake to produce Makefile.in
2 ## Copyright (C) 2006,2007 Sergey Yanovich
3 ##
4 ## This program is free software; you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2, or (at your option)
7 ## any later version.
8 ##
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 include $(top_srcdir)/config/config.mk
20 AM_CXXFLAGS += -I$(top_builddir)/abstract/base
21 AM_LDFLAGS += -L../storage/
23 MODULE_CPPSRC = \
24                 aaStorageUtils.cpp\
25                 aaSession.cpp \
26                 aaSaveDispatcher.cpp \
27                 aaFilter.cpp \
28                 aaStateFilter.cpp \
29                 aaLoadQuery.cpp \
30                 aaSaveEntity.cpp \
31                 aaLoadEntity.cpp \
32                 aaSaveResource.cpp \
33                 aaSaveFlow.cpp \
34                 aaLoadResource.cpp \
35                 aaSaveEvent.cpp \
36                 aaLoadFlow.cpp \
37                 aaLoadFlowChart.cpp \
38                 aaLoadFlowStates.cpp \
39                 aaLoadBalance.cpp \
40                 aaLoadPendingFacts.cpp \
41                 aaLoadFactList.cpp \
42                 aaLoadIncome.cpp \
43                 aaSaveQuote.cpp \
44                 aaLoadQuote.cpp
46 ACCOUNT_CPPSRC = \
47                  aaIncomeRow.cpp \
48                  aaSaveTransaction.cpp
50 if AA_ENABLE_TESTS
51 UNIT_TEST = libaastoraget.la libaaaccountt.la
52 libaastoraget_la_SOURCES = \
53                            $(MODULE_CPPSRC) \
54                            aaStorageTest.cpp
55 libaastoraget_la_LIBADD = -lxpcom -lxpcomglue_s
56 libaaaccountt_la_SOURCES = \
57                            $(ACCOUNT_CPPSRC) \
58                            aaAccountTest.cpp
59 libaaaccountt_la_LIBADD = -lxpcom -lxpcomglue_s
60 endif
62 component_LTLIBRARIES = $(UNIT_TEST) libaastorage.la
64 libaastorage_la_SOURCES = \
65                           $(MODULE_CPPSRC) \
66                           $(ACCOUNT_CPPSRC) \
67                           aaStorageModule.cpp
68 libaastorage_la_LIBADD = -lxpcom -lxpcomglue_s