aboutsummaryrefslogtreecommitdiffstats
path: root/shell/importer/Makefile.am
blob: 94f532db3c8f5800b5c6e23e694c451aefc1355c (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
INCLUDES =                                  \
    -I$(top_srcdir)                             \
    -I$(top_srcdir)/shell                           \
    -I$(top_builddir)/shell                         \
    -I$(includedir)                             \
    -DG_LOG_DOMAIN=\"Evolution-Importer\"                   \
    -DEVOLUTION_GLADEDIR=\"$(datadir)/evolution-$(BASE_VERSION)/glade\" \
    $(SHELL_CFLAGS)

privlib_LTLIBRARIES = libevolution-importer.la


# IDL stuff

IDLS = GNOME_Evolution_Importer.idl

IDL_GENERATED_H =           \
    GNOME_Evolution_Importer.h

IDL_GENERATED_C =               \
    GNOME_Evolution_Importer-common.c   \
    GNOME_Evolution_Importer-skels.c    \
    GNOME_Evolution_Importer-stubs.c

IDL_GENERATED = $(IDL_GENERATED_H) $(IDL_GENERATED_C)

GNOME_Evolution_Importer-impl.o: GNOME_Evolution_Importer.h

$(IDL_GENERATED_H): $(IDLS)
    $(ORBIT_IDL) -I $(srcdir) $(IDL_INCLUDES) $(srcdir)/GNOME_Evolution_Importer.idl

$(IDL_GENERATED_C): $(IDL_GENERATED_H)
    @true

idl_DATA = $(IDLS)


# Component

libevolution_importerincludedir = $(includedir)/evolution-$(BASE_VERSION)/importer
libevolution_importer_la_SOURCES =      \
    $(IDL_GENERATED)            \
    evolution-intelligent-importer.c    \
    evolution-importer-client.c     \
    evolution-importer-listener.c       \
    evolution-importer.c            \
    intelligent.c               \
    intelligent.h

libevolution_importerinclude_HEADERS =      \
    GNOME_Evolution_Importer.h      \
    evolution-intelligent-importer.h    \
    evolution-importer-client.h     \
    evolution-importer-listener.h       \
    evolution-importer.h

libevolution_importer_la_LIBADD =       \
    $(top_builddir)/e-util/libeutil.la  \
    $(SHELL_LIBS)

gladedir = $(datadir)/evolution-$(BASE_VERSION)/glade
glade_DATA = import.glade

EXTRA_DIST = $(glade_DATA) $(IDLS)

BUILT_SOURCES= $(IDL_GENERATED_H)
CLEANFILES = $(IDL_GENERATED)

dist-hook:
    cd $(distdir); rm -f $(BUILT_SOURCES)