Ports --> All --> ScrudgeWare --> Makefile.example

Click here to download the latest ports tree.
PORTNAME=@PACKAGE@
PORTVERSION=@VERSION@
CATEGORIES=Distros
MASTER_SITES=http://scrudgeware.org/downloads/${PORTNAME}
DISTFILES=${PORTNAME}-${PORTVERSION}.tar.gz
DIRECTORY=./
DESCRIPTION=Scrudgeware is a linux distribution built with the Spkgtool suite.
MAINTAINER=	larry@scrudgeware.org

include spkg.port.mk

@SET_MAKE@

SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = .

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_alias = @build_alias@
build_triplet = @build@
host_alias = @host_alias@
host_triplet = @host@
target_alias = @target_alias@
target_triplet = @target@
AMTAR = @AMTAR@
AWK = @AWK@
CPU = @CPU@
DEPDIR = @DEPDIR@
EXEEXT = @EXEEXT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
OBJEXT = @OBJEXT@
OS = @OS@
PACKAGE = @PACKAGE@
VENDOR = @VENDOR@
VERSION = @VERSION@
am__include = @am__include@
am__quote = @am__quote@
install_sh = @install_sh@
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
CONFIG_CLEAN_FILES =
DIST_SOURCES =
DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am 	Makefile.in NEWS aclocal.m4 config/config.guess 	config/config.sub config/install-sh config/missing 	config/mkinstalldirs configure configure.in
all: all-am

.SUFFIXES:
$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
	cd $(top_srcdir) && 	  $(AUTOMAKE) --gnu  Makefile
Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) && 	  CONFIG_HEADERS= CONFIG_LINKS= 	  CONFIG_FILES=$@ $(SHELL) ./config.status

$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck
$(srcdir)/configure:  $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
	cd $(srcdir) && $(AUTOCONF)

$(ACLOCAL_M4):  configure.in 
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
uninstall-info-am:
tags: TAGS
TAGS:


DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)

top_distdir = .
# Avoid unsightly `./'.
distdir = $(PACKAGE)-$(VERSION)

GZIP_ENV = --best

distdir: $(DISTFILES)
	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
	mkdir $(distdir)
	$(mkinstalldirs) $(distdir)/config
	@for file in $(DISTFILES); do 	  if test -f $$file; then d=.; else d=$(srcdir); fi; 	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; 	  if test "$$dir" != "$$file" && test "$$dir" != "."; then 	    $(mkinstalldirs) "$(distdir)/$$dir"; 	  fi; 	  if test -d $$d/$$file; then 	    cp -pR $$d/$$file $(distdir) 	    || exit 1; 	  else 	    test -f $(distdir)/$$file 	    || cp -p $$d/$$file $(distdir)/$$file 	    || exit 1; 	  fi; 	done
	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o 	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o 	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o 	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; 	|| chmod -R a+r $(distdir)
dist: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
	chmod -R a-w $(distdir); chmod a+w $(distdir)
	mkdir $(distdir)/=build
	mkdir $(distdir)/=inst
	chmod a-w $(distdir)
	dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` 	  && cd $(distdir)/=build 	  && ../configure --srcdir=.. --prefix=$$dc_install_base 	  && $(MAKE) $(AM_MAKEFLAGS) 	  && $(MAKE) $(AM_MAKEFLAGS) dvi 	  && $(MAKE) $(AM_MAKEFLAGS) check 	  && $(MAKE) $(AM_MAKEFLAGS) install 	  && $(MAKE) $(AM_MAKEFLAGS) installcheck 	  && $(MAKE) $(AM_MAKEFLAGS) uninstall 	  && (test `find $$dc_install_base -type f -print | wc -l` -le 1 	     || (echo "Error: files left after uninstall" 1>&2; 	         exit 1) ) 	  && $(MAKE) $(AM_MAKEFLAGS) dist 	  && $(MAKE) $(AM_MAKEFLAGS) distclean 	  && rm -f $(distdir).tar.gz 	  && (test `find . -type f -print | wc -l` -eq 0 	     || (echo "Error: files left after distclean" 1>&2; 	         exit 1) )
	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
	@echo "$(distdir).tar.gz is ready for distribution" | 	  sed 'h;s/./=/g;p;x;p;x'
check-am: all-am
check: check-am
all-am: Makefile

installdirs:

install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

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

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

clean-generic:

distclean-generic:
	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-generic mostlyclean-am

dist-all: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
distclean: distclean-am
	-rm -f config.status config.cache config.log
distclean-am: clean-am distclean-generic

dvi: dvi-am

dvi-am:

info: info-am

info-am:

install-data-am:

install-exec-am:

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am

maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-generic

uninstall-am: uninstall-info-am

.PHONY: all all-am check check-am clean clean-generic dist dist-all 	distcheck distclean distclean-generic distdir dvi dvi-am info 	info-am install install-am install-data install-data-am 	install-exec install-exec-am install-info install-info-am 	install-man install-strip installcheck installcheck-am 	installdirs maintainer-clean maintainer-clean-generic 	mostlyclean mostlyclean-generic uninstall uninstall-am 	uninstall-info-am

# 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: