I've just added new subdirectory to my project (KDevelop 2.1). I've put some .ui files in it, but 'make' failed. Here is toplevel Makefile.am:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
####### kdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = ksquirrel
## INCLUDES were found outside kdevelop specific part
ksquirrel_SOURCES = ...
ksquirrel_LDADD = ./imageedit_dlg/libimageedit_dlg.a ./imageedit_overlay/libimageedit_overlay.a $(LIB_KIO) $(LIB_KDEPRINT) $(LIB_KDEUI) $(LIB_KDECORE) $(LIB_QT) $(LIBSOCKET)
SUBDIRS = imageedit_dlg imageedit_overlay
EXTRA_DIST = ...
# set the include path for X, qt and KDE
INCLUDES= $(all_includes)
METASOURCES = AUTO
# the library search path.
ksquirrel_LDFLAGS = $(all_libraries) $(KDE_RPATH)
|
And Makefile.am in this subdirectory:
|
Source code
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
####### kdevelop will overwrite this part!!! (begin)##########
noinst_LIBRARIES = libimageedit_dlg.a
INCLUDES = $(all_includes)
libimageedit_dlg_a_METASOURCES = AUTO
libimageedit_dlg_a_SOURCES = sq_writeoption.ui sq_imagerotate.ui sq_imageresize.ui sq_imageprint.ui sq_imageeditsplash.ui sq_imageeditoptions.ui sq_imageconvert.ui sq_imagebcg.ui
EXTRA_DIST = sq_imagebcg.ui sq_imagebcg.ui.h sq_imageconvert.ui sq_imageconvert.ui.h sq_imageeditoptions.ui sq_imageeditoptions.ui.h sq_imageeditsplash.ui sq_imageeditsplash.ui.h sq_imageprint.ui sq_imageprint.ui.h sq_imageresize.ui sq_imageresize.ui.h sq_imagerotate.ui sq_imagerotate.ui.h sq_writeoption.ui
####### kdevelop will overwrite this part!!! (end)############
|
make error:
|
Source code
|
1
2
|
$ make
make: *** No rule to make target `sq_writeoption.o', needed by `libimageedit_dlg.a'. Stop.
|
but sq_writeoption.ui exists ... It seemed that ui files in subdirectory are not converted to sources. Why ?