blob: 5241a4f2591bdce05d338530a455cc8c151ded1c (
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
|
echo "Creating $LOCATION_ROOT/$APP_NAME_LC/Makefile.am...";
cat << EOF > $LOCATION_ROOT/$APP_NAME_LC/Makefile.am
# this has all of the subdirectories that make will recurse into. if
# there are none, comment this out
#SUBDIRS =
# this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = $APP_NAME_LC
# set the include path for X, qt and KDE
INCLUDES = \$(all_includes)
# the library search path.
${APP_NAME_LC}_LDFLAGS = \$(KDE_RPATH) \$(all_libraries)
# the libraries to link against.
${APP_NAME_LC}_LDADD = \$(LIB_KFILE)
# which sources should be compiled for $APP_NAME_LC
${APP_NAME_LC}_SOURCES = ${EXISTING_SOURCE}
# these are the headers for your project that won't be installed
noinst_HEADERS = ${EXISTING_HEADER}
# let autotqmoc handle all of the meta source files (tqmoc)
METASOURCES = AUTO
messages: rc.cpp
\$(XGETTEXT) *.cpp -o \$(podir)/${APP_NAME_LC}.pot
# this is where the desktop file will go
desktopdir = \$(kde_appsdir)/Utilities
desktop_DATA = ${APP_NAME_LC}.desktop
|