You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
3.3 KiB
93 lines
3.3 KiB
15 years ago
|
# This file is part of the KDE libraries
|
||
|
# Copyright (C) 1999 Waldo Bastian (bastian@kde.org)
|
||
|
|
||
|
# This library is free software; you can redistribute it and/or
|
||
|
# modify it under the terms of the GNU Library General Public
|
||
|
# License version 2 as published by the Free Software Foundation.
|
||
|
|
||
|
# This library is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
# Library General Public License for more details.
|
||
|
|
||
|
# You should have received a copy of the GNU Library General Public License
|
||
|
# along with this library; see the file COPYING.LIB. If not, write to
|
||
|
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||
|
# Boston, MA 02110-1301, USA.
|
||
|
|
||
13 years ago
|
INCLUDES = -I$(srcdir)/../libltdl/ $(all_includes) $(TDEINIT_XFT_INCLUDES)
|
||
15 years ago
|
|
||
|
SUBDIRS = . tests
|
||
|
|
||
12 years ago
|
bin_PROGRAMS = tdeinit tdeinit_wrapper kshell tdeinit_shutdown lnusertemp kwrapper tdeioslave \
|
||
|
tdestartupconfig tdedostartupconfig start_tdeinit start_tdeinit_wrapper
|
||
15 years ago
|
|
||
|
lib_LTLIBRARIES =
|
||
12 years ago
|
tdeinit_LTLIBRARIES = tdelauncher.la
|
||
12 years ago
|
tdeinit_SOURCES = tdeinit.cpp setproctitle.cpp
|
||
15 years ago
|
|
||
|
# NOTE: We link against all common libraries even if we don't need them ourselves.
|
||
|
# For the future: examine if condensing the tons of *_LDFLAGS variables
|
||
|
# into $(all_libraries) isn't better
|
||
|
AM_LDFLAGS = $(LDFLAGS_AS_NEEDED) $(LDFLAGS_NEW_DTAGS)
|
||
|
|
||
13 years ago
|
tdeinit_LDFLAGS = $(KDE_MT_LDFLAGS) $(QT_LDFLAGS) $(X_LDFLAGS) $(USER_LDFLAGS) \
|
||
15 years ago
|
$(KDE_RPATH)
|
||
13 years ago
|
tdeinit_LDADD = $(LIB_KPARTS) -lXft $(LIB_QT)
|
||
15 years ago
|
|
||
12 years ago
|
tdeioslave_SOURCES = tdeioslave.cpp
|
||
|
tdeioslave_LDFLAGS = $(KDE_MT_LDFLAGS) $(QT_LDFLAGS) $(X_LDFLAGS) $(USER_LDFLAGS) \
|
||
15 years ago
|
$(KDE_RPATH)
|
||
12 years ago
|
tdeioslave_LDADD = $(LIB_KIO)
|
||
15 years ago
|
|
||
13 years ago
|
tdeinit_wrapper_SOURCES = wrapper.c
|
||
|
tdeinit_wrapper_LDADD = $(LIBSOCKET)
|
||
15 years ago
|
|
||
|
kshell_SOURCES = shell.c
|
||
|
kshell_LDADD = $(LIBSOCKET)
|
||
|
|
||
13 years ago
|
tdeinit_shutdown_SOURCES = wrapper.c
|
||
|
tdeinit_shutdown_LDADD = $(LIBSOCKET)
|
||
15 years ago
|
|
||
|
lnusertemp_SOURCES = lnusertemp.c
|
||
|
lnusertemp_LDFLAGS = $(KDE_RPATH)
|
||
|
|
||
|
kwrapper_SOURCES = kwrapper.c
|
||
|
kwrapper_LDADD = $(LIBSOCKET)
|
||
|
|
||
12 years ago
|
tdelauncher_la_LDFLAGS = $(all_libraries) -module -avoid-version
|
||
|
tdelauncher_la_LIBADD = $(LIB_KIO) $(LIB_QT) $(LIB_TDECORE) $(top_builddir)/dcop/libDCOP.la $(LIB_X11)
|
||
|
tdelauncher_la_SOURCES = tdelauncher.cpp tdelauncher_main.cpp autostart.cpp
|
||
15 years ago
|
|
||
12 years ago
|
tdestartupconfig_SOURCES = tdestartupconfig.cpp
|
||
|
tdestartupconfig_LDADD = $(top_builddir)/tdecore/libtdefakes.la $(LIB_QT)
|
||
|
tdedostartupconfig_SOURCES = tdedostartupconfig.cpp
|
||
|
tdedostartupconfig_LDFLAGS = $(KDE_MT_LDFLAGS) $(QT_LDFLAGS) $(X_LDFLAGS) $(USER_LDFLAGS) \
|
||
15 years ago
|
$(KDE_RPATH)
|
||
12 years ago
|
tdedostartupconfig_LDADD = $(LIB_TDECORE)
|
||
15 years ago
|
|
||
13 years ago
|
start_tdeinit_SOURCES = start_tdeinit.c
|
||
|
tdeinitpath = $(bindir)/tdeinit
|
||
|
start_tdeinit_CFLAGS = $(KDE_USE_FPIE) -DEXECUTE=\"$(tdeinitpath)\"
|
||
|
start_tdeinit_LDFLAGS = $(KDE_USE_PIE)
|
||
15 years ago
|
|
||
13 years ago
|
start_tdeinit_wrapper_SOURCES = start_tdeinit_wrapper.c
|
||
15 years ago
|
|
||
|
METASOURCES = AUTO
|
||
|
|
||
12 years ago
|
noinst_HEADERS = tdelauncher.h autostart.h tdelauncher_cmds.h setproctitle.h
|
||
15 years ago
|
|
||
|
kwrapper.o: wrapper.c
|
||
|
|
||
|
shell.o: wrapper.c
|
||
|
|
||
|
dummy.cpp:
|
||
|
echo > dummy.cpp
|
||
|
|
||
|
install-exec-hook:
|
||
13 years ago
|
@if test \${TDEINIT_SETUID} != 0; then \
|
||
13 years ago
|
(chown 0 $(DESTDIR)$(bindir)/start_tdeinit && chmod 4755 $(DESTDIR)$(bindir)/start_tdeinit) || echo "Please make start_tdeinit setuid root" ; \
|
||
15 years ago
|
fi
|
||
|
|
||
|
include $(top_srcdir)/admin/Doxyfile.am
|