Almost -> Hello World!

Hello! I know I must take the efforts of learning C..! I need to recompile a binary with the following at the beginning: test if a file exists, remove it and exit. All in "C". As simple as this in sh:

file=/tmp/filename
if [ -f $file ]; then
    rm -f $file
    exit 0
fi

Thanks!

I think there are a lot of us here who could write that in C in a matter of a few minutes, but you'd not learn anything if any of us did. Thus, I'll offer a few pointers:

  • look at using argc and argv to get the file name from the command line[]Use the stat() function to determine whether the file exists.[]Use the unlink() funciton to remove the file if it exists

Use the man command to determine the calling parameters and how they work. Have fun -- C is a wonderful language.

Hi, agama! Don't forsake me this time! I know I need to learn C, but what you said to me is like speaking in greek! I'm wrestling with a broken binary which is called by initramfs, I tried doing a gpkg-divert on the binary and calling it from a shell script. Something like:

#!/bin/sh

file=/tmp/filename
if [ -f $file ]; then
    rm -f $file
    exit 0
else
    $0.debian $@ # the name of the diverted binary
fi

Now, the binary is called in the beginning of boot, and it tells: /sbin/binary.debian: not found (while the binary is there...) The script works flawlessly, but fails when called by initramfs.

So I found that I should include this piece of code in the C source, but I don't understand a single piece of code in C and I'm in a big hurry.

I even feel like developing some tools in C (which is IMO the best language - powerful and lightweight), but it's too much for me in such a hurry.

Thanks!

Your request sounded like a homework problem.

Here is a simple programme that unlinks the file named on the command line. You should be able to adapt it to your needs.

#include <unistd.h>
#include <fcntl.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>


int main( int argc, char **argv )
{
        struct stat buf;

        if( argc <= 1 )
                return;                 // no filename supplied on command line

        if( stat( argv[1], &buf ) >= 0 )        // assume success means the file is there
                unlink( argv[1] );

        return 0;
}
1 Like

Oh, thanks! I actually got it with:

FILE *fp = fopen("/tmp/filename","r");
if( fp ) {
    unlink("/tmp/filename");
    exit(EXIT_SUCCESS);
fclose(fp);
}

But unfortunately I thought I would just paste it in the beginning of some int main() and it would work, but is far beyond that... Too many source files and none of them worked. Thanks anyway!

Free the file descriptor back to the system and then unlink it.

1 Like

Oh, I understand! Thanks! The problem now is that I don't know where to paste this piece of code. I don't know which source file generates the binary... There are too many source files, and none of them is named like the originated binary... From the Makefile is difficult to find it out.

Without you posting the Makefile, it will be difficult for anybody here to help you.

Thanks for your interest in helping me!

To make things clearer: plymouth is the new splash for *NIX. Works much better than splashy (usplash is already being deprecated).
It crashes if waking up from hibernation. I though I could rename plymouthd to plymouthd.debian and then call it from a script. But since
it is called from initramfs, it tells me it couldn't find plymouthd.debian (even if I give the whole path or $0.debian). The script would exit if
a file exists (file generated when going to hibernate). Then I tried the same directly in the source.

Well, there are a few Makefiles. The one from the directory where the the binary is generated I couldn't upload (invalid file extension). I
think it might be much easier for you, who is experienced, to download the whole source. So here it goes that Makefile. BTW, the binary
is called plymouthd. The package is the source for plymouth distributed by debian Debian -- Details of package plymouth in sid.

# Makefile.in generated by automake 1.11.1 from Makefile.am.
# src/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.





pkgdatadir = $(datadir)/plymouth
pkgincludedir = $(includedir)/plymouth
pkglibdir = $(libdir)/plymouth
pkglibexecdir = $(libexecdir)/plymouth
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i486-pc-linux-gnu
host_triplet = i486-pc-linux-gnu
plymouthdbin_PROGRAMS = plymouthd$(EXEEXT)
subdir = src
DIST_COMMON = $(dist_plymouthd_conf_DATA) \
    $(dist_plymouthd_defaults_DATA) $(srcdir)/Makefile.am \
    $(srcdir)/Makefile.in $(srcdir)/ply-splash-core.pc.in \
    $(srcdir)/ply-splash-graphics.pc.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
    $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    $(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = ply-splash-core.pc ply-splash-graphics.pc
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(plymouthdbindir)" \
    "$(DESTDIR)$(plymouthd_confdir)" \
    "$(DESTDIR)$(plymouthd_defaultsdir)" \
    "$(DESTDIR)$(pkgconfigdir)"
PROGRAMS = $(plymouthdbin_PROGRAMS)
am_plymouthd_OBJECTS = plymouthd-ply-boot-server.$(OBJEXT) \
    plymouthd-main.$(OBJEXT)
plymouthd_OBJECTS = $(am_plymouthd_OBJECTS)
am__DEPENDENCIES_1 =
plymouthd_DEPENDENCIES = $(am__DEPENDENCIES_1) libply/libply.la \
    libply-splash-core/libply-splash-core.la
AM_V_lt = $(am__v_lt_$(V))
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
am__v_lt_0 = --silent
plymouthd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
    $(LIBTOOLFLAGS) --mode=link $(CCLD) $(plymouthd_CFLAGS) \
    $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
DEFAULT_INCLUDES = -I. -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/build-tools/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
    $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
    $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
    $(AM_CFLAGS) $(CFLAGS)
AM_V_CC = $(am__v_CC_$(V))
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
am__v_CC_0 = @echo "  CC    " $@;
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
CCLD = $(CC)
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
    $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
    $(AM_LDFLAGS) $(LDFLAGS) -o $@
AM_V_CCLD = $(am__v_CCLD_$(V))
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
am__v_CCLD_0 = @echo "  CCLD  " $@;
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo "  GEN   " $@;
SOURCES = $(plymouthd_SOURCES)
DIST_SOURCES = $(plymouthd_SOURCES)
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
    html-recursive info-recursive install-data-recursive \
    install-dvi-recursive install-exec-recursive \
    install-html-recursive install-info-recursive \
    install-pdf-recursive install-ps-recursive install-recursive \
    installcheck-recursive installdirs-recursive pdf-recursive \
    ps-recursive uninstall-recursive
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
  for p in $$list; do echo "$$p $$p"; done | \
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    if (++n[$$2] == $(am__install_max)) \
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    END { for (dir in files) print dir, files[dir] }'
am__base_list = \
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
DATA = $(dist_plymouthd_conf_DATA) $(dist_plymouthd_defaults_DATA) \
    $(pkgconfig_DATA)
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive    \
  distclean-recursive maintainer-clean-recursive
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
    $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
    distdir
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
am__relativize = \
  dir0=`pwd`; \
  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
  sed_rest='s,^[^/]*/*,,'; \
  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
  sed_butlast='s,/*[^/]*$$,,'; \
  while test -n "$$dir1"; do \
    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
    if test "$$first" != "."; then \
      if test "$$first" = ".."; then \
        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
      else \
        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
        if test "$$first2" = "$$first"; then \
          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
        else \
          dir2="../$$dir2"; \
        fi; \
        dir0="$$dir0"/"$$first"; \
      fi; \
    fi; \
    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
  done; \
  reldir="$$dir2"
ACLOCAL = ${SHELL} /home/teresaejunior/plymouth/ply/plymouth-0.8.3/build-tools/missing --run aclocal-1.11
AMTAR = ${SHELL} /home/teresaejunior/plymouth/ply/plymouth-0.8.3/build-tools/missing --run tar
AM_DEFAULT_VERBOSITY = 0
AR = ar
AUTOCONF = ${SHELL} /home/teresaejunior/plymouth/ply/plymouth-0.8.3/build-tools/missing --run autoconf
AUTOHEADER = ${SHELL} /home/teresaejunior/plymouth/ply/plymouth-0.8.3/build-tools/missing --run autoheader
AUTOMAKE = ${SHELL} /home/teresaejunior/plymouth/ply/plymouth-0.8.3/build-tools/missing --run automake-1.11
AWK = gawk
CC = gcc
CCDEPMODE = depmode=none
CFLAGS = -g -O2
CPP = gcc -E
CPPFLAGS = 
CYGPATH_W = echo
DEFS = -DHAVE_CONFIG_H
DEPDIR = .deps
DRM_CFLAGS = -I/usr/include/libdrm -I/usr/include/nouveau  
DRM_LIBS = -ldrm_intel -ldrm -ldrm_radeon -ldrm_nouveau  
DSYMUTIL = 
DUMPBIN = 
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = /bin/grep -E
EXEEXT = 
FGREP = /bin/grep -F
GREP = /bin/grep
GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
GTK_LIBS = -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lgio-2.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  
IMAGE_CFLAGS = -I/usr/include/libpng12  
IMAGE_LIBS = -lpng12  
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LD = /usr/bin/ld
LDFLAGS = 
LIBOBJS = 
LIBS = 
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIPO = 
LN_S = ln -s
LTLIBOBJS = 
LT_AGE = 0
LT_CURRENT = 2
LT_REVISION = 0
MAINT = #
MAKEINFO = ${SHELL} /home/teresaejunior/plymouth/ply/plymouth-0.8.3/build-tools/missing --run makeinfo
MKDIR_P = /bin/mkdir -p
NM = /usr/bin/nm -B
NMEDIT = 
OBJDUMP = objdump
OBJEXT = o
OTOOL = 
OTOOL64 = 
PACKAGE = plymouth
PACKAGE_BUGREPORT = https://bugs.freedesktop.org/enter_bug.cgi?product=plymouth
PACKAGE_NAME = plymouth
PACKAGE_STRING = plymouth 0.8.3
PACKAGE_TARNAME = plymouth
PACKAGE_VERSION = 0.8.3
PANGO_CFLAGS = -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  
PANGO_LIBS = -pthread -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0  
PATH_SEPARATOR = :
PKG_CONFIG = /usr/bin/pkg-config
PLYMOUTH_CFLAGS =   -Wall -Wno-sign-compare -Wno-deprecated-declarations
PLYMOUTH_CONF_DIR = /etc/plymouth/
PLYMOUTH_DATADIR = /usr/share
PLYMOUTH_LIBDIR = /usr/lib
PLYMOUTH_LIBEXECDIR = /usr/lib/plymouth
PLYMOUTH_LIBS = -lm -lrt -ldl
PLYMOUTH_PLUGIN_PATH = /usr/lib/plymouth/
PLYMOUTH_POLICY_DIR = /usr/share/plymouth/
PLYMOUTH_THEME_PATH = /usr/share/plymouth/themes
RANLIB = ranlib
RELEASE_FILE = /etc/debian_version
SED = /bin/sed
SET_MAKE = 
SHELL = /bin/bash
STRIP = strip
VERSION = 0.8.3
abs_builddir = /home/teresaejunior/plymouth/ply/plymouth-0.8.3/src
abs_srcdir = /home/teresaejunior/plymouth/ply/plymouth-0.8.3/src
abs_top_builddir = /home/teresaejunior/plymouth/ply/plymouth-0.8.3
abs_top_srcdir = /home/teresaejunior/plymouth/ply/plymouth-0.8.3
ac_ct_CC = gcc
ac_ct_DUMPBIN = 
am__include = include
am__leading_dot = .
am__quote = 
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
background_color = 0x005a8a
background_end_color = 0x3a362f
background_start_color = 0x807c71
bindir = ${exec_prefix}/bin
build = i486-pc-linux-gnu
build_alias = i486-linux-gnu
build_cpu = i486
build_os = linux-gnu
build_vendor = pc
builddir = .
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
exec_prefix = ${prefix}
host = i486-pc-linux-gnu
host_alias = 
host_cpu = i486
host_os = linux-gnu
host_vendor = pc
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = ${prefix}/share/info
install_sh = ${SHELL} /home/teresaejunior/plymouth/ply/plymouth-0.8.3/build-tools/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${prefix}/lib/plymouth
localedir = ${datarootdir}/locale
localstatedir = /var
logofile = /usr/share/plymouth/debian-logo.png
lt_ECHO = echo
mandir = ${prefix}/share/man
mkdir_p = /bin/mkdir -p
oldincludedir = /usr/include
pdfdir = ${docdir}
plymouthclientdir = /bin
plymouthdaemondir = /sbin
prefix = /usr
program_transform_name = s,x,x,
psdir = ${docdir}
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = .
sysconfdir = /etc
target_alias = 
top_build_prefix = ../
top_builddir = ..
top_srcdir = ..
SUBDIRS = libply libply-splash-core libply-splash-graphics . plugins client viewer tests
INCLUDES = -I$(top_srcdir)                                                    \
           -I$(srcdir)/libply                                                 \
           -I$(srcdir)/libply-splash-core                                     \
           -I$(srcdir)                                                        \
           -DPLYMOUTH_LOG_DIRECTORY=\"$(localstatedir)/log\"                  \
           -DPLYMOUTH_SPOOL_DIRECTORY=\"$(localstatedir)/spool/plymouth\"     \
           -DPLYMOUTH_TIME_DIRECTORY=\"$(localstatedir)/lib/plymouth/\"       \
           -DPLYMOUTH_LOGO_FILE=\"$(logofile)\"

plymouthdbindir = $(plymouthdaemondir)
plymouthd_CFLAGS = $(PLYMOUTH_CFLAGS)                                         \
           -DPLYMOUTH_PLUGIN_PATH=\"$(PLYMOUTH_PLUGIN_PATH)\"         \
           -DPLYMOUTH_THEME_PATH=\"$(PLYMOUTH_THEME_PATH)/\"          \
           -DPLYMOUTH_POLICY_DIR=\"$(PLYMOUTH_POLICY_DIR)/\"          \
           -DPLYMOUTH_CONF_DIR=\"$(PLYMOUTH_CONF_DIR)/\"

plymouthd_LDADD = $(PLYMOUTH_LIBS) libply/libply.la libply-splash-core/libply-splash-core.la
plymouthd_SOURCES = \
                   ply-boot-protocol.h                                        \
                   ply-boot-server.h                                          \
                   ply-boot-server.c                                          \
                   main.c

plymouthdrundir = $(localstatedir)/run/plymouth
plymouthdspooldir = $(localstatedir)/spool/plymouth
plymouthdtimedir = $(localstatedir)/lib/plymouth
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = ply-splash-core.pc ply-splash-graphics.pc
plymouthd_defaultsdir = $(PLYMOUTH_POLICY_DIR)
dist_plymouthd_defaults_DATA = plymouthd.defaults
plymouthd_confdir = $(PLYMOUTH_CONF_DIR)
dist_plymouthd_conf_DATA = plymouthd.conf
EXTRA_DIST = ply-splash-core.pc.in ply-splash-graphics.pc.in
MAINTAINERCLEANFILES = Makefile.in
all: all-recursive

.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am  $(am__configure_deps)
    @for dep in $?; do \
      case '$(am__configure_deps)' in \
        *$$dep*) \
          ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
            && { if test -f $@; then exit 0; else break; fi; }; \
          exit 1;; \
      esac; \
    done; \
    echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
    $(am__cd) $(top_srcdir) && \
      $(AUTOMAKE) --gnu src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    @case '$?' in \
      *config.status*) \
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
      *) \
        echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
    esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure: # $(am__configure_deps)
    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
ply-splash-core.pc: $(top_builddir)/config.status $(srcdir)/ply-splash-core.pc.in
    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
ply-splash-graphics.pc: $(top_builddir)/config.status $(srcdir)/ply-splash-graphics.pc.in
    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
install-plymouthdbinPROGRAMS: $(plymouthdbin_PROGRAMS)
    @$(NORMAL_INSTALL)
    test -z "$(plymouthdbindir)" || $(MKDIR_P) "$(DESTDIR)$(plymouthdbindir)"
    @list='$(plymouthdbin_PROGRAMS)'; test -n "$(plymouthdbindir)" || list=; \
    for p in $$list; do echo "$$p $$p"; done | \
    sed 's/$(EXEEXT)$$//' | \
    while read p p1; do if test -f $$p || test -f $$p1; \
      then echo "$$p"; echo "$$p"; else :; fi; \
    done | \
    sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
        -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
    sed 'N;N;N;s,\n, ,g' | \
    $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
      { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
        if ($$2 == $$4) files[d] = files[d] " " $$1; \
        else { print "f", $$3 "/" $$4, $$1; } } \
      END { for (d in files) print "f", d, files[d] }' | \
    while read type dir files; do \
        if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
        test -z "$$files" || { \
        echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(plymouthdbindir)$$dir'"; \
        $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(plymouthdbindir)$$dir" || exit $$?; \
        } \
    ; done

uninstall-plymouthdbinPROGRAMS:
    @$(NORMAL_UNINSTALL)
    @list='$(plymouthdbin_PROGRAMS)'; test -n "$(plymouthdbindir)" || list=; \
    files=`for p in $$list; do echo "$$p"; done | \
      sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
          -e 's/$$/$(EXEEXT)/' `; \
    test -n "$$list" || exit 0; \
    echo " ( cd '$(DESTDIR)$(plymouthdbindir)' && rm -f" $$files ")"; \
    cd "$(DESTDIR)$(plymouthdbindir)" && rm -f $$files

clean-plymouthdbinPROGRAMS:
    @list='$(plymouthdbin_PROGRAMS)'; test -n "$$list" || exit 0; \
    echo " rm -f" $$list; \
    rm -f $$list || exit $$?; \
    test -n "$(EXEEXT)" || exit 0; \
    list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
    echo " rm -f" $$list; \
    rm -f $$list
plymouthd$(EXEEXT): $(plymouthd_OBJECTS) $(plymouthd_DEPENDENCIES) 
    @rm -f plymouthd$(EXEEXT)
    $(AM_V_CCLD)$(plymouthd_LINK) $(plymouthd_OBJECTS) $(plymouthd_LDADD) $(LIBS)

mostlyclean-compile:
    -rm -f *.$(OBJEXT)

distclean-compile:
    -rm -f *.tab.c

#include ./$(DEPDIR)/plymouthd-main.Po
#include ./$(DEPDIR)/plymouthd-ply-boot-server.Po

.c.o:
#    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
#    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
    $(AM_V_CC) \
#    source='$<' object='$@' libtool=no 
#    DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
    $(COMPILE) -c $<

.c.obj:
#    $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
#    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
    $(AM_V_CC) \
#    source='$<' object='$@' libtool=no 
#    DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
    $(COMPILE) -c `$(CYGPATH_W) '$<'`

.c.lo:
#    $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
#    $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
    $(AM_V_CC) \
#    source='$<' object='$@' libtool=yes 
#    DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
    $(LTCOMPILE) -c -o $@ $<

plymouthd-ply-boot-server.o: ply-boot-server.c
#    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plymouthd_CFLAGS) $(CFLAGS) -MT plymouthd-ply-boot-server.o -MD -MP -MF $(DEPDIR)/plymouthd-ply-boot-server.Tpo -c -o plymouthd-ply-boot-server.o `test -f 'ply-boot-server.c' || echo '$(srcdir)/'`ply-boot-server.c
#    $(AM_V_at)$(am__mv) $(DEPDIR)/plymouthd-ply-boot-server.Tpo $(DEPDIR)/plymouthd-ply-boot-server.Po
    $(AM_V_CC) \
#    source='ply-boot-server.c' object='plymouthd-ply-boot-server.o' libtool=no 
#    DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plymouthd_CFLAGS) $(CFLAGS) -c -o plymouthd-ply-boot-server.o `test -f 'ply-boot-server.c' || echo '$(srcdir)/'`ply-boot-server.c

plymouthd-ply-boot-server.obj: ply-boot-server.c
#    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plymouthd_CFLAGS) $(CFLAGS) -MT plymouthd-ply-boot-server.obj -MD -MP -MF $(DEPDIR)/plymouthd-ply-boot-server.Tpo -c -o plymouthd-ply-boot-server.obj `if test -f 'ply-boot-server.c'; then $(CYGPATH_W) 'ply-boot-server.c'; else $(CYGPATH_W) '$(srcdir)/ply-boot-server.c'; fi`
#    $(AM_V_at)$(am__mv) $(DEPDIR)/plymouthd-ply-boot-server.Tpo $(DEPDIR)/plymouthd-ply-boot-server.Po
    $(AM_V_CC) \
#    source='ply-boot-server.c' object='plymouthd-ply-boot-server.obj' libtool=no 
#    DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plymouthd_CFLAGS) $(CFLAGS) -c -o plymouthd-ply-boot-server.obj `if test -f 'ply-boot-server.c'; then $(CYGPATH_W) 'ply-boot-server.c'; else $(CYGPATH_W) '$(srcdir)/ply-boot-server.c'; fi`

plymouthd-main.o: main.c
#    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plymouthd_CFLAGS) $(CFLAGS) -MT plymouthd-main.o -MD -MP -MF $(DEPDIR)/plymouthd-main.Tpo -c -o plymouthd-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
#    $(AM_V_at)$(am__mv) $(DEPDIR)/plymouthd-main.Tpo $(DEPDIR)/plymouthd-main.Po
    $(AM_V_CC) \
#    source='main.c' object='plymouthd-main.o' libtool=no 
#    DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plymouthd_CFLAGS) $(CFLAGS) -c -o plymouthd-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c

plymouthd-main.obj: main.c
#    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plymouthd_CFLAGS) $(CFLAGS) -MT plymouthd-main.obj -MD -MP -MF $(DEPDIR)/plymouthd-main.Tpo -c -o plymouthd-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
#    $(AM_V_at)$(am__mv) $(DEPDIR)/plymouthd-main.Tpo $(DEPDIR)/plymouthd-main.Po
    $(AM_V_CC) \
#    source='main.c' object='plymouthd-main.obj' libtool=no 
#    DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) 
    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plymouthd_CFLAGS) $(CFLAGS) -c -o plymouthd-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`

mostlyclean-libtool:
    -rm -f *.lo

clean-libtool:
    -rm -rf .libs _libs
install-dist_plymouthd_confDATA: $(dist_plymouthd_conf_DATA)
    @$(NORMAL_INSTALL)
    test -z "$(plymouthd_confdir)" || $(MKDIR_P) "$(DESTDIR)$(plymouthd_confdir)"
    @list='$(dist_plymouthd_conf_DATA)'; test -n "$(plymouthd_confdir)" || list=; \
    for p in $$list; do \
      if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
      echo "$$d$$p"; \
    done | $(am__base_list) | \
    while read files; do \
      echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plymouthd_confdir)'"; \
      $(INSTALL_DATA) $$files "$(DESTDIR)$(plymouthd_confdir)" || exit $$?; \
    done

uninstall-dist_plymouthd_confDATA:
    @$(NORMAL_UNINSTALL)
    @list='$(dist_plymouthd_conf_DATA)'; test -n "$(plymouthd_confdir)" || list=; \
    files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
    test -n "$$files" || exit 0; \
    echo " ( cd '$(DESTDIR)$(plymouthd_confdir)' && rm -f" $$files ")"; \
    cd "$(DESTDIR)$(plymouthd_confdir)" && rm -f $$files
install-dist_plymouthd_defaultsDATA: $(dist_plymouthd_defaults_DATA)
    @$(NORMAL_INSTALL)
    test -z "$(plymouthd_defaultsdir)" || $(MKDIR_P) "$(DESTDIR)$(plymouthd_defaultsdir)"
    @list='$(dist_plymouthd_defaults_DATA)'; test -n "$(plymouthd_defaultsdir)" || list=; \
    for p in $$list; do \
      if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
      echo "$$d$$p"; \
    done | $(am__base_list) | \
    while read files; do \
      echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(plymouthd_defaultsdir)'"; \
      $(INSTALL_DATA) $$files "$(DESTDIR)$(plymouthd_defaultsdir)" || exit $$?; \
    done

uninstall-dist_plymouthd_defaultsDATA:
    @$(NORMAL_UNINSTALL)
    @list='$(dist_plymouthd_defaults_DATA)'; test -n "$(plymouthd_defaultsdir)" || list=; \
    files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
    test -n "$$files" || exit 0; \
    echo " ( cd '$(DESTDIR)$(plymouthd_defaultsdir)' && rm -f" $$files ")"; \
    cd "$(DESTDIR)$(plymouthd_defaultsdir)" && rm -f $$files
install-pkgconfigDATA: $(pkgconfig_DATA)
    @$(NORMAL_INSTALL)
    test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
    @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
    for p in $$list; do \
      if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
      echo "$$d$$p"; \
    done | $(am__base_list) | \
    while read files; do \
      echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
      $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
    done

uninstall-pkgconfigDATA:
    @$(NORMAL_UNINSTALL)
    @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
    files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
    test -n "$$files" || exit 0; \
    echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
    cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
    @fail= failcom='exit 1'; \
    for f in x $$MAKEFLAGS; do \
      case $$f in \
        *=* | --[!k]*);; \
        *k*) failcom='fail=yes';; \
      esac; \
    done; \
    dot_seen=no; \
    target=`echo $@ | sed s/-recursive//`; \
    list='$(SUBDIRS)'; for subdir in $$list; do \
      echo "Making $$target in $$subdir"; \
      if test "$$subdir" = "."; then \
        dot_seen=yes; \
        local_target="$$target-am"; \
      else \
        local_target="$$target"; \
      fi; \
      ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
      || eval $$failcom; \
    done; \
    if test "$$dot_seen" = "no"; then \
      $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
    fi; test -z "$$fail"

$(RECURSIVE_CLEAN_TARGETS):
    @fail= failcom='exit 1'; \
    for f in x $$MAKEFLAGS; do \
      case $$f in \
        *=* | --[!k]*);; \
        *k*) failcom='fail=yes';; \
      esac; \
    done; \
    dot_seen=no; \
    case "$@" in \
      distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
      *) list='$(SUBDIRS)' ;; \
    esac; \
    rev=''; for subdir in $$list; do \
      if test "$$subdir" = "."; then :; else \
        rev="$$subdir $$rev"; \
      fi; \
    done; \
    rev="$$rev ."; \
    target=`echo $@ | sed s/-recursive//`; \
    for subdir in $$rev; do \
      echo "Making $$target in $$subdir"; \
      if test "$$subdir" = "."; then \
        local_target="$$target-am"; \
      else \
        local_target="$$target"; \
      fi; \
      ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
      || eval $$failcom; \
    done && test -z "$$fail"
tags-recursive:
    list='$(SUBDIRS)'; for subdir in $$list; do \
      test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
    done
ctags-recursive:
    list='$(SUBDIRS)'; for subdir in $$list; do \
      test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
    done

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    unique=`for i in $$list; do \
        if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
      done | \
      $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
          END { if (nonempty) { for (i in files) print i; }; }'`; \
    mkid -fID $$unique
tags: TAGS

TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
        $(TAGS_FILES) $(LISP)
    set x; \
    here=`pwd`; \
    if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
      include_option=--etags-include; \
      empty_fix=.; \
    else \
      include_option=--include; \
      empty_fix=; \
    fi; \
    list='$(SUBDIRS)'; for subdir in $$list; do \
      if test "$$subdir" = .; then :; else \
        test ! -f $$subdir/TAGS || \
          set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
      fi; \
    done; \
    list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    unique=`for i in $$list; do \
        if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
      done | \
      $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
          END { if (nonempty) { for (i in files) print i; }; }'`; \
    shift; \
    if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
      test -n "$$unique" || unique=$$empty_fix; \
      if test $$# -gt 0; then \
        $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
          "$$@" $$unique; \
      else \
        $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
          $$unique; \
      fi; \
    fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
        $(TAGS_FILES) $(LISP)
    list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    unique=`for i in $$list; do \
        if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
      done | \
      $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
          END { if (nonempty) { for (i in files) print i; }; }'`; \
    test -z "$(CTAGS_ARGS)$$unique" \
      || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
         $$unique

GTAGS:
    here=`$(am__cd) $(top_builddir) && pwd` \
      && $(am__cd) $(top_srcdir) \
      && gtags -i $(GTAGS_ARGS) "$$here"

distclean-tags:
    -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
    @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
    list='$(DISTFILES)'; \
      dist_files=`for file in $$list; do echo $$file; done | \
      sed -e "s|^$$srcdirstrip/||;t" \
          -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
    case $$dist_files in \
      */*) $(MKDIR_P) `echo "$$dist_files" | \
               sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
               sort -u` ;; \
    esac; \
    for file in $$dist_files; do \
      if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
      if test -d $$d/$$file; then \
        dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
        if test -d "$(distdir)/$$file"; then \
          find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
        fi; \
        if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
          cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
          find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
        fi; \
        cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
      else \
        test -f "$(distdir)/$$file" \
        || cp -p $$d/$$file "$(distdir)/$$file" \
        || exit 1; \
      fi; \
    done
    @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
      if test "$$subdir" = .; then :; else \
        test -d "$(distdir)/$$subdir" \
        || $(MKDIR_P) "$(distdir)/$$subdir" \
        || exit 1; \
      fi; \
    done
    @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
      if test "$$subdir" = .; then :; else \
        dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
        $(am__relativize); \
        new_distdir=$$reldir; \
        dir1=$$subdir; dir2="$(top_distdir)"; \
        $(am__relativize); \
        new_top_distdir=$$reldir; \
        echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
        echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
        ($(am__cd) $$subdir && \
          $(MAKE) $(AM_MAKEFLAGS) \
            top_distdir="$$new_top_distdir" \
            distdir="$$new_distdir" \
        am__remove_distdir=: \
        am__skip_length_check=: \
        am__skip_mode_fix=: \
            distdir) \
          || exit 1; \
      fi; \
    done
check-am: all-am
check: check-recursive
all-am: Makefile $(PROGRAMS) $(DATA)
installdirs: installdirs-recursive
installdirs-am:
    for dir in "$(DESTDIR)$(plymouthdbindir)" "$(DESTDIR)$(plymouthd_confdir)" "$(DESTDIR)$(plymouthd_defaultsdir)" "$(DESTDIR)$(pkgconfigdir)"; do \
      test -z "$$dir" || $(MKDIR_P) "$$dir"; \
    done
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
    @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
    $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
      install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
      `test -z '$(STRIP)' || \
        echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
    -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
    -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)

maintainer-clean-generic:
    @echo "This command is intended for maintainers to use"
    @echo "it deletes files that may require special tools to rebuild."
    -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
clean: clean-recursive

clean-am: clean-generic clean-libtool clean-plymouthdbinPROGRAMS \
    mostlyclean-am

distclean: distclean-recursive
    -rm -rf ./$(DEPDIR)
    -rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
    distclean-tags

dvi: dvi-recursive

dvi-am:

html: html-recursive

html-am:

info: info-recursive

info-am:

install-data-am: install-dist_plymouthd_confDATA \
    install-dist_plymouthd_defaultsDATA install-pkgconfigDATA \
    install-plymouthdbinPROGRAMS
    @$(NORMAL_INSTALL)
    $(MAKE) $(AM_MAKEFLAGS) install-data-hook
install-dvi: install-dvi-recursive

install-dvi-am:

install-exec-am:

install-html: install-html-recursive

install-html-am:

install-info: install-info-recursive

install-info-am:

install-man:

install-pdf: install-pdf-recursive

install-pdf-am:

install-ps: install-ps-recursive

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-recursive
    -rm -rf ./$(DEPDIR)
    -rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
    mostlyclean-libtool

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-dist_plymouthd_confDATA \
    uninstall-dist_plymouthd_defaultsDATA uninstall-pkgconfigDATA \
    uninstall-plymouthdbinPROGRAMS

.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
    install-am install-data-am install-strip tags-recursive

.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
    all all-am check check-am clean clean-generic clean-libtool \
    clean-plymouthdbinPROGRAMS ctags ctags-recursive distclean \
    distclean-compile distclean-generic distclean-libtool \
    distclean-tags distdir dvi dvi-am html html-am info info-am \
    install install-am install-data install-data-am \
    install-data-hook install-dist_plymouthd_confDATA \
    install-dist_plymouthd_defaultsDATA install-dvi install-dvi-am \
    install-exec install-exec-am install-html install-html-am \
    install-info install-info-am install-man install-pdf \
    install-pdf-am install-pkgconfigDATA \
    install-plymouthdbinPROGRAMS install-ps install-ps-am \
    install-strip installcheck installcheck-am installdirs \
    installdirs-am maintainer-clean maintainer-clean-generic \
    mostlyclean mostlyclean-compile mostlyclean-generic \
    mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
    uninstall uninstall-am uninstall-dist_plymouthd_confDATA \
    uninstall-dist_plymouthd_defaultsDATA uninstall-pkgconfigDATA \
    uninstall-plymouthdbinPROGRAMS


install-data-hook:
    -mkdir -p $(DESTDIR)$(plymouthdrundir)
    -mkdir -p $(DESTDIR)$(plymouthdspooldir)
    -mkdir -p $(DESTDIR)$(plymouthdtimedir)

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: