forked from Imagelibrary/rtems
428 lines
12 KiB
Makefile
428 lines
12 KiB
Makefile
# Makefile.in generated automatically by automake 1.2 from Makefile.am
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy, distribute and modify it.
|
|
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
|
|
SHELL = /bin/sh
|
|
|
|
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 = .
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = true
|
|
PRE_INSTALL = true
|
|
POST_INSTALL = true
|
|
NORMAL_UNINSTALL = true
|
|
PRE_UNINSTALL = true
|
|
POST_UNINSTALL = true
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
CC = @CC@
|
|
KSH = @KSH@
|
|
MAKEINFO = @MAKEINFO@
|
|
PACKAGE = @PACKAGE@
|
|
PROJECT_ROOT = @PROJECT_ROOT@
|
|
RTEMS_ROOT = @RTEMS_ROOT@
|
|
RTEMS_TOPdir = @RTEMS_TOPdir@
|
|
VERSION = @VERSION@
|
|
|
|
AUTOMAKE_OPTIONS = foreign
|
|
ACLOCAL = @ACLOCAL@ -I $(RTEMS_TOPdir)/aclocal
|
|
|
|
bin_PROGRAMS=cklength eolstrip packhex unhex
|
|
|
|
cklength_SOURCES = cklength.c
|
|
eolstrip_SOURCES = eolstrip.c
|
|
packhex_SOURCES = packhex.c
|
|
unhex_SOURCES = unhex.c
|
|
|
|
bin_SCRIPTS=\
|
|
install-if-change \
|
|
lock-directory \
|
|
unlock-directory \
|
|
rcs-clean
|
|
|
|
noinst_SCRIPTS = search-id.sh
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
|
CONFIG_HEADER = config.h
|
|
CONFIG_CLEAN_FILES = install-if-change lock-directory rcs-clean \
|
|
unlock-directory
|
|
PROGRAMS = $(bin_PROGRAMS)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
cklength_OBJECTS = cklength.o
|
|
cklength_LDADD = $(LDADD)
|
|
cklength_LDFLAGS =
|
|
eolstrip_OBJECTS = eolstrip.o
|
|
eolstrip_LDADD = $(LDADD)
|
|
eolstrip_LDFLAGS =
|
|
packhex_OBJECTS = packhex.o
|
|
packhex_LDADD = $(LDADD)
|
|
packhex_LDFLAGS =
|
|
unhex_OBJECTS = unhex.o
|
|
unhex_LDADD = $(LDADD)
|
|
unhex_LDFLAGS =
|
|
SCRIPTS = $(bin_SCRIPTS) $(noinst_SCRIPTS)
|
|
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@
|
|
DIST_COMMON = README Makefile.am Makefile.in aclocal.m4 config.h.in \
|
|
configure configure.in install-if-change.in lock-directory.in \
|
|
rcs-clean.in stamp-h.in unlock-directory.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP = --best
|
|
DEP_FILES = .deps/cklength.P .deps/eolstrip.P .deps/packhex.P \
|
|
.deps/unhex.P
|
|
SOURCES = $(cklength_SOURCES) $(eolstrip_SOURCES) $(packhex_SOURCES) $(unhex_SOURCES)
|
|
OBJECTS = $(cklength_OBJECTS) $(eolstrip_OBJECTS) $(packhex_OBJECTS) $(unhex_OBJECTS)
|
|
|
|
default: all
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .o
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
$(ACLOCAL_M4): configure.in
|
|
cd $(srcdir) && $(ACLOCAL)
|
|
|
|
config.status: $(srcdir)/configure
|
|
$(SHELL) ./config.status --recheck
|
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
|
|
config.h: stamp-h
|
|
stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
|
$(SHELL) ./config.status
|
|
@echo timestamp > stamp-h
|
|
$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
|
|
$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
|
@echo timestamp > $(srcdir)/stamp-h.in
|
|
|
|
mostlyclean-hdr:
|
|
|
|
clean-hdr:
|
|
|
|
distclean-hdr:
|
|
rm -f config.h
|
|
|
|
maintainer-clean-hdr:
|
|
install-if-change: $(top_builddir)/config.status install-if-change.in
|
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
|
|
lock-directory: $(top_builddir)/config.status lock-directory.in
|
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
|
|
rcs-clean: $(top_builddir)/config.status rcs-clean.in
|
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
|
|
unlock-directory: $(top_builddir)/config.status unlock-directory.in
|
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= ./config.status
|
|
|
|
mostlyclean-binPROGRAMS:
|
|
|
|
clean-binPROGRAMS:
|
|
test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
|
|
|
|
distclean-binPROGRAMS:
|
|
|
|
maintainer-clean-binPROGRAMS:
|
|
|
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(bindir)
|
|
@list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
$(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-binPROGRAMS:
|
|
$(NORMAL_UNINSTALL)
|
|
list='$(bin_PROGRAMS)'; for p in $$list; do \
|
|
rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
done
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
rm -f *.o core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
cklength: $(cklength_OBJECTS) $(cklength_DEPENDENCIES)
|
|
@rm -f cklength
|
|
$(LINK) $(cklength_LDFLAGS) $(cklength_OBJECTS) $(cklength_LDADD) $(LIBS)
|
|
|
|
eolstrip: $(eolstrip_OBJECTS) $(eolstrip_DEPENDENCIES)
|
|
@rm -f eolstrip
|
|
$(LINK) $(eolstrip_LDFLAGS) $(eolstrip_OBJECTS) $(eolstrip_LDADD) $(LIBS)
|
|
|
|
packhex: $(packhex_OBJECTS) $(packhex_DEPENDENCIES)
|
|
@rm -f packhex
|
|
$(LINK) $(packhex_LDFLAGS) $(packhex_OBJECTS) $(packhex_LDADD) $(LIBS)
|
|
|
|
unhex: $(unhex_OBJECTS) $(unhex_DEPENDENCIES)
|
|
@rm -f unhex
|
|
$(LINK) $(unhex_LDFLAGS) $(unhex_OBJECTS) $(unhex_LDADD) $(LIBS)
|
|
|
|
install-binSCRIPTS: $(bin_SCRIPTS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(bindir)
|
|
@list='$(bin_SCRIPTS)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
echo " $(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
$(INSTALL_SCRIPT) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
else if test -f $(srcdir)/$$p; then \
|
|
echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`"; \
|
|
$(INSTALL_SCRIPT) $(srcdir)/$$p $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
else :; fi; fi; \
|
|
done
|
|
|
|
uninstall-binSCRIPTS:
|
|
$(NORMAL_UNINSTALL)
|
|
list='$(bin_SCRIPTS)'; for p in $$list; do \
|
|
rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
|
|
done
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES)
|
|
here=`pwd` && cd $(srcdir) && mkid -f$$here/ID $(SOURCES) $(HEADERS)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
test -z "$(ETAGS_ARGS)config.h.in$(SOURCES)$(HEADERS)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $(SOURCES) $(HEADERS) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
top_distdir = $(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
|
|
rm -rf $(distdir)
|
|
GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
|
|
mkdir $(distdir)/=build
|
|
mkdir $(distdir)/=inst
|
|
dc_install_base=`cd $(distdir)/=inst && pwd`; \
|
|
cd $(distdir)/=build \
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
&& $(MAKE) \
|
|
&& $(MAKE) dvi \
|
|
&& $(MAKE) check \
|
|
&& $(MAKE) install \
|
|
&& $(MAKE) installcheck \
|
|
&& $(MAKE) dist
|
|
rm -rf $(distdir)
|
|
@echo "========================"; \
|
|
echo "$(distdir).tar.gz is ready for distribution"; \
|
|
echo "========================"
|
|
dist: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
rm -rf $(distdir)
|
|
dist-all: distdir
|
|
-chmod -R a+r $(distdir)
|
|
GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
|
|
rm -rf $(distdir)
|
|
distdir: $(DISTFILES)
|
|
rm -rf $(distdir)
|
|
mkdir $(distdir)
|
|
-chmod 777 $(distdir)
|
|
here=`cd $(top_builddir) && pwd`; \
|
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
|
cd $(top_srcdir) \
|
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign Makefile
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file; \
|
|
done
|
|
|
|
MKDEP = gcc -M $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
|
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
|
-include .deps/.P
|
|
.deps/.P: $(BUILT_SOURCES)
|
|
echo > $@
|
|
|
|
-include $(DEP_FILES)
|
|
|
|
mostlyclean-depend:
|
|
|
|
clean-depend:
|
|
|
|
distclean-depend:
|
|
|
|
maintainer-clean-depend:
|
|
rm -rf .deps
|
|
|
|
.deps/%.P: %.c
|
|
@echo "Computing dependencies for $<..."
|
|
@o='o'; \
|
|
test -n "$o" && o='$$o'; \
|
|
$(MKDEP) $< >$@.tmp \
|
|
&& sed "s,^\(.*\)\.o:,\1.$$o \1.l$$o $@:," < $@.tmp > $@ \
|
|
&& rm -f $@.tmp
|
|
info:
|
|
dvi:
|
|
check: all
|
|
$(MAKE)
|
|
installcheck:
|
|
install-exec: install-binPROGRAMS install-binSCRIPTS install-exec-local
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install-data:
|
|
@$(NORMAL_INSTALL)
|
|
|
|
install: install-exec install-data all
|
|
@:
|
|
|
|
uninstall: uninstall-binPROGRAMS uninstall-binSCRIPTS
|
|
|
|
all: Makefile $(PROGRAMS) $(SCRIPTS) config.h
|
|
|
|
install-strip:
|
|
$(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
|
|
installdirs:
|
|
$(mkinstalldirs) $(bindir) $(bindir)
|
|
|
|
|
|
mostlyclean-generic:
|
|
test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
|
|
|
|
clean-generic:
|
|
test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
rm -f Makefile $(DISTCLEANFILES)
|
|
rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
|
maintainer-clean-generic:
|
|
test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
|
mostlyclean: mostlyclean-hdr mostlyclean-binPROGRAMS \
|
|
mostlyclean-compile mostlyclean-tags mostlyclean-depend \
|
|
mostlyclean-generic
|
|
|
|
clean: clean-hdr clean-binPROGRAMS clean-compile clean-tags \
|
|
clean-depend clean-generic mostlyclean
|
|
|
|
distclean: distclean-hdr distclean-binPROGRAMS distclean-compile \
|
|
distclean-tags distclean-depend distclean-generic clean
|
|
rm -f config.status
|
|
|
|
maintainer-clean: maintainer-clean-hdr maintainer-clean-binPROGRAMS \
|
|
maintainer-clean-compile maintainer-clean-tags \
|
|
maintainer-clean-depend maintainer-clean-generic \
|
|
distclean
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
rm -f config.status
|
|
|
|
.PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
|
|
maintainer-clean-hdr mostlyclean-binPROGRAMS distclean-binPROGRAMS \
|
|
clean-binPROGRAMS maintainer-clean-binPROGRAMS uninstall-binPROGRAMS \
|
|
install-binPROGRAMS mostlyclean-compile distclean-compile clean-compile \
|
|
maintainer-clean-compile uninstall-binSCRIPTS install-binSCRIPTS tags \
|
|
mostlyclean-tags distclean-tags clean-tags maintainer-clean-tags \
|
|
distdir mostlyclean-depend distclean-depend clean-depend \
|
|
maintainer-clean-depend info dvi installcheck install-exec install-data \
|
|
install uninstall all installdirs mostlyclean-generic distclean-generic \
|
|
clean-generic maintainer-clean-generic clean mostlyclean distclean \
|
|
maintainer-clean
|
|
|
|
|
|
#
|
|
# HACK: Install to build directory
|
|
#
|
|
install-exec-local: $(bin_PROGRAMS) $(bin_SCRIPTS)
|
|
if test -n "${RTEMS_BSP}"; then \
|
|
$(mkinstalldirs) $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
|
|
for i in $(bin_SCRIPTS); do \
|
|
$(INSTALL_SCRIPT) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
|
|
done; \
|
|
for i in $(bin_PROGRAMS); do \
|
|
$(INSTALL_PROGRAM) $$i $(PROJECT_ROOT)/${RTEMS_BSP}/build-tools; \
|
|
done; \
|
|
fi
|
|
|
|
preinstall: install-exec-local
|
|
|
|
include $(top_srcdir)/../../automake/local.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:
|