# # Copyright 2007 Sony Corp. # AUTOMAKE_OPTIONS = foreign SUBDIRS = lib ACLOCAL_AMFLAGS = -I m4 AM_CPPFLAGS = -I$(srcdir)/lib $(DEFAULT_CPPFLAGS) AM_CFLAGS = $(DEFAULT_CFLAGS) AM_LDFLAGS = -Llib LIBTOOL_DEPS = @LIBTOOL_DEPS@ libtool: $(LIBTOOL_DEPS) $(SHELL) ./config.status libtool composed_bin_scripts = bin_SCRIPTS = $(composed_bin_scripts) composed_sbin_scripts = \ ps3-boot-game-os \ ps3-bl-option \ ps3-dump-bootloader \ ps3-rtc-init sbin_SCRIPTS = $(composed_sbin_scripts) composed_mans = \ ps3-boot-game-os.8 \ ps3-dump-bootloader.8 \ ps3-flash-util.8 \ ps3-rtc-init.8 \ ps3-utils.8 \ ps3-video-mode.8 man_MANS = $(composed_mans) bin_PROGRAMS = ps3-video-mode sbin_PROGRAMS = ps3-flash-util ps3_flash_util_DEPENDENCIES = Makefile ps3_flash_util_SOURCES = ps3-flash-util.c ps3_flash_util_LDADD = -lps3-utils ps3_video_mode_DEPENDENCIES = Makefile ps3_video_mode_SOURCES = ps3-video-mode.c ps3_video_mode_LDADD = -lps3-utils edit = sed \ -e 's|@PACKAGE_NAME\@|$(PACKAGE_NAME)|g' \ -e 's|@PACKAGE_VERSION\@|$(PACKAGE_VERSION)|g' \ -e 's|@PACKAGE_BUGREPORT\@|$(PACKAGE_BUGREPORT)|g' \ -e 's|@libexecdir\@|$(libexecdir)|g' \ -e 's|@datadir\@|$(pkgdatadir)|g' \ -e 's|@prefix\@|$(prefix)|g' ps3-boot-game-os: Makefile $(srcdir)/ps3-boot-game-os.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp chmod +x $@.tmp mv $@.tmp $@ ps3-bl-option: Makefile $(srcdir)/ps3-bl-option.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp chmod +x $@.tmp mv $@.tmp $@ ps3-dump-bootloader: Makefile $(srcdir)/ps3-dump-bootloader.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp chmod +x $@.tmp mv $@.tmp $@ ps3-rtc-init: Makefile $(srcdir)/ps3-rtc-init.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp chmod +x $@.tmp mv $@.tmp $@ ps3-boot-game-os.8: Makefile $(srcdir)/ps3-boot-game-os.8.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp groff -Cz -man $@.tmp mv $@.tmp $@ ps3-dump-bootloader.8: Makefile $(srcdir)/ps3-dump-bootloader.8.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp groff -Cz -man $@.tmp mv $@.tmp $@ ps3-flash-util.8: Makefile $(srcdir)/ps3-flash-util.8.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp groff -Cz -man $@.tmp mv $@.tmp $@ ps3-rtc-init.8: Makefile $(srcdir)/ps3-rtc-init.8.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp groff -Cz -man $@.tmp mv $@.tmp $@ ps3-utils.8: Makefile $(srcdir)/ps3-utils.8.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp groff -Cz -man $@.tmp mv $@.tmp $@ ps3-video-mode.8: Makefile $(srcdir)/ps3-video-mode.8.in rm -f $@ $@.tmp $(edit) $(srcdir)/$@.in >$@.tmp groff -Cz -man $@.tmp mv $@.tmp $@ composed_files = $(composed_mans) $(composed_bin_scripts) \ $(composed_sbin_scripts) EXTRA_DIST = bootstrap version.sh $(srcdir)/m4 \ $(addsuffix .in, $(composed_files)) MAINTAINERCLEANFILES = aclocal.m4 compile config.* configure depcomp \ install-sh ltmain.sh m4/*.m4 Makefile.in missing $(PACKAGE)-*.gz CLEANFILES = $(composed_files) $(addsuffix .tmp, $(composed_files))