aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/Makefile.am
blob: 1d9f22a7f0e5eeb3b4fcd0b5ab3077847c7cd5b1 (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
SUBDIRS = versit
help_base = $(datadir)/gnome/help/cal

CFLAGS += -Wall

INCLUDES =          \
    -I$(includedir)                 \
    $(GNOME_INCLUDEDIR)             \
        -DGNOMELOCALEDIR=\""$(datadir)/locale"\"    \
    -I../../gcalendar

bin_PROGRAMS = gnomecal

gnomecal_SOURCES = \
    alarm.c         \
    alarm.h         \
    calendar.c      \
    calendar.h      \
    calobj.c        \
    calobj.h        \
    eventedit.c     \
    eventedit.h     \
    gncal-day-panel.c   \
    gncal-day-panel.h   \
    gncal-day-view.c    \
    gncal-day-view.h    \
    gncal-full-day.c    \
    gncal-full-day.h    \
    gncal-week-view.c   \
    gncal-week-view.h   \
    gncal-todo.c        \
    gncal-todo.h        \
    gncal-year-view.c   \
    gncal-year-view.h   \
    getdate.y       \
    gnome-cal.c     \
    gnome-cal.h     \
    main.c          \
    main.h          \
    popup-menu.c        \
    popup-menu.h        \
    prop.c          \
    timeutil.c      \
    timeutil.h      \
    view-utils.h        \
    view-utils.c        \
    views.h         \
    views.c
    
LINK_FLAGS = \
    $(GNOME_LIBDIR) \
    $(GNOMEUI_LIBS) \
    $(INTLLIBS) versit/libversit.a


#gncal_LDADD = $(LINK_FLAGS)
#objedit_LDADD = $(LINK_FLAGS)

gnomecal_LDADD = $(LINK_FLAGS)

EXTRA_DIST = \
    gncal.desktop   \
    topic.dat   \
    gnome-cal.html  \
    bell.xpm    \
    recur.xpm


Productivitydir = $(datadir)/apps/Productivity

Productivity_DATA = gncal.desktop

install-data-local:
    $(mkinstalldirs) $(help_base)/C
    $(INSTALL_DATA)  $(srcdir)/topic.dat $(help_base)/C/topic.dat
    $(INSTALL_DATA)  $(srcdir)/gnome-cal.html $(help_base)/C/gnome-cal.html
    cd $(help_base)/C; ln -sf gnome-cal.html index.html