# # Files from which this is generated (inside directory `autoconf/make'): # # package.mk # package name and distribution details # vars.mk # compilation, shell and linking variables # filelist.mk~ # lists of files # unreal.mk # phony targets # modules.mk~ # module linking rules # rules.mk # compilation rules # link.mk # real top-level targets # depend.mk~ # dependencies # # # # Variables for Make. # srcdir = . prefix = /usr exec_prefix = /usr bindir = /usr/bin infodir = /usr/info mandir = /usr/man etcdir = /usr/etc datadir = /usr/share sbindir = /usr/sbin localedir = $(datadir)/locale gnulocaledir = $(prefix)/share/locale CATALOGS = POFILES = GMSGFMT = MSGFMT = XGETTEXT = MSGMERGE = msgmerge CATOBJEXT = INSTOBJEXT = SHELL = /bin/sh CC = mipsel-openwrt-linux-musl-gcc INSTALL = /home/user/Open2305Lime2024-eap235/staging_dir/host/bin/install -c INSTALL_DATA = ${INSTALL} -m 644 UNINSTALL = rm -f LDFLAGS = -r LINKFLAGS = -L/home/user/Open2305Lime2024-eap235/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/usr/lib -L/home/user/Open2305Lime2024-eap235/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro DEFS = -DHAVE_CONFIG_H -DLOCALEDIR=\"$(localedir)\" CFLAGS = -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -fmacro-prefix-map=/home/user/Open2305Lime2024-eap235/build_dir/target-mipsel_24kc_musl/pv-1.6.6=pv-1.6.6 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro CPPFLAGS = -I/home/user/Open2305Lime2024-eap235/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/usr/include -I/home/user/Open2305Lime2024-eap235/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/include -I/home/user/Open2305Lime2024-eap235/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/include/fortify -I$(srcdir)/src/include -Isrc/include $(DEFS) LIBS = alltarg = pv # EOF # # Package name, version, and distribution files. # package = pv version = 1.6.6 PACKAGE = pv distfiles = \ $(srcdir)/README \ $(srcdir)/autoconf \ $(srcdir)/configure \ $(srcdir)/doc \ $(srcdir)/src \ $(srcdir)/tests # EOF # Automatically generated file listings # # Creation time: Fri Jun 30 22:23:37 BST 2017 allsrc = src/library/getopt.c \ src/library/gettext.c \ src/pv/signal.c \ src/pv/watchpid.c \ src/pv/cursor.c \ src/pv/file.c \ src/pv/display.c \ src/pv/loop.c \ src/pv/number.c \ src/pv/transfer.c \ src/pv/state.c \ src/main/version.c \ src/main/debug.c \ src/main/main.c \ src/main/options.c \ src/main/remote.c \ src/main/help.c allobj = src/library/getopt.o \ src/library/gettext.o \ src/pv/signal.o \ src/pv/watchpid.o \ src/pv/cursor.o \ src/pv/file.o \ src/pv/display.o \ src/pv/loop.o \ src/pv/number.o \ src/pv/transfer.o \ src/pv/state.o \ src/main/version.o \ src/main/debug.o \ src/main/main.o \ src/main/options.o \ src/main/remote.o \ src/main/help.o \ src/library.o \ src/pv.o \ src/nls.o \ src/main.o alldep = src/library/getopt.d \ src/library/gettext.d \ src/pv/signal.d \ src/pv/watchpid.d \ src/pv/cursor.d \ src/pv/file.d \ src/pv/display.d \ src/pv/loop.d \ src/pv/number.d \ src/pv/transfer.d \ src/pv/state.d \ src/main/version.d \ src/main/debug.d \ src/main/main.d \ src/main/options.d \ src/main/remote.d \ src/main/help.d # # Rules for all phony targets. # .PHONY: all help make dep depend test check \ clean depclean indentclean distclean cvsclean svnclean \ index manhtml indent update-po \ doc dist release \ install uninstall \ rpm srpm all: $(alltarg) $(CATALOGS) help: @echo 'This Makefile has the following utility targets:' @echo @echo ' all build all binary targets' @echo ' install install compiled package and manual' @echo ' uninstall uninstall the package' @echo ' check / test run standardised tests on the compiled binary' @echo @echo 'Developer targets:' @echo @echo ' make rebuild the Makefile (after adding new files)' @echo ' dep / depend rebuild .d (dependency) files' @echo ' clean remove .o (object) and .c~ (backup) files' @echo ' depclean remove .d (dependency) files' @echo ' indentclean remove files left over from "make indent"' @echo ' distclean remove everything not distributed' @echo ' cvsclean remove everything not in CVS/SVN' @echo @echo ' index generate an HTML index of source code' @echo ' manhtml output HTML man page to stdout' @echo ' indent reformat all source files with "indent"' @echo ' update-po update the .po files' @echo @echo ' dist create a source tarball for distribution' @echo ' rpm build a binary RPM (passes $$RPMFLAGS to RPM)' @echo ' srpm build a source RPM (passes $$RPMFLAGS to RPM)' @echo ' release dist+rpm+srpm' @echo make: echo > $(srcdir)/autoconf/make/filelist.mk~ echo > $(srcdir)/autoconf/make/modules.mk~ cd $(srcdir); \ bash autoconf/scripts/makemake.sh \ autoconf/make/filelist.mk~ \ autoconf/make/modules.mk~ sh ./config.status dep depend: $(alldep) echo '#' > $(srcdir)/autoconf/make/depend.mk~ echo '# Dependencies.' >> $(srcdir)/autoconf/make/depend.mk~ echo '#' >> $(srcdir)/autoconf/make/depend.mk~ echo >> $(srcdir)/autoconf/make/depend.mk~ cat $(alldep) >> $(srcdir)/autoconf/make/depend.mk~ sh ./config.status clean: rm -f $(allobj) depclean: rm -f $(alldep) indentclean: cd $(srcdir) && for FILE in $(allsrc); do rm -f ./$${FILE}~; done update-po: $(srcdir)/src/nls/$(PACKAGE).pot catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ lang=$(srcdir)/`echo $$cat | sed 's/$(CATOBJEXT)$$//'`; \ mv $$lang.po $$lang.old.po; \ if $(MSGMERGE) $$lang.old.po $(srcdir)/src/nls/$(PACKAGE).pot > $$lang.po; then \ rm -f $$lang.old.po; \ else \ echo "msgmerge for $$cat failed!"; \ rm -f $$lang.po; \ mv $$lang.old.po $$lang.po; \ chmod 644 $$lang.po; \ fi; \ done distclean: clean depclean rm -f $(alltarg) src/include/config.h rm -rf $(package)-$(version).tar* $(package)-$(version) $(package)-$(version)-*.rpm rm -f *.html config.* rm Makefile cvsclean svnclean: distclean rm -f doc/lsm rm -f doc/$(package).spec rm -f doc/quickref.1 rm -f configure rm -f src/nls/*.gmo src/nls/*.mo echo > $(srcdir)/autoconf/make/depend.mk~ echo > $(srcdir)/autoconf/make/filelist.mk~ echo > $(srcdir)/autoconf/make/modules.mk~ doc: : index: (cd $(srcdir); sh autoconf/scripts/index.sh $(srcdir)) > index.html manhtml: @man2html ./doc/quickref.1 \ | sed -e '1,/]*> ||ig' \ -e 's|]*>\([^<]*\)|\1|ig' \ -e '/

\)|\1

|ig' \ -e 's/

/
/ig' \ -e 's/<[0-9A-Za-z_.-]\+@[0-9A-Za-z_.-]\+>//g' \ -e 's|\(http://.*\)|\1|ig' \ | sed -e '1,/
Index/,/
$(package)-$(version).tar.bz2 -grep -Fq '%_gpg_name' ~/.rpmmacros 2>/dev/null && rpm --addsign *.rpm -gpg --list-secret-keys 2>&1 | grep -Fq 'uid' && gpg -ab *.tar.gz && rename .asc .txt *.tar.gz.asc -gpg --list-secret-keys 2>&1 | grep -Fq 'uid' && gpg -ab *.tar.bz2 && rename .asc .txt *.tar.bz2.asc chmod 644 $(package)-$(version)* # Automatically generated module linking rules # # Creation time: Fri Jun 30 22:23:37 BST 2017 src/library.o: src/library/getopt.o src/library/gettext.o $(LD) $(LDFLAGS) -o $@ src/library/getopt.o src/library/gettext.o src/pv.o: src/pv/cursor.o src/pv/display.o src/pv/file.o src/pv/loop.o src/pv/number.o src/pv/signal.o src/pv/state.o src/pv/transfer.o src/pv/watchpid.o $(LD) $(LDFLAGS) -o $@ src/pv/cursor.o src/pv/display.o src/pv/file.o src/pv/loop.o src/pv/number.o src/pv/signal.o src/pv/state.o src/pv/transfer.o src/pv/watchpid.o src/main.o: src/main/debug.o src/main/help.o src/main/main.o src/main/options.o src/main/remote.o src/main/version.o $(LD) $(LDFLAGS) -o $@ src/main/debug.o src/main/help.o src/main/main.o src/main/options.o src/main/remote.o src/main/version.o # # Compilation rules. # .SUFFIXES: .c .d .o .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< .c.d: sh $(srcdir)/autoconf/scripts/depend.sh \ $(CC) $< $(<:%.c=%) $(srcdir) $(CFLAGS) $(CPPFLAGS) > $@ # # NLS stuff # %.mo: %.po $(MSGFMT) -o $@ $< @touch $@ @chmod 644 $@ %.gmo: %.po rm -f $@ $(GMSGFMT) -o $@ $< @touch $@ @chmod 644 $@ $(srcdir)/src/nls/$(PACKAGE).pot: $(allsrc) $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(srcdir) \ --add-comments --keyword=_ --keyword=N_ \ $(allsrc) if cmp -s $(PACKAGE).po $@; then \ rm -f $(PACKAGE).po; \ else \ rm -f $@; \ mv $(PACKAGE).po $@; \ chmod 644 $@; \ fi src/nls/table.c: $(POFILES) sh $(srcdir)/autoconf/scripts/po2table.sh $(POFILES) > src/nls/table.c # # Targets. # $(package): src/main.o src/library.o src/pv.o $(CC) $(LINKFLAGS) $(CFLAGS) -o $@ src/main.o src/library.o src/pv.o $(LIBS) $(package)-static: src/main.o src/library.o src/pv.o $(CC) $(LINKFLAGS) $(CFLAGS) -static -o $@ src/main.o src/library.o src/pv.o $(LIBS) # EOF # # Dependencies. # src/library/getopt.d src/library/getopt.o: src/library/getopt.c src/include/config.h src/include/library/gettext.h src/library/gettext.d src/library/gettext.o: src/library/gettext.c src/include/config.h src/include/library/gettext.h src/pv/signal.d src/pv/signal.o: src/pv/signal.c src/include/pv-internal.h src/include/config.h src/include/library/gettext.h src/include/pv.h src/pv/watchpid.d src/pv/watchpid.o: src/pv/watchpid.c src/include/pv-internal.h src/include/config.h src/include/library/gettext.h src/include/pv.h src/pv/cursor.d src/pv/cursor.o: src/pv/cursor.c src/include/pv-internal.h src/include/config.h src/include/library/gettext.h src/include/pv.h src/pv/file.d src/pv/file.o: src/pv/file.c src/include/pv-internal.h src/include/config.h src/include/library/gettext.h src/include/pv.h src/pv/display.d src/pv/display.o: src/pv/display.c src/include/pv-internal.h src/include/config.h src/include/library/gettext.h src/include/pv.h src/pv/loop.d src/pv/loop.o: src/pv/loop.c src/include/pv-internal.h src/include/config.h src/include/library/gettext.h src/include/pv.h src/pv/number.d src/pv/number.o: src/pv/number.c src/include/config.h src/include/library/gettext.h src/include/pv.h src/pv/transfer.d src/pv/transfer.o: src/pv/transfer.c src/include/pv-internal.h src/include/config.h src/include/library/gettext.h src/include/pv.h src/pv/state.d src/pv/state.o: src/pv/state.c src/include/pv-internal.h src/include/config.h src/include/library/gettext.h src/include/pv.h src/main/version.d src/main/version.o: src/main/version.c src/include/config.h src/include/library/gettext.h src/main/debug.d src/main/debug.o: src/main/debug.c src/include/config.h src/include/library/gettext.h src/include/pv.h src/main/main.d src/main/main.o: src/main/main.c src/include/config.h src/include/library/gettext.h src/include/options.h src/include/pv.h src/main/options.d src/main/options.o: src/main/options.c src/include/config.h src/include/library/gettext.h src/include/options.h src/include/library/getopt.h src/include/pv.h src/main/remote.d src/main/remote.o: src/main/remote.c src/include/config.h src/include/library/gettext.h src/include/options.h src/include/pv.h src/main/help.d src/main/help.o: src/main/help.c src/include/config.h src/include/library/gettext.h