qubes-installer-qubes-os/anaconda/pyanaconda/isys/Makefile.am
2013-01-24 01:45:53 +01:00

57 lines
2.1 KiB
Makefile

# isys/Makefile.am for anaconda
#
# Copyright (C) 2009 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Author: David Cantrell <dcantrell@redhat.com>
pkgpyexecdir = $(pyexecdir)/py$(PACKAGE_NAME)
ISYS_SRCS = devices.c imount.c lang.c \
isofs.c linkdetect.c vio.c ethtool.c eddsupport.c iface.c \
auditd.c log.c mem.c
dist_noinst_HEADERS = *.h
ISYS_CFLAGS = -DVERSION='"$(PACKAGE_VERSION)"' $(NFS_CFLAGS) \
$(NETWORKMANAGER_CFLAGS) $(LIBNL_CFLAGS) $(LIBNM_GLIB_CFLAGS) \
$(SELINUX_CFLAGS)
ISYS_LIBS = $(RESOLV_LIBS) $(EXT2FS_LIBS) $(ZLIB_LIBS) \
$(DEVMAPPER_LIBS) $(BLKID_LIBS) $(X11_LIBS) $(SELINUX_LIBS) \
$(LIBNL_LIBS) $(LIBNM_GLIB_LIBS)
isysdir = $(pkgpyexecdir)/isys
isys_PYTHON = *.py
pkgpyexec_LTLIBRARIES = _isys.la
_isys_la_CFLAGS = $(PYTHON_INCLUDES) $(ISYS_CFLAGS)
_isys_la_LDFLAGS = -module -avoid-version $(PYTHON_LDFLAGS)
_isys_la_LIBADD = $(PYTHON_LIBS) $(ISYS_LIBS)
_isys_la_SOURCES = isys.c $(ISYS_SRCS)
noinst_LTLIBRARIES = libisys.la
libisys_la_CFLAGS = $(ISYS_CFLAGS)
libisys_la_LDFLAGS = -static
libisys_la_LIBADD = $(ISYS_LIBS)
libisys_la_SOURCES = $(ISYS_SRCS)
auditddir = $(libexecdir)/$(PACKAGE_NAME)
auditd_PROGRAMS = auditd
auditd_SOURCES = auditd.c
auditd_CFLAGS = -DSTANDALONE $(SELINUX_CFLAGS)
auditd_LDADD = $(SELINUX_LIBS) $(LIBNL_LIBS)
MAINTAINERCLEANFILES = Makefile.in