From 6ff7adad9c4e8b09d4876d75f5b0caacf67562a5 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 27 Jan 2016 07:22:03 +0100 Subject: add configure and makefile.in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile.in | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure | 49 +++++++++++++++++++++++++++++++ 2 files changed, 144 insertions(+) create mode 100644 Makefile.in create mode 100755 configure diff --git a/Makefile.in b/Makefile.in new file mode 100644 index 0000000..9484257 --- /dev/null +++ b/Makefile.in @@ -0,0 +1,95 @@ +# Copyright (C) 2016 Mattias Andrée +# +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. This file is offered as-is, +# without any warranty. + + +### This file will be stored to Makefile once you have run ./configure. ### +### See INSTALL for information on how to install this package. ### + + + +# List of translations to install. +LOCALES = + +# List of man page translations to install. +MAN_LOCALES = + +# Can change these variables with ./configure in the same why you +# would configure them when running make. + + + +##### What is below this line is configurable, but is seldom useful. ##### + + +# Additional options for compiling info and HTML manuals. +INFO_FLAGS = + +# Additional options for compiling DVI, PDF, and PostScript manuals. +TEXINFO_FLAGS = + +# The name of the package as it should be installed. +PKGNAME = learn-your-telephone-number + +# The name of the command as it should be installed. +COMMAND = learn-your-telephone-number + + + +##### Nothing interesting below this. ##### + + +# In case you want add some configurations. Primarily +# intended for maintainers. Perhaps add GPG_KEY here. +# Of course, you can declare everthing with ./configure, +# but with this you are less likely to forget it. +-include .make-configurations + + +# YOU, AS A USER, SHOULD NOT CHANGE THESE VARIABLES. {{ +# They specify how the reusable makefiles in mk/ shall behave. + +# Package information. +_PROJECT = learn-your-telephone-number +_VERSION = 1.0 + +# Used by mk/lang-c.mk +_C_STD = c99 +_PEDANTIC = yes +_BIN = learn-your-telephone-number +_OBJ_learn-your-telephone-number = learn-your-telephone-number +_HEADER_DIRLEVELS = 0 +_CPPFLAGS = -D'PACKAGE="$(PKGNAME)"' -D'PROGRAM_VERSION="$(_VERSION)"' + +# Used by mk/texinfo.mk +#_TEXINFO_DIRLEVELS = 2 +#_INFOPARTS = 0 +#_HAVE_TEXINFO_MANUAL = yes +#_HTML_FILES = Free-Software-Needs-Free-Documentation.html GNU-Free-Documentation-License.html \ +# GNU-General-Public-License.html index.html Invoking.html Overview.html + +# Used by mk/man.mk +_MAN_PAGE_SECTIONS = 1 +_MAN_1 = learn-your-telephone-number + +# Used by mk/copy.mk +_COPYING = COPYING + +# Used by mk/dist.mk +#___EVERYTHING_INFO = sleeping-getty titlepage-data content hardcopy-copying \ +# appx/fdl appx/free-software-needs-free-documentation appx/gpl \ +# chap/invoking chap/overview \ +# reusable/macros reusable/paper reusable/titlepage +_SRC = $(foreach B,$(_SBIN),$(foreach F,$(_OBJ_$(B)),$(F).c)) +_EVERYTHING = $(__EVERYTHING_ALL_COMMON) DEPENDENCIES INSTALL NEWS +#$(foreach F,$(___EVERYTHING_INFO),doc/info/$(F).texinfo) + +# }} + + +# All of the make rules and the configurations. +include $(v)mk/all.mk + diff --git a/configure b/configure new file mode 100755 index 0000000..6e7e342 --- /dev/null +++ b/configure @@ -0,0 +1,49 @@ +#!/bin/sh + +# Copyright (C) 2016 Mattias Andrée +# +# Copying and distribution of this file, with or without modification, +# are permitted in any medium without royalty provided the copyright +# notice and this notice are preserved. This file is offered as-is, +# without any warranty. + + +# Run './configure --help' for usage information. + + +PKGNAME=learn-your-telephone-number +MAN_SECTION_SUFFIX= +MAN_SECTION=1 + + +list_optional_features_help () +{ + true +} + +unrecognised_argument () +{ + option="${1}" + case "${option}" in + (--build | --target | --host) + incomplete="${option}" ;; + (--build=*) + ;; + (--target=*) + ;; + (--host=*) + ;; + (*) + ;; + esac +} + +. "$(dirname "${0}")"/mk/configure + + +cat <