Don't start with a tiny window when started for the first time.
[kdbg.git] / kdbg / Makefile.am
blob2c13338870d1168cff670ee57ee374d19bdce849
1 ## $Id$
3 # set the include path for X, qt and KDE
4 INCLUDES= $(all_includes)
6 # claim, which subdirectories you want to install
7 SUBDIRS = doc pics typetables testprogs
9 ####### This part is very kdbg specific
10 # you can add here more. This one gets installed 
11 bin_PROGRAMS =  kdbg
13 # Which sources should be compiled for kdbg.
14 kdbg_SOURCES = \
15         pgmargs.cpp \
16         procattach.cpp \
17         procattachbase.ui \
18         tableview.cpp \
19         ktreeview.cpp \
20         textvw.cpp \
21         debugger.cpp \
22         programconfig.cpp \
23         dbgdriver.cpp \
24         gdbdriver.cpp \
25         xsldbgdriver.cpp \
26         brkpt.cpp \
27         exprwnd.cpp \
28         regwnd.cpp \
29         memwindow.cpp \
30         threadlist.cpp \
31         sourcewnd.cpp \
32         winstack.cpp \
33         ttywnd.cpp \
34         typetable.cpp \
35         prefdebugger.cpp \
36         prefmisc.cpp \
37         pgmsettings.cpp \
38         mainwndbase.cpp \
39         dbgmainwnd.cpp \
40         main.cpp
42 BUILTSOURCES = \
43         procattachbase.cpp
45 # the library search path
46 kdbg_LDFLAGS = \
47         $(all_libraries) $(KDE_RPATH)
49 # the libraries to link against.
50 if BUILD_FOR_KDE3
51 MYKDELIBS=$(LIB_KIO)
52 else
53 MYKDELIBS=$(LIB_KFILE)
54 endif
56 kdbg_LDADD = $(MYKDELIBS)
58 # this option you can leave out. Just, if you use "make dist", you need it
59 noinst_HEADERS = \
60         pgmargs.h \
61         procattach.h \
62         procattachbase.h \
63         tableview.h \
64         textvw.h \
65         valarray.h \
66         debugger.h \
67         programconfig.h \
68         dbgdriver.h \
69         gdbdriver.h \
70         xsldbgdriver.h \
71         brkpt.h \
72         exprwnd.h \
73         regwnd.h \
74         memwindow.h \
75         threadlist.h \
76         ktreeview.h \
77         sourcewnd.h \
78         winstack.h \
79         ttywnd.h \
80         typetable.h \
81         prefdebugger.h \
82         prefmisc.h \
83         pgmsettings.h \
84         mainwndbase.h \
85         dbgmainwnd.h \
86         envvar.h \
87         commandids.h \
88         mydebug.h
90 kdbg_METASOURCES = AUTO
92 # if you "make clean", this files get removed. If you want to remove
93 # them while "make distclean", use DISTCLEANFILES
94 CLEANFILES = $(kdbg_METASOURCES)
96 xdg_apps_DATA = kdbg.desktop
98 rcdir = $(kde_datadir)/kdbg
99 rc_DATA = kdbgui.rc
101 # Make messages.po and move it to $(top_srcdir)/po. "make merge" there.
102 # the -x is for skipping messages already translated in kdelibs
103 # Messages are generated in the source directory so that file names
104 # mentioned in the .pot file are not prefixed by $(srcdir).
105 messages:
106         cd $(srcdir) && \
107         extractrc *.rc *.ui > rc.cpp && \
108         LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.C` && \
109         $(XGETTEXT) -C -ki18n -kI18N_NOOP -x $(includedir)/kde.pot \
110                 $$LIST && mv messages.po $(top_srcdir)/po/kdbg.pot; \
111         rm -f rc.cpp
113 EXTRA_DIST = kdbg.desktop