mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-24 06:04:16 +03:00
17cc772cf3
We really want the ability to take a .tar.gz and directly import it into a repository, without creating a temporary filesystem tree. First, doing it this way is significantly faster. Also, this allows us to handle importing tar files with e.g. uid 0 files into packed repositories as non-root, which is very useful for tests and builds.
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
# Makefile for C source code
|
|
#
|
|
# Copyright (C) 2011 Colin Walters <walters@verbum.org>
|
|
#
|
|
# This library 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 of the License, or (at your option) any later version.
|
|
#
|
|
# This library 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 library; if not, write to the
|
|
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
# Boston, MA 02111-1307, USA.
|
|
|
|
privlib_LTLIBRARIES += libostree.la
|
|
|
|
libostree_la_SOURCES = src/libostree/ostree.h \
|
|
src/libostree/ostree-core.c \
|
|
src/libostree/ostree-core.h \
|
|
src/libostree/ostree-repo.c \
|
|
src/libostree/ostree-repo.h \
|
|
src/libostree/ostree-repo-file.c \
|
|
src/libostree/ostree-repo-file.h \
|
|
src/libostree/ostree-repo-file-enumerator.c \
|
|
src/libostree/ostree-repo-file-enumerator.h \
|
|
src/libostree/ostree-checkout.c \
|
|
src/libostree/ostree-checkout.h \
|
|
$(NULL)
|
|
if USE_LIBARCHIVE
|
|
libostree_la_SOURCES += src/libostree/ostree-libarchive-input-stream.h \
|
|
src/libostree/ostree-libarchive-input-stream.c \
|
|
$(NULL)
|
|
endif
|
|
|
|
libostree_la_CFLAGS = $(AM_CFLAGS) -I$(srcdir)/src/libotutil -I$(srcdir)/src/libostree -DLOCALEDIR=\"$(datadir)/locale\" $(OT_DEP_GIO_UNIX_CFLAGS)
|
|
libostree_la_LIBADD = libotutil.la $(OT_DEP_GIO_UNIX_LIBS)
|
|
|
|
if USE_LIBARCHIVE
|
|
libostree_la_CFLAGS += $(OT_DEP_LIBARCHIVE_CFLAGS)
|
|
libostree_la_LIBADD += $(OT_DEP_LIBARCHIVE_LIBS)
|
|
endif
|