Imported Upstream version 0.0.7
[ptask-pkg-ubuntu.git] / src / Makefile.am
1 SUBDIRS=glade
2
3 # -export-dynamic is need for defining handlers in the glade file.
4 AM_LDFLAGS = -Wl,--as-needed  -export-dynamic
5
6 AM_CPPFLAGS = -Wall $(GTK_CFLAGS) $(JSON_CFLAGS)
7
8 DEFS = -DPACKAGE_DATA_DIR=\"$(pkgdatadir)\" -DLOCALEDIR=\"$(localedir)\" @DEFS@
9
10 LIBS = $(JSON_LIBS) $(GTK_LIBS)
11
12 bin_PROGRAMS = ptask
13
14 ptask_SOURCES = log.c log.h \
15         main.c \
16         note.c note.h \
17         pio.c pio.h \
18         pstr.c pstr.h \
19         ptime.c ptime.h \
20         settings.c settings.h \
21         tw.c tw.h \
22         ui.c ui.h \
23         ui_newtask_diag.c ui_newtask_diag.h \
24         ui_projecttree.c ui_projecttree.h \
25         ui_taskpanel.c ui_taskpanel.h \
26         ui_tasktree.c ui_tasktree.h
27
28 dist_man_MANS = ptask.1
29
30 ptask.1: main.c $(top_srcdir)/configure.ac
31         $(MAKE) $(AM_MAKEFLAGS) ptask$(EXEEXT)
32         help2man -N --name="GTk+ Task application" --output=ptask.1 ./ptask$(EXEEXT)
33
34 gsettings_SCHEMAS=ptask.gschema.xml
35 EXTRA_DIST=$(gsettings_SCHEMAS)
36
37 @GSETTINGS_RULES@