summaryrefslogtreecommitdiffstats
path: root/ksirc/Makefile.am
blob: 1396d9bce76b7bdfa6adb774786ac29497f8ec10 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146

KDE_CXXFLAGS = $(USE_RTTI) $(USE_EXCEPTIONS)# -UQT_NO_ASCII_CAST

# set the include path for X, qt and KDE
INCLUDES= -IKSOpenkSirc -IKSPrefs $(all_includes)

# claim, which subdirectories you want to install
SUBDIRS = KSTicker KSProgress KSPrefs KSOpenkSirc img icons

METASOURCES = AUTO

check_PROGRAMS = testview dccMgrTest

testview_SOURCES = kstextviewtest.cpp
testview_LDADD = kstextview.lo dccNew.lo dccNewbase.lo alistbox.lo objFinder.lo ksopts.lo nickColourMaker.lo $(LIB_TDEUTILS) $(LIB_TDEUI)
testview_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

dccMgrTest_SOURCES = dccMgrTest.cpp
dccMgrTest_LDADD = dccManager.lo dccManagerbase.lo dccNew.lo dccNewbase.lo alistbox.lo objFinder.lo ksopts.lo nickColourMaker.lo $(LIB_TDEUTILS) $(LIB_TDEUI)
dccMgrTest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor

bin_PROGRAMS =
lib_LTLIBRARIES =
tdeinit_LTLIBRARIES = ksirc.la

noinst_PROGRAMS = getdate

# Which sources should be compiled for ksirc.

ksirc_la_SOURCES = \
	toplevel.cpp \
	charSelector.cpp \
	chanButtons.cpp \
	ksirc.cpp \
	alistbox.cpp \
	ahistlineedit.cpp \
	iocontroller.cpp \
	NewWindowDialog.cpp \
	messageReceiver.cpp \
	ioBroadcast.cpp \
	ksircprocess.cpp \
	servercontroller.cpp \
	FilterRuleWidget.ui FilterRuleEditor.cpp \
	ioDiscard.cpp \
	ioDCC.cpp \
	ioLAG.cpp \
	ioNotify.cpp \
	ssfeprompt.cpp ssfepromptdata.cpp \
	usercontrolmenu.cpp \
	baserules.cpp \
	chanparser.cpp \
	objFinder.cpp \
	displayMgrSDI.cpp \
	displayMgrMDI.cpp \
	mditoplevel.cpp \
	ksopts.cpp \
	topic.cpp \
	ksview.cpp \
	logfile.cpp \
        kstextview.cpp \
        colorpicker.cpp \
        ksparser.cpp \
        dccManagerbase.ui \
        dccManager.cpp \
        dccToplevel.cpp \
        dockservercontroller.cpp \
        nickColourMaker.cpp \
        dccNewbase.ui \
        dccNew.cpp

# the library search path
ksirc_la_LDFLAGS = $(all_libraries) -module -avoid-version
ksirc_la_COMPILE_FIRST = cdate.h

all_ksirc_libraries = \
	./KSPrefs/libksprefs.la \
	./KSProgress/libksprogress.la  \
	./KSOpenkSirc/libksopenksirc.la \
        ./KSTicker/libksticker.la \
	$(LIB_TDEIO) $(LIBDL) 

# the libraries to link against. Be aware of the order. First the libraries,
# that depend on the following ones.
ksirc_la_LIBADD   = $(all_ksirc_libraries)

kdoc:
	kdoc -ddoc ksirc *.h

getdate_SOURCES = getdate.c

cdate.h: getdate
	./getdate > cdate.h

# this option you can leave out. Just, if you use "make dist", you need it
#
# DSIRC is on the bottom so make dist includes it!!!!!!!!!
#
noinst_HEADERS = \
	FilterRuleEditor.h \
	control_message.h \
	FilterRuleWidget.h \
	messageReceiver.h \
	ioBroadcast.h \
	ioDCC.h \
	usercontrolmenu.h \
	ioDiscard.h \
	ahistlineedit.h \
	iocontroller.h \
	servercontroller.h \
	alistbox.h \
	chanparser.h \
	toplevel.h \
	ksircprocess.h \
	cdate.h \
	ioLAG.h \
	ioNotify.h \
	ssfeprompt.h \
	ssfepromptdata.h \
	objFinder.h \
	baserules.h \
	displayMgr.h \
	displayMgrSDI.h \
	NewWindowDialog.h \
    ksopts.h \
	ksview.h \
	boundscheckingarray.h \
	ksparser.h \
	dccManager.h \
        dccToplevel.h \
        dockservercontroller.h \
        dccNew.h

messages: rc.cpp
	$(EXTRACTRC) KSOpenkSirc/*.ui >> rc.cpp
	$(EXTRACTRC) KSPrefs/*.ui >> rc.cpp
	$(XGETTEXT) *.cpp */*.cpp -o $(podir)/ksirc.pot

bin_SCRIPTS = dsirc

xdg_apps_DATA = ksirc.desktop

misc_DATA = ksirc.pl filters.pl autodcc.pl sirc.help.gz relnotes eventsrc
miscdir = $(kde_datadir)/ksirc

conf_DATA = ksircrc
confdir = $(kde_confdir)