summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-07-28 15:04:52 +0000
committerFrederic Culot <calcurse@culot.org>2007-07-28 15:04:52 +0000
commitcd5e1e780f34b950527f320348d52c94cfd38802 (patch)
tree59d4423f40a9718a7432e9c273f10de34c70aaf7 /src
parent52e58a0a4ce1c2b0ea5c6476aa1884a5fd9b6e1f (diff)
downloadcalcurse-cd5e1e780f34b950527f320348d52c94cfd38802.tar.gz
calcurse-cd5e1e780f34b950527f320348d52c94cfd38802.zip
Autotools use improved
Diffstat (limited to 'src')
-rwxr-xr-xsrc/Makefile.am34
1 files changed, 24 insertions, 10 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 16e4025..3f2c1b5 100755
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,17 +1,31 @@
-# $calcurse: Makefile.am,v 1.5 2007/07/23 19:24:03 culot Exp $
+# $calcurse: Makefile.am,v 1.6 2007/07/28 15:04:52 culot Exp $
AUTOMAKE_OPTIONS= gnu
+
bin_PROGRAMS= calcurse
-calcurse_SOURCES= calcurse.c apoint.c event.c todo.c utils.c\
- calendar.c vars.c io.c help.c custom.c args.c\
- day.c recur.c notify.c wins.c sigs.c \
- apoint.h event.h todo.h utils.h calendar.h\
- vars.h io.h help.h custom.h args.h i18n.h\
- day.h recur.h notify.h wins.h sigs.h
-LIBS= -lncurses -lpthread -lm
+
+calcurse_SOURCES= \
+ calcurse.c i18n.h \
+ apoint.c apoint.h \
+ args.c args.h \
+ calendar.c calendar.h \
+ custom.c custom.h \
+ day.c day.h \
+ event.c event.h \
+ help.c help.h \
+ io.c io.h \
+ notify.c notify.h \
+ recur.c recur.h \
+ sigs.c sigs.h \
+ todo.c todo.h \
+ utils.c utils.h \
+ vars.c vars.h \
+ wins.c wins.h
+
LDADD= @LTLIBINTL@
+
datadir= @datadir@
+
localedir= $(datadir)/locale
+
DEFS= -DLOCALEDIR=\"$(localedir)\" @DEFS@
-man_MANS= calcurse.1
-EXTRA_DIST= calcurse.1