1c81d8f5eSmrg# 2c81d8f5eSmrg# Copyright 2005 Red Hat, Inc. 3c81d8f5eSmrg# 4c81d8f5eSmrg# Permission to use, copy, modify, distribute, and sell this software and its 5c81d8f5eSmrg# documentation for any purpose is hereby granted without fee, provided that 6c81d8f5eSmrg# the above copyright notice appear in all copies and that both that 7c81d8f5eSmrg# copyright notice and this permission notice appear in supporting 8c81d8f5eSmrg# documentation, and that the name of Red Hat not be used in 9c81d8f5eSmrg# advertising or publicity pertaining to distribution of the software without 10c81d8f5eSmrg# specific, written prior permission. Red Hat makes no 11c81d8f5eSmrg# representations about the suitability of this software for any purpose. It 12c81d8f5eSmrg# is provided "as is" without express or implied warranty. 13c81d8f5eSmrg# 14c81d8f5eSmrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15c81d8f5eSmrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16c81d8f5eSmrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17c81d8f5eSmrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18c81d8f5eSmrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19c81d8f5eSmrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20c81d8f5eSmrg# PERFORMANCE OF THIS SOFTWARE. 21c81d8f5eSmrg 22c81d8f5eSmrginclude $(top_srcdir)/cpprules.in 23c81d8f5eSmrg 24d73e0b87Smrglibexec_PROGRAMS = launchd_startx 25c81d8f5eSmrg 26c81d8f5eSmrgAM_CPPFLAGS = -I$(srcdir)/.. -DXINITDIR=\"$(xinitrcdir)\" -DBINDIR=\"$(bindir)\" 27c81d8f5eSmrg 28c81d8f5eSmrgdist_launchd_startx_SOURCES = \ 29c81d8f5eSmrg launchd_startx.c 30c81d8f5eSmrg 31c81d8f5eSmrgCPP_FILES_FLAGS = \ 32d73e0b87Smrg -D__libexecdir__="$(libexecdir)" \ 33c81d8f5eSmrg -D__xinitrcdir__="$(xinitrcdir)" \ 34c81d8f5eSmrg -D__bindir__="$(bindir)" \ 35c81d8f5eSmrg -DBUNDLE_ID_PREFIX="$(bundleidprefix)" 36c81d8f5eSmrg 3721212451Smrgif LAUNCHAGENT_XSERVER 3821212451SmrgCPP_FILES_FLAGS += -DLAUNCHAGENT_XSERVER_PATH="$(launchagentxserver)" 3921212451Smrgendif 4021212451Smrg 41c81d8f5eSmrg$(bundleidprefix).startx.plist.cpp: startx.plist.cpp 42c81d8f5eSmrg cp $< $@ 43c81d8f5eSmrg 44c81d8f5eSmrglaunchagents_PRE = $(bundleidprefix).startx.plist.cpp 45c81d8f5eSmrglaunchagents_DATA = $(launchagents_PRE:plist.cpp=plist) 46c81d8f5eSmrg 47c81d8f5eSmrgEXTRA_DIST = startx.plist.cpp 48c81d8f5eSmrg 49c81d8f5eSmrgCLEANFILES = \ 50c81d8f5eSmrg $(launchagents_DATA) \ 51c81d8f5eSmrg $(bundleidprefix).startx.plist.cpp 52