Makefile.am revision 5977a007
1# 2# Copyright 2005 Red Hat, Inc. 3# 4# Permission to use, copy, modify, distribute, and sell this software and its 5# documentation for any purpose is hereby granted without fee, provided that 6# the above copyright notice appear in all copies and that both that 7# copyright notice and this permission notice appear in supporting 8# documentation, and that the name of Red Hat not be used in 9# advertising or publicity pertaining to distribution of the software without 10# specific, written prior permission. Red Hat makes no 11# representations about the suitability of this software for any purpose. It 12# is provided "as is" without express or implied warranty. 13# 14# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20# PERFORMANCE OF THIS SOFTWARE. 21 22SUBDIRS = man 23bin_PROGRAMS = xsm 24 25SYSTEM_INIT_DIR = $(sysconfdir)/X11/xsm 26 27AM_CFLAGS = $(XSM_CFLAGS) $(CWARNFLAGS) -DRSHCMD=\"@RSH@\" \ 28 -DSYSTEM_INIT_FILE=\"$(SYSTEM_INIT_DIR)/system.xsm\" 29 30xsm_LDADD = $(XSM_LIBS) 31 32xsm_SOURCES = \ 33 auth.c \ 34 auth.h \ 35 choose.c \ 36 choose.h \ 37 info.c \ 38 info.h \ 39 list.c \ 40 list.h \ 41 lock.c \ 42 lock.h \ 43 log.c \ 44 log.h \ 45 mainwin.c \ 46 mainwin.h \ 47 misc.c \ 48 popup.c \ 49 popup.h \ 50 printhex.c \ 51 prop.c \ 52 prop.h \ 53 remote.c \ 54 restart.c \ 55 restart.h \ 56 save.c \ 57 save.h \ 58 saveutil.c \ 59 saveutil.h \ 60 signals.c \ 61 xsm.c \ 62 xsm.h \ 63 xtwatch.c \ 64 xtwatch.h 65 66# App default files 67DISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults 68 69appdefaultdir = @appdefaultdir@ 70 71dist_appdefault_DATA = \ 72 app-defaults/XSm 73 74# system init file 75 76systeminitdir = $(SYSTEM_INIT_DIR) 77 78systeminit_DATA = system.xsm 79 80# 81 82EXTRA_DIST = system.xsm 83 84MAINTAINERCLEANFILES = ChangeLog INSTALL 85 86.PHONY: ChangeLog INSTALL 87 88INSTALL: 89 $(INSTALL_CMD) 90 91ChangeLog: 92 $(CHANGELOG_CMD) 93 94dist-hook: ChangeLog INSTALL 95