11a30de1fSmrg# 
21a30de1fSmrg#  Copyright 2005  Red Hat, Inc.
31a30de1fSmrg# 
41a30de1fSmrg#  Permission to use, copy, modify, distribute, and sell this software and its
51a30de1fSmrg#  documentation for any purpose is hereby granted without fee, provided that
61a30de1fSmrg#  the above copyright notice appear in all copies and that both that
71a30de1fSmrg#  copyright notice and this permission notice appear in supporting
81a30de1fSmrg#  documentation, and that the name of Red Hat not be used in
91a30de1fSmrg#  advertising or publicity pertaining to distribution of the software without
101a30de1fSmrg#  specific, written prior permission.  Red Hat makes no
111a30de1fSmrg#  representations about the suitability of this software for any purpose.  It
121a30de1fSmrg#  is provided "as is" without express or implied warranty.
131a30de1fSmrg# 
141a30de1fSmrg#  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
151a30de1fSmrg#  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
161a30de1fSmrg#  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
171a30de1fSmrg#  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
181a30de1fSmrg#  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
191a30de1fSmrg#  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
201a30de1fSmrg#  PERFORMANCE OF THIS SOFTWARE.
211a30de1fSmrg
22ce62200cSmrgSUBDIRS=man
231a30de1fSmrgbin_PROGRAMS = xmodmap
241a30de1fSmrg
25b7fb5eacSmrgAM_CFLAGS = $(CWARNFLAGS) $(XMODMAP_CFLAGS)
26b7fb5eacSmrgxmodmap_LDADD = $(XMODMAP_LIBS)
271a30de1fSmrg
281a30de1fSmrgxmodmap_SOURCES =	\
291a30de1fSmrg        exec.c \
301a30de1fSmrg        handle.c \
311a30de1fSmrg        pf.c \
321a30de1fSmrg        wq.h \
331a30de1fSmrg        xmodmap.c \
341a30de1fSmrg        xmodmap.h
351a30de1fSmrg
361a30de1fSmrgEXTRA_DIST = \
37ce62200cSmrg        autogen.sh \
38423b239cSmrg        README.md \
391a30de1fSmrg	swap.km
401a30de1fSmrg
41ce62200cSmrgMAINTAINERCLEANFILES = ChangeLog INSTALL
421a30de1fSmrg
43ce62200cSmrg.PHONY: ChangeLog INSTALL
441a30de1fSmrg
45ce62200cSmrgINSTALL:
46ce62200cSmrg	$(INSTALL_CMD)
471a30de1fSmrg
481a30de1fSmrgChangeLog:
49b7fb5eacSmrg	$(CHANGELOG_CMD)
501a30de1fSmrg
51ce62200cSmrgdist-hook: ChangeLog INSTALL
521a30de1fSmrg
531a30de1fSmrgif LINT
541a30de1fSmrgALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
551a30de1fSmrg		$(AM_CPPFLAGS) $(CPPFLAGS)
561a30de1fSmrg
571a30de1fSmrglint:
581a30de1fSmrg	$(LINT) $(ALL_LINT_FLAGS) $(AM_CFLAGS) $(xmodmap_SOURCES)
591a30de1fSmrgendif LINT
60