1 bin_PROGRAMS = taskjuggler
2 taskjuggler_SOURCES = main.cpp
4 noinst_LTLIBRARIES = libtaskjuggler.la
6 libtaskjuggler_la_SOURCES = Utility.cpp ExpressionTree.cpp Report.cpp ReportXML.cpp \
7 CoreAttributes.cpp ShiftList.cpp ResourceList.cpp Task.cpp \
8 TaskScenario.cpp VacationList.cpp \
9 Account.cpp Allocation.cpp MacroTable.cpp ProjectFile.cpp \
10 HTMLTaskReport.cpp HTMLResourceReport.cpp HTMLAccountReport.cpp \
11 HTMLWeeklyCalendar.cpp ReportHtml.cpp ExportReport.cpp \
12 Project.cpp ReportICal.cpp kotrus.cpp
14 libtaskjuggler_la_LIBADD = $(LIB_QT) $(KDE_LIBS)
16 DTDFILE = taskjuggler.dtd
18 # KDE_OPTIONS = qtonly
19 taskjuggler_LDADD = libtaskjuggler.la
21 # set the include path for X, qt and KDE
22 INCLUDES= $(all_includes) $(ICAL_INCLUDES)
24 taskjuggler_METASOURCES = AUTO
26 # the library search path.
27 libtaskjuggler_la_LDFLAGS = $(all_libraries)
29 # this is to enable Qt behavoir of am_edit
34 $(DTDFILE): $(taskjuggler_SOURCES)
35 @echo creating $(DTDFILE)
36 @echo '<?xml version="1.0" ?>' >> $(DTDFILE)
37 @echo '<!-- Generated by Makefile - do not edit -->' > $(DTDFILE)
38 @perl -n -e 'print if( (/-- DTD --/ .. /\/-- DTD ..\//) && $$_ !~ /-- DTD --/);' $(libtaskjuggler_la_SOURCES) >> $(DTDFILE)