18108eb18Smrg# 28108eb18Smrg# Copyright 2005 Red Hat, Inc. 38108eb18Smrg# 48108eb18Smrg# Permission to use, copy, modify, distribute, and sell this software and its 58108eb18Smrg# documentation for any purpose is hereby granted without fee, provided that 68108eb18Smrg# the above copyright notice appear in all copies and that both that 78108eb18Smrg# copyright notice and this permission notice appear in supporting 88108eb18Smrg# documentation, and that the name of Red Hat not be used in 98108eb18Smrg# advertising or publicity pertaining to distribution of the software without 108108eb18Smrg# specific, written prior permission. Red Hat makes no 118108eb18Smrg# representations about the suitability of this software for any purpose. It 128108eb18Smrg# is provided "as is" without express or implied warranty. 138108eb18Smrg# 148108eb18Smrg# RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 158108eb18Smrg# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 168108eb18Smrg# EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 178108eb18Smrg# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 188108eb18Smrg# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 198108eb18Smrg# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 208108eb18Smrg# PERFORMANCE OF THIS SOFTWARE. 218108eb18Smrg 225977a007SmrgSUBDIRS = man 238108eb18Smrgbin_PROGRAMS = xsm 248108eb18Smrg 255977a007SmrgSYSTEM_INIT_DIR = $(sysconfdir)/X11/xsm 268108eb18Smrg 271a650d1eSmrgAM_CFLAGS = $(XSM_CFLAGS) $(CWARNFLAGS) -DRSHCMD=\"@RSH@\" \ 288108eb18Smrg -DSYSTEM_INIT_FILE=\"$(SYSTEM_INIT_DIR)/system.xsm\" 298108eb18Smrg 308108eb18Smrgxsm_LDADD = $(XSM_LIBS) 318108eb18Smrg 328108eb18Smrgxsm_SOURCES = \ 338108eb18Smrg auth.c \ 348108eb18Smrg auth.h \ 358108eb18Smrg choose.c \ 368108eb18Smrg choose.h \ 378108eb18Smrg info.c \ 388108eb18Smrg info.h \ 398108eb18Smrg list.c \ 408108eb18Smrg list.h \ 418108eb18Smrg lock.c \ 428108eb18Smrg lock.h \ 438108eb18Smrg log.c \ 448108eb18Smrg log.h \ 458108eb18Smrg mainwin.c \ 468108eb18Smrg mainwin.h \ 478108eb18Smrg misc.c \ 488108eb18Smrg popup.c \ 498108eb18Smrg popup.h \ 508108eb18Smrg printhex.c \ 518108eb18Smrg prop.c \ 528108eb18Smrg prop.h \ 538108eb18Smrg remote.c \ 548108eb18Smrg restart.c \ 558108eb18Smrg restart.h \ 568108eb18Smrg save.c \ 578108eb18Smrg save.h \ 588108eb18Smrg saveutil.c \ 598108eb18Smrg saveutil.h \ 608108eb18Smrg signals.c \ 618108eb18Smrg xsm.c \ 628108eb18Smrg xsm.h \ 638108eb18Smrg xtwatch.c \ 648108eb18Smrg xtwatch.h 658108eb18Smrg 661a650d1eSmrg# App default files 671a650d1eSmrgDISTCHECK_CONFIGURE_FLAGS = --with-appdefaultdir=\$${datadir}/X11/app-defaults 688108eb18Smrg 698108eb18Smrgappdefaultdir = @appdefaultdir@ 708108eb18Smrg 711a650d1eSmrgdist_appdefault_DATA = \ 721a650d1eSmrg app-defaults/XSm 738108eb18Smrg 748108eb18Smrg# system init file 758108eb18Smrg 768108eb18Smrgsysteminitdir = $(SYSTEM_INIT_DIR) 778108eb18Smrg 788108eb18Smrgsysteminit_DATA = system.xsm 798108eb18Smrg 808108eb18Smrg# 818108eb18Smrg 821a650d1eSmrgEXTRA_DIST = system.xsm 838108eb18Smrg 841a650d1eSmrgMAINTAINERCLEANFILES = ChangeLog INSTALL 858108eb18Smrg 861a650d1eSmrg.PHONY: ChangeLog INSTALL 878108eb18Smrg 881a650d1eSmrgINSTALL: 891a650d1eSmrg $(INSTALL_CMD) 901a650d1eSmrg 911a650d1eSmrgChangeLog: 921a650d1eSmrg $(CHANGELOG_CMD) 931a650d1eSmrg 941a650d1eSmrgdist-hook: ChangeLog INSTALL 95