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=config doc man 23 24bin_PROGRAMS = xfs 25 26AM_CPPFLAGS = $(XFS_CFLAGS) -I$(top_srcdir)/include -DXFSPIDDIR=\"/var/run\" \ 27 -D_BSD_SOURCE -DFONT_t -DTRANS_SERVER -DTRANS_REOPEN 28 29AM_CFLAGS = $(CWARNFLAGS) 30 31ACLOCAL_AMFLAGS = -I m4 32 33LDADD = $(XFS_LIBS) 34 35xfs_SOURCES = \ 36 difs/atom.c \ 37 difs/charinfo.c \ 38 difs/difsutils.c \ 39 difs/dispatch.c \ 40 difs/events.c \ 41 difs/extensions.c \ 42 difs/fontinfo.c \ 43 difs/fonts.c \ 44 difs/globals.c \ 45 difs/initfonts.c \ 46 difs/main.c \ 47 difs/resource.c \ 48 difs/swaprep.c \ 49 difs/swapreq.c \ 50 difs/tables.c \ 51 os/access.c \ 52 os/config.c \ 53 os/configstr.h \ 54 os/connection.c \ 55 os/daemon.c \ 56 os/error.c \ 57 os/io.c \ 58 os/osdep.h \ 59 os/osglue.c \ 60 os/osinit.c \ 61 os/utils.c \ 62 os/waitfor.c \ 63 os/xfstrans.c \ 64 include/access.h \ 65 include/assert.h \ 66 include/auth.h \ 67 include/authstr.h \ 68 include/client.h \ 69 include/clientstr.h \ 70 include/closestr.h \ 71 include/closure.h \ 72 include/difsfn.h \ 73 include/difsfnst.h \ 74 include/difs.h \ 75 include/difsutils.h \ 76 include/dispatch.h \ 77 include/extentst.h \ 78 include/fsevents.h \ 79 include/fsresource.h \ 80 include/globals.h \ 81 include/misc.h \ 82 include/os.h \ 83 include/osstruct.h \ 84 include/servermd.h \ 85 include/site.h \ 86 include/swaprep.h \ 87 include/swapreq.h 88 89MAINTAINERCLEANFILES = ChangeLog INSTALL 90 91.PHONY: ChangeLog INSTALL 92 93INSTALL: 94 $(INSTALL_CMD) 95 96ChangeLog: 97 $(CHANGELOG_CMD) 98 99dist-hook: ChangeLog INSTALL 100 101if LINT 102ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 103 $(AM_CPPFLAGS) $(CPPFLAGS) 104 105lint: 106 $(LINT) $(ALL_LINT_FLAGS) $(xfs_SOURCES) 107endif LINT 108