summaryrefslogtreecommitdiffstats
path: root/libkholidays/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libkholidays/Makefile.am')
-rw-r--r--libkholidays/Makefile.am30
1 files changed, 30 insertions, 0 deletions
diff --git a/libkholidays/Makefile.am b/libkholidays/Makefile.am
new file mode 100644
index 000000000..aeef6fcf8
--- /dev/null
+++ b/libkholidays/Makefile.am
@@ -0,0 +1,30 @@
+SUBDIRS=holidays
+
+METASOURCES = AUTO
+
+INCLUDES = -I$(top_srcdir) $(all_includes)
+
+lib_LTLIBRARIES = libkholidays.la
+
+libkholidays_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 1:0:0
+libkholidays_la_LIBADD = $(LIB_KIO)
+libkholidays_la_SOURCES = kholidays.cpp scanholiday.c parseholiday.h parseholiday.c lunarphase.cpp
+
+#the lex/flex and yacc/bison files are in CVS and NOT generated
+#we do this to eliminate the need for those programs
+#parseholiday.c:
+# $(YACC) -p kcal -d -o parseholiday.c parseholiday.y
+#
+#parseholiday.h:
+# $(YACC) -p kcal -d -o parseholiday.c parseholiday.y
+#
+#scanholiday.c: parseholiday.h
+# $(LEX) -Pkcal -B -i -oscanholiday.c scanholiday.lex
+#
+#clean:
+# -rm -f scanholiday.c parseholiday.h parseholiday.c
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/libkholidays.pot
+
+include $(top_srcdir)/admin/Doxyfile.am