1417N/A#
1417N/A# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
1417N/A#
1417N/A# Permission is hereby granted, free of charge, to any person obtaining a
1417N/A# copy of this software and associated documentation files (the "Software"),
1417N/A# to deal in the Software without restriction, including without limitation
1417N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
1417N/A# and/or sell copies of the Software, and to permit persons to whom the
1417N/A# Software is furnished to do so, subject to the following conditions:
1417N/A#
1417N/A# The above copyright notice and this permission notice (including the next
1417N/A# paragraph) shall be included in all copies or substantial portions of the
1417N/A# Software.
1417N/A#
1417N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1417N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1417N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
1417N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1417N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
1417N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
1417N/A# DEALINGS IN THE SOFTWARE.
1417N/A#
1417N/A
1417N/ASRCS = dsession.c
1417N/AOBJS = $(SRCS:.c=.o)
1417N/ALIBS = -lpciaccess
1417N/A
1417N/Adsession: $(OBJS)
1417N/A $(LD) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)
1417N/A
1417N/Ainstall: dsession
1417N/A mkdir -p $(DESTDIR)$(PREFIX)/lib/ConsoleKit
1417N/A $(INSTALL) -m 0544 dsession $(DESTDIR)$(PREFIX)/lib/ConsoleKit