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