1
## Makefile.am for %{APPNAMELC}
3
# this is the program that gets installed. it's name is used for all
4
# of the other Makefile.am variables
5
bin_PROGRAMS = %{APPNAMELC}
7
# set the include path for X, qt and KDE
8
INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR)
10
# the library search path.
11
%{APPNAMELC}_LDFLAGS = $(all_libraries) $(KDE_RPATH) -L$(RUBY_LIBDIR)
13
# the libraries to link against.
14
%{APPNAMELC}_LDADD = $(LIB_KFILE) $(LIB_KDEPRINT) $(RUBY_LIBRUBYARG)
16
# which sources should be compiled for %{APPNAMELC}
17
%{APPNAMELC}_SOURCES = %{APPNAMELC}.cpp
19
# let automoc handle all of the meta source files (moc)
24
# this is where the kdelnk file will go
25
kdelnkdir = $(kde_appsdir)/Utilities
26
kdelnk_DATA = %{APPNAMELC}.desktop
28
# this is where the XML-GUI resource file goes
29
rcdir = $(kde_datadir)/%{APPNAMELC}
30
rc_DATA = %{APPNAMELC}ui.rc
32
rubysrc_DATA = main.rb %{APPNAMELC}.rb %{APPNAMELC}_client.rb %{APPNAMELC}iface.rb \
33
%{APPNAMELC}view.rb pref.rb
35
rubysrcdir = $(kde_datadir)/%{APPNAMELC}
39
rubyuidir = $(kde_datadir)/%{APPNAMELC}
42
$(RBUIC) -tr ${UIC_TR} -kde $< -o $@