summaryrefslogtreecommitdiffstats
path: root/libkholidays/Makefile.am
blob: 0b2a6a554fc5f85dcbe8626c60ba2a75422133df (plain)
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
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_TDEIO)
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