Changeset 9f4868c in rtems


Ignore:
Timestamp:
Nov 23, 1999, 1:57:02 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
23e3f642
Parents:
d5b004b
Message:

Miscellaneous patches from Ralf Corsepius <corsepiu@…>
that are part of the Makefile.am conversion effort but were missed
in the previous commits.

Files:
30 edited

Legend:

Unmodified
Added
Removed
  • Makefile.am

    rd5b004b r9f4868c  
    1414AUTOMAKE_FILES = \
    1515automake/subdirs.am \
    16 automake/local.am
     16automake/local.am \
     17automake/lib.am
    1718
    1819ACLOCAL_FILES += \
  • aclocal/enable-itron.m4

    rd5b004b r9f4868c  
    33AC_DEFUN(RTEMS_ENABLE_ITRON,
    44[
    5 AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
     5## AC_BEFORE([$0], [RTEMS_CHECK_ITRON_API])dnl
    66
    77AC_ARG_ENABLE(itron,
  • aclocal/enable-networking.m4

    rd5b004b r9f4868c  
    33AC_DEFUN(RTEMS_ENABLE_NETWORKING,
    44[
    5 AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
     5## AC_BEFORE([$0], [RTEMS_CHECK_NETWORKING])dnl
    66
    77AC_ARG_ENABLE(networking,
  • aclocal/enable-posix.m4

    rd5b004b r9f4868c  
    33AC_DEFUN(RTEMS_ENABLE_POSIX,
    44[
    5 AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
     5## AC_BEFORE([$0], [RTEMS_CHECK_POSIX_API])dnl
    66
    77AC_ARG_ENABLE(posix,
  • c/src/exec/librpc/include/rpc/Makefile.am

    rd5b004b r9f4868c  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 if HAS_NETWORKING
    87H_FILES = auth.h rpc.h svc.h types.h clnt.h rpc_msg.h svc_auth.h xdr.h
    98
    109noinst_HEADERS = $(H_FILES)
    1110
     11if HAS_NETWORKING
    1212PREINSTALL_FILES = \
    1313$(PROJECT_INCLUDE)/rpc \
    14 $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rpc/%)
     14$(H_FILES:%=$(PROJECT_INCLUDE)/rpc/%)
    1515
    1616$(PROJECT_INCLUDE)/rpc:
  • c/src/libchip/network/Makefile.am

    rd5b004b r9f4868c  
    3838$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
    3939
    40 TMPINSTALL_FILES = \
    41 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBSUFFIX_VA)
     40TMPINSTALL_FILES += \
     41$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    4242
    43 $(LIB): $(SRCS) ${OBJS}
     43$(LIB): ${OBJS}
    4444        $(make-library)
    4545
    46 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBSUFFIX_VA): $(LIB)
     46$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
    4747        $(INSTALL_DATA) $< $@
    4848
  • c/src/libchip/rtc/Makefile.am

    rd5b004b r9f4868c  
    2020
    2121include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    22 include $(RTEMS_ROOT)/make/lib.cfg
     22include $(top_srcdir)/../../../automake/lib.am
    2323
    2424PREINSTALL_FILES = \
     
    2626$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/libchip/%)
    2727
    28 TMPINSTALL_FILES = \
    29 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBSUFFIX_VA)
     28TMPINSTALL_FILES += \
     29$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    3030
    3131$(PROJECT_INCLUDE)/libchip:
     
    4040AM_CFLAGS += $(LIBC_DEFINES)
    4141
    42 $(LIB): $(SRCS) ${OBJS}
     42$(LIB): ${OBJS}
    4343        $(make-library)
    4444
    45 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBSUFFIX_VA): $(LIB)
     45$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
    4646        $(INSTALL_DATA) $< $@
    4747
  • c/src/libchip/serial/Makefile.am

    rd5b004b r9f4868c  
    2121
    2222include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    23 include $(RTEMS_ROOT)/make/lib.cfg
     23include $(top_srcdir)/../../../automake/lib.am
    2424
    2525PREINSTALL_FILES = \
     
    2727$(INSTALLED_H_FILES:%=$(PROJECT_INCLUDE)/libchip/%)
    2828
    29 TMPINSTALL_FILES = \
    30 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBSUFFIX_VA)
     29TMPINSTALL_FILES += \
     30$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
    3131
    3232$(PROJECT_INCLUDE)/libchip:
     
    4141AM_CFLAGS += $(LIBC_DEFINES)
    4242
    43 $(LIB): $(SRCS) ${OBJS}
     43$(LIB): ${OBJS}
    4444        $(make-library)
    4545
    46 $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBSUFFIX_VA): $(LIB)
     46$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
    4747        $(INSTALL_DATA) $< $@
    4848
  • c/src/libnetworking/include/Makefile.in

    rd5b004b r9f4868c  
    5757    $(NFS_H_FILES) $(RTEMS_SERVERS_H_FILES)
    5858
    59 RTEMS_WEBSERVER_H_PIECES= rtems_webserver
    60 RTEMS_WEBSERVER_H_FILES=$(RTEMS_WEBSERVER_H_PIECES:%=$(srcdir)/../rtems_webserver/%.h)
     59RTEMS_WEBSERVER_H_PIECES = rtems_webserver
     60RTEMS_WEBSERVER_H_FILES = \
     61    $(RTEMS_WEBSERVER_H_PIECES:%=$(srcdir)/../rtems_webserver/%.h)
    6162
    6263include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     
    6667mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    6768
    68 INSTALLDIRS = $(PROJECT_INCLUDE) \
    69     $(PROJECT_INCLUDE)/sys $(PROJECT_INCLUDE)/machine \
    70     $(PROJECT_INCLUDE)/rtems $(PROJECT_INCLUDE)/vm \
    71     $(PROJECT_INCLUDE)/net $(PROJECT_INCLUDE)/netinet \
     69INSTALLDIRS = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/sys \
     70    $(PROJECT_INCLUDE)/machine $(PROJECT_INCLUDE)/rtems \
     71    $(PROJECT_INCLUDE)/vm $(PROJECT_INCLUDE)/net $(PROJECT_INCLUDE)/netinet \
    7272    $(PROJECT_INCLUDE)/arpa $(PROJECT_INCLUDE)/nfs
    7373
  • c/src/libnetworking/rtems_webserver/Makefile.in

    rd5b004b r9f4868c  
    77top_srcdir = @top_srcdir@
    88top_builddir = ..
    9 subdir = rtems_servers
     9subdir = rtems_webserver
    1010
    1111RTEMS_ROOT = @RTEMS_ROOT@
     
    1818
    1919# C and C++ source names, if any, go here -- minus the .c or .cc
    20 C_PIECES=asp balloc wbase64 default ejlex ejparse form h handler mime \
    21          misc webpage ringq rom security socket sym uemf url value webcomp \
    22          webrom webs websuemf webmain
     20C_PIECES = asp balloc wbase64 default ejlex ejparse form h handler mime misc \
     21    webpage ringq rom security socket sym uemf url value webcomp webrom webs \
     22    websuemf webmain
    2323C_FILES = $(C_PIECES:%=%.c)
    2424C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
  • c/src/libnetworking/wrapup/Makefile.in

    rd5b004b r9f4868c  
    1414VPATH = @srcdir@
    1515
    16 NET_O_PIECES = kern lib libc net netinet nfs rtems rtems_servers $(POSIX_PIECES)
     16NET_O_PIECES = kern lib libc net netinet nfs rtems rtems_servers \
     17    $(POSIX_PIECES)
    1718OBJS = $(foreach piece, $(NET_O_PIECES), ../$(piece)/$(ARCH)/*.o)
    1819LIB = $(ARCH)/libnetworking.a
     
    2223
    2324INSTALL_CHANGE = @INSTALL_CHANGE@
     25
    2426HAS_POSIX_API = @HAS_POSIX_API@
    2527
    2628ifeq ($(HAS_POSIX),yes)
    2729POSIX_PIECES = rtems_webserver
    28 endif
    29 
     30endif
    3031
    3132#
  • c/src/librdbg/src/i386/Makefile.am

    rd5b004b r9f4868c  
    99
    1010EXTRA_DIST = \
    11 excep_f.c rdbg_cpu_asm.S \
    12 excep.c rdbg_f.c
     11excep_f.c rdbg_cpu_asm.S rdbg_f.c
    1312
    1413include $(top_srcdir)/../../../automake/subdirs.am
  • c/src/librdbg/src/i386/any/Makefile.in

    rd5b004b r9f4868c  
    1 #
    2 #  $Id$
    3 #
    4 
    5 @SET_MAKE@
     1# Makefile.in generated automatically by automake 1.4a from Makefile.am
     2
     3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     4# This Makefile.in is free software; the Free Software Foundation
     5# gives unlimited permission to copy and/or distribute it,
     6# with or without modifications, as long as this notice is preserved.
     7
     8# This program is distributed in the hope that it will be useful,
     9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     11# PARTICULAR PURPOSE.
     12
     13
     14
     15
     16SHELL = @SHELL@
     17
    618srcdir = @srcdir@
    719top_srcdir = @top_srcdir@
     20prefix = @prefix@
     21exec_prefix = @exec_prefix@
     22
     23bindir = @bindir@
     24sbindir = @sbindir@
     25libexecdir = @libexecdir@
     26datadir = @datadir@
     27sysconfdir = @sysconfdir@
     28sharedstatedir = @sharedstatedir@
     29localstatedir = @localstatedir@
     30libdir = @libdir@
     31infodir = @infodir@
     32mandir = @mandir@
     33includedir = @includedir@
     34oldincludedir = /usr/include
     35
     36DESTDIR =
     37
     38pkgdatadir = $(datadir)/@PACKAGE@
     39pkglibdir = $(libdir)/@PACKAGE@
     40pkgincludedir = $(includedir)/@PACKAGE@
     41
    842top_builddir = ../../..
    9 subdir = src/i386/pc386
    10 
     43
     44ACLOCAL = @ACLOCAL@
     45AUTOCONF = @AUTOCONF@
     46AUTOMAKE = @AUTOMAKE@
     47AUTOHEADER = @AUTOHEADER@
     48
     49INSTALL = @INSTALL@
     50INSTALL_PROGRAM = @INSTALL_PROGRAM@
     51INSTALL_DATA = @INSTALL_DATA@
     52INSTALL_SCRIPT = @INSTALL_SCRIPT@
     53INSTALL_STRIP_FLAG =
     54transform = @program_transform_name@
     55
     56NORMAL_INSTALL = :
     57PRE_INSTALL = :
     58POST_INSTALL = :
     59NORMAL_UNINSTALL = :
     60PRE_UNINSTALL = :
     61POST_UNINSTALL = :
     62build_alias = @build_alias@
     63build_triplet = @build@
     64host_alias = @host_alias@
     65host_triplet = @host@
     66target_alias = @target_alias@
     67target_triplet = @target@
     68CC = @CC@
     69CC_FOR_TARGET = @CC_FOR_TARGET@
     70CPP = @CPP@
     71GCCSED = @GCCSED@
     72HAS_NETWORKING = @HAS_NETWORKING@
     73HAS_RDBG = @HAS_RDBG@
     74INSTALL_CHANGE = @INSTALL_CHANGE@
     75MAINT = @MAINT@
     76MAKEINFO = @MAKEINFO@
     77PACKAGE = @PACKAGE@
     78PACKHEX = @PACKHEX@
     79PROJECT_INCLUDE = @PROJECT_INCLUDE@
     80PROJECT_ROOT = @PROJECT_ROOT@
     81RTEMS_BSP = @RTEMS_BSP@
     82RTEMS_CPU = @RTEMS_CPU@
     83RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
     84RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
     85RTEMS_HOST = @RTEMS_HOST@
     86RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
    1187RTEMS_ROOT = @RTEMS_ROOT@
    12 PROJECT_ROOT = @PROJECT_ROOT@
     88RTEMS_TOPdir = @RTEMS_TOPdir@
     89VERSION = @VERSION@
     90
     91AUTOMAKE_OPTIONS = foreign 1.4
    1392
    1493VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
    1594
    16 LIBNAME = librdbg.a
    17 LIB = ${ARCH}/${LIBNAME}
     95LIBNAME = librdbg
     96LIB = ${ARCH}/${LIBNAME}.a
    1897
    1998# C and C++ source names, if any, go here -- minus the .c or .cc
    20 C_PIECES = rdbg servcon servbkpt servrpc excep excep_f servtgt servtsp \
    21     servutil _servtgt rdbg_f ptrace
    22 
    23 C_FILES = $(C_PIECES:%=%.c)
    24 C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
     99C_FILES = rdbg.c servcon.c servbkpt.c servrpc.c excep.c excep_f.c servtgt.c     servtsp.c servutil.c _servtgt.c rdbg_f.c ptrace.c
     100
     101C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    25102
    26103# Asm source names, if any, go here -- minus the .s
    27 S_PIECES = rdbg_cpu_asm
    28 S_FILES = $(S_PIECES:%=%.S)
    29 S_O_FILES = $(S_PIECES:%=${ARCH}/%.o)
     104S_FILES = rdbg_cpu_asm.S
     105S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    30106
    31107# Generated C source names, if any, go here -- minus the .c
    32 GEN_C_PIECES = remdeb_xdr remdeb_svc
    33 GEN_C_FILES = $(GEN_C_PIECES:%=%.c)
    34 GEN_C_O_FILES = $(GEN_C_PIECES:%=${ARCH}/%.o)
     108GEN_C_FILES = remdeb_xdr.c remdeb_svc.c
     109GEN_C_O_FILES = $(GEN_C_PIECES:%.c=${ARCH}/%.o)
    35110
    36111# H source names, if any, go here -- minus the .h
    37 H_PIECES = remdeb
    38 H_FILES = $(H_PIECES:%=%.h)
     112H_FILES = remdeb.h
    39113
    40114# X source names
     
    47121AWK = @AWK@
    48122
    49 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    50 include $(RTEMS_ROOT)/make/lib.cfg
    51 
    52 INSTALL_CHANGE = @INSTALL_CHANGE@
    53 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    54 
    55 INSTALLDIRS = $(PROJECT_INCLUDE)/rdbg
    56 
    57 $(INSTALLDIRS):
    58         @$(mkinstalldirs) $(INSTALLDIRS)
     123TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a
     124
     125
     126PREINSTALL_FILES =  $(PROJECT_INCLUDE)/rdbg $(PROJECT_INCLUDE)/rdbg/remdeb.h
     127
    59128
    60129#
    61130# Add local stuff here using +=
    62131#
    63 
    64 DEFINES +=
    65 CPPFLAGS +=
    66 CFLAGS +=
    67132
    68133#
     
    73138#
    74139
    75 CLEAN_ADDITIONS += $(LIB) $(H_FILES) $(GEN_C_FILES)
    76 CLOBBER_ADDITIONS +=
     140CLEANFILES =  $(LIB) $(H_FILES) $(GEN_C_FILES)
    77141
    78142FRONTEND = \"$(RTEMS_CPU)/@RTEMS_BSP@/remdeb_f.x\"
    79143
    80 all: ${ARCH} $(LIB)
    81         @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    82 
    83 $(LIB): $(SRCS) ${OBJS}
     144EXTRA_DIST = remdeb_f.x
     145mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
     146CONFIG_CLEAN_FILES =
     147DIST_COMMON =  Makefile.am Makefile.in
     148
     149
     150DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     151
     152TAR = gtar
     153GZIP_ENV = --best
     154all: all-redirect
     155.SUFFIXES:
     156$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../automake/lib.am $(top_srcdir)/../../../automake/local.am
     157        cd $(top_srcdir) && $(AUTOMAKE) --foreign src/i386/pc386/Makefile
     158
     159Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
     160        cd $(top_builddir) \
     161          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     162
     163tags: TAGS
     164TAGS:
     165
     166
     167distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
     168
     169subdir = src/i386/pc386
     170
     171distdir: $(DISTFILES)
     172        here=`cd $(top_builddir) && pwd`; \
     173        top_distdir=`cd $(top_distdir) && pwd`; \
     174        distdir=`cd $(distdir) && pwd`; \
     175        cd $(top_srcdir) \
     176          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign src/i386/pc386/Makefile
     177        @for file in $(DISTFILES); do \
     178          d=$(srcdir); \
     179          if test -d $$d/$$file; then \
     180            cp -pr $$d/$$file $(distdir)/$$file; \
     181          else \
     182            test -f $(distdir)/$$file \
     183            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
     184            || cp -p $$d/$$file $(distdir)/$$file || :; \
     185          fi; \
     186        done
     187info-am:
     188info: info-am
     189dvi-am:
     190dvi: dvi-am
     191check-am: all-am
     192check: check-am
     193installcheck-am:
     194installcheck: installcheck-am
     195install-exec-am:
     196install-exec: install-exec-am
     197
     198install-data-am:
     199install-data: install-data-am
     200
     201install-am: all-am
     202        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     203install: install-am
     204uninstall-am:
     205uninstall: uninstall-am
     206all-am: Makefile
     207all-redirect: all-am
     208install-strip:
     209        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
     210installdirs:
     211
     212
     213mostlyclean-generic:
     214
     215clean-generic:
     216        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
     217
     218distclean-generic:
     219        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     220        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     221
     222maintainer-clean-generic:
     223mostlyclean-am:  mostlyclean-generic
     224
     225mostlyclean: mostlyclean-am
     226
     227clean-am:  clean-generic mostlyclean-am
     228
     229clean: clean-am
     230
     231distclean-am:  distclean-generic clean-am
     232
     233distclean: distclean-am
     234
     235maintainer-clean-am:  maintainer-clean-generic distclean-am
     236        @echo "This command is intended for maintainers to use;"
     237        @echo "it deletes files that may require special tools to rebuild."
     238
     239maintainer-clean: maintainer-clean-am
     240
     241.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     242installcheck-am installcheck install-exec-am install-exec \
     243install-data-am install-data install-am install uninstall-am uninstall \
     244all-redirect all-am all installdirs mostlyclean-generic \
     245distclean-generic clean-generic maintainer-clean-generic clean \
     246mostlyclean distclean maintainer-clean
     247
     248
     249include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     250
     251include $(RTEMS_ROOT)/make/leaf.cfg
     252
     253define make-library
     254$(RM) $@
     255$(AR) $(ARFLAGS) $@ $^
     256$(RANLIB) $@
     257endef
     258
     259$(PROJECT_INCLUDE)/lib:
     260        @$(mkinstalldirs) $@
     261
     262.PRECIOUS: $(LIB)
     263
     264$(PROJECT_INCLUDE)/rdbg:
     265        @$(mkinstalldirs) $@
     266
     267$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a: $(LIB)
     268        $(INSTALL_DATA) $< $@
     269
     270all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     271
     272$(LIB): ${OBJS}
    84273        $(make-library)
    85274
     
    89278        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
    90279          -o $$pwd/$@ remdeb.x )
    91         @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
     280
     281$(PROJECT_INCLUDE)/rdbg/remdeb.h: remdeb.h
     282        $(INSTALL_DATA) $< $@
    92283
    93284remdeb_xdr.c: $(X_FILES)
     
    105296        @rm -f tmpSvc.c
    106297
    107 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    108         cd $(top_builddir) \
    109          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     298debug-am:
     299debug: debug-am
     300.PHONY: debug debug-am
     301
     302profile-am:
     303profile: profile-am
     304.PHONY: profile profile-am
     305
     306preinstall-am: $(PREINSTALL_FILES)
     307preinstall: preinstall-am
     308.PHONY: preinstall preinstall-am
     309
     310depend-am:
     311depend: depend-am
     312.PHONY: depend depend-am
     313
     314# Tell versions [3.59,3.63) of GNU make to not export all variables.
     315# Otherwise a system limit (for SysV at least) may be exceeded.
     316.NOEXPORT:
  • c/src/librdbg/src/i386/pc386/Makefile.in

    rd5b004b r9f4868c  
    1 #
    2 #  $Id$
    3 #
    4 
    5 @SET_MAKE@
     1# Makefile.in generated automatically by automake 1.4a from Makefile.am
     2
     3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     4# This Makefile.in is free software; the Free Software Foundation
     5# gives unlimited permission to copy and/or distribute it,
     6# with or without modifications, as long as this notice is preserved.
     7
     8# This program is distributed in the hope that it will be useful,
     9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     11# PARTICULAR PURPOSE.
     12
     13
     14
     15
     16SHELL = @SHELL@
     17
    618srcdir = @srcdir@
    719top_srcdir = @top_srcdir@
     20prefix = @prefix@
     21exec_prefix = @exec_prefix@
     22
     23bindir = @bindir@
     24sbindir = @sbindir@
     25libexecdir = @libexecdir@
     26datadir = @datadir@
     27sysconfdir = @sysconfdir@
     28sharedstatedir = @sharedstatedir@
     29localstatedir = @localstatedir@
     30libdir = @libdir@
     31infodir = @infodir@
     32mandir = @mandir@
     33includedir = @includedir@
     34oldincludedir = /usr/include
     35
     36DESTDIR =
     37
     38pkgdatadir = $(datadir)/@PACKAGE@
     39pkglibdir = $(libdir)/@PACKAGE@
     40pkgincludedir = $(includedir)/@PACKAGE@
     41
    842top_builddir = ../../..
    9 subdir = src/i386/pc386
    10 
     43
     44ACLOCAL = @ACLOCAL@
     45AUTOCONF = @AUTOCONF@
     46AUTOMAKE = @AUTOMAKE@
     47AUTOHEADER = @AUTOHEADER@
     48
     49INSTALL = @INSTALL@
     50INSTALL_PROGRAM = @INSTALL_PROGRAM@
     51INSTALL_DATA = @INSTALL_DATA@
     52INSTALL_SCRIPT = @INSTALL_SCRIPT@
     53INSTALL_STRIP_FLAG =
     54transform = @program_transform_name@
     55
     56NORMAL_INSTALL = :
     57PRE_INSTALL = :
     58POST_INSTALL = :
     59NORMAL_UNINSTALL = :
     60PRE_UNINSTALL = :
     61POST_UNINSTALL = :
     62build_alias = @build_alias@
     63build_triplet = @build@
     64host_alias = @host_alias@
     65host_triplet = @host@
     66target_alias = @target_alias@
     67target_triplet = @target@
     68CC = @CC@
     69CC_FOR_TARGET = @CC_FOR_TARGET@
     70CPP = @CPP@
     71GCCSED = @GCCSED@
     72HAS_NETWORKING = @HAS_NETWORKING@
     73HAS_RDBG = @HAS_RDBG@
     74INSTALL_CHANGE = @INSTALL_CHANGE@
     75MAINT = @MAINT@
     76MAKEINFO = @MAKEINFO@
     77PACKAGE = @PACKAGE@
     78PACKHEX = @PACKHEX@
     79PROJECT_INCLUDE = @PROJECT_INCLUDE@
     80PROJECT_ROOT = @PROJECT_ROOT@
     81RTEMS_BSP = @RTEMS_BSP@
     82RTEMS_CPU = @RTEMS_CPU@
     83RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
     84RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
     85RTEMS_HOST = @RTEMS_HOST@
     86RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
    1187RTEMS_ROOT = @RTEMS_ROOT@
    12 PROJECT_ROOT = @PROJECT_ROOT@
     88RTEMS_TOPdir = @RTEMS_TOPdir@
     89VERSION = @VERSION@
     90
     91AUTOMAKE_OPTIONS = foreign 1.4
    1392
    1493VPATH = @srcdir@:@srcdir@/..:@srcdir@/../..
    1594
    16 LIBNAME = librdbg.a
    17 LIB = ${ARCH}/${LIBNAME}
     95LIBNAME = librdbg
     96LIB = ${ARCH}/${LIBNAME}.a
    1897
    1998# C and C++ source names, if any, go here -- minus the .c or .cc
    20 C_PIECES = rdbg servcon servbkpt servrpc excep excep_f servtgt servtsp \
    21     servutil _servtgt rdbg_f ptrace
    22 
    23 C_FILES = $(C_PIECES:%=%.c)
    24 C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
     99C_FILES = rdbg.c servcon.c servbkpt.c servrpc.c excep.c excep_f.c servtgt.c     servtsp.c servutil.c _servtgt.c rdbg_f.c ptrace.c
     100
     101C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    25102
    26103# Asm source names, if any, go here -- minus the .s
    27 S_PIECES = rdbg_cpu_asm
    28 S_FILES = $(S_PIECES:%=%.S)
    29 S_O_FILES = $(S_PIECES:%=${ARCH}/%.o)
     104S_FILES = rdbg_cpu_asm.S
     105S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    30106
    31107# Generated C source names, if any, go here -- minus the .c
    32 GEN_C_PIECES = remdeb_xdr remdeb_svc
    33 GEN_C_FILES = $(GEN_C_PIECES:%=%.c)
    34 GEN_C_O_FILES = $(GEN_C_PIECES:%=${ARCH}/%.o)
     108GEN_C_FILES = remdeb_xdr.c remdeb_svc.c
     109GEN_C_O_FILES = $(GEN_C_PIECES:%.c=${ARCH}/%.o)
    35110
    36111# H source names, if any, go here -- minus the .h
    37 H_PIECES = remdeb
    38 H_FILES = $(H_PIECES:%=%.h)
     112H_FILES = remdeb.h
    39113
    40114# X source names
     
    47121AWK = @AWK@
    48122
    49 include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    50 include $(RTEMS_ROOT)/make/lib.cfg
    51 
    52 INSTALL_CHANGE = @INSTALL_CHANGE@
    53 mkinstalldirs = $(SHELL) $(top_srcdir)/@RTEMS_TOPdir@/mkinstalldirs
    54 
    55 INSTALLDIRS = $(PROJECT_INCLUDE)/rdbg
    56 
    57 $(INSTALLDIRS):
    58         @$(mkinstalldirs) $(INSTALLDIRS)
     123TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a
     124
     125
     126PREINSTALL_FILES =  $(PROJECT_INCLUDE)/rdbg $(PROJECT_INCLUDE)/rdbg/remdeb.h
     127
    59128
    60129#
    61130# Add local stuff here using +=
    62131#
    63 
    64 DEFINES +=
    65 CPPFLAGS +=
    66 CFLAGS +=
    67132
    68133#
     
    73138#
    74139
    75 CLEAN_ADDITIONS += $(LIB) $(H_FILES) $(GEN_C_FILES)
    76 CLOBBER_ADDITIONS +=
     140CLEANFILES =  $(LIB) $(H_FILES) $(GEN_C_FILES)
    77141
    78142FRONTEND = \"$(RTEMS_CPU)/@RTEMS_BSP@/remdeb_f.x\"
    79143
    80 all: ${ARCH} $(LIB)
    81         @$(INSTALL_VARIANT) -m 644 $(LIB) $(PROJECT_RELEASE)/lib
    82 
    83 $(LIB): $(SRCS) ${OBJS}
     144EXTRA_DIST = remdeb_f.x
     145mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
     146CONFIG_CLEAN_FILES =
     147DIST_COMMON =  Makefile.am Makefile.in
     148
     149
     150DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     151
     152TAR = gtar
     153GZIP_ENV = --best
     154all: all-redirect
     155.SUFFIXES:
     156$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../automake/lib.am $(top_srcdir)/../../../automake/local.am
     157        cd $(top_srcdir) && $(AUTOMAKE) --foreign src/i386/pc386/Makefile
     158
     159Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
     160        cd $(top_builddir) \
     161          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     162
     163tags: TAGS
     164TAGS:
     165
     166
     167distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
     168
     169subdir = src/i386/pc386
     170
     171distdir: $(DISTFILES)
     172        here=`cd $(top_builddir) && pwd`; \
     173        top_distdir=`cd $(top_distdir) && pwd`; \
     174        distdir=`cd $(distdir) && pwd`; \
     175        cd $(top_srcdir) \
     176          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign src/i386/pc386/Makefile
     177        @for file in $(DISTFILES); do \
     178          d=$(srcdir); \
     179          if test -d $$d/$$file; then \
     180            cp -pr $$d/$$file $(distdir)/$$file; \
     181          else \
     182            test -f $(distdir)/$$file \
     183            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
     184            || cp -p $$d/$$file $(distdir)/$$file || :; \
     185          fi; \
     186        done
     187info-am:
     188info: info-am
     189dvi-am:
     190dvi: dvi-am
     191check-am: all-am
     192check: check-am
     193installcheck-am:
     194installcheck: installcheck-am
     195install-exec-am:
     196install-exec: install-exec-am
     197
     198install-data-am:
     199install-data: install-data-am
     200
     201install-am: all-am
     202        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     203install: install-am
     204uninstall-am:
     205uninstall: uninstall-am
     206all-am: Makefile
     207all-redirect: all-am
     208install-strip:
     209        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
     210installdirs:
     211
     212
     213mostlyclean-generic:
     214
     215clean-generic:
     216        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
     217
     218distclean-generic:
     219        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     220        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     221
     222maintainer-clean-generic:
     223mostlyclean-am:  mostlyclean-generic
     224
     225mostlyclean: mostlyclean-am
     226
     227clean-am:  clean-generic mostlyclean-am
     228
     229clean: clean-am
     230
     231distclean-am:  distclean-generic clean-am
     232
     233distclean: distclean-am
     234
     235maintainer-clean-am:  maintainer-clean-generic distclean-am
     236        @echo "This command is intended for maintainers to use;"
     237        @echo "it deletes files that may require special tools to rebuild."
     238
     239maintainer-clean: maintainer-clean-am
     240
     241.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     242installcheck-am installcheck install-exec-am install-exec \
     243install-data-am install-data install-am install uninstall-am uninstall \
     244all-redirect all-am all installdirs mostlyclean-generic \
     245distclean-generic clean-generic maintainer-clean-generic clean \
     246mostlyclean distclean maintainer-clean
     247
     248
     249include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     250
     251include $(RTEMS_ROOT)/make/leaf.cfg
     252
     253define make-library
     254$(RM) $@
     255$(AR) $(ARFLAGS) $@ $^
     256$(RANLIB) $@
     257endef
     258
     259$(PROJECT_INCLUDE)/lib:
     260        @$(mkinstalldirs) $@
     261
     262.PRECIOUS: $(LIB)
     263
     264$(PROJECT_INCLUDE)/rdbg:
     265        @$(mkinstalldirs) $@
     266
     267$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIBVARIANT).a: $(LIB)
     268        $(INSTALL_DATA) $< $@
     269
     270all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     271
     272$(LIB): ${OBJS}
    84273        $(make-library)
    85274
     
    89278        $(RPCGEN) -h -DFRONTEND=$(FRONTEND) \
    90279          -o $$pwd/$@ remdeb.x )
    91         @$(INSTALL_CHANGE) -m 755 $@ $(PROJECT_INCLUDE)/rdbg
     280
     281$(PROJECT_INCLUDE)/rdbg/remdeb.h: remdeb.h
     282        $(INSTALL_DATA) $< $@
    92283
    93284remdeb_xdr.c: $(X_FILES)
     
    105296        @rm -f tmpSvc.c
    106297
    107 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    108         cd $(top_builddir) \
    109          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     298debug-am:
     299debug: debug-am
     300.PHONY: debug debug-am
     301
     302profile-am:
     303profile: profile-am
     304.PHONY: profile profile-am
     305
     306preinstall-am: $(PREINSTALL_FILES)
     307preinstall: preinstall-am
     308.PHONY: preinstall preinstall-am
     309
     310depend-am:
     311depend: depend-am
     312.PHONY: depend depend-am
     313
     314# Tell versions [3.59,3.63) of GNU make to not export all variables.
     315# Otherwise a system limit (for SysV at least) may be exceeded.
     316.NOEXPORT:
  • c/src/librpc/include/rpc/Makefile.am

    rd5b004b r9f4868c  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 if HAS_NETWORKING
    87H_FILES = auth.h rpc.h svc.h types.h clnt.h rpc_msg.h svc_auth.h xdr.h
    98
    109noinst_HEADERS = $(H_FILES)
    1110
     11if HAS_NETWORKING
    1212PREINSTALL_FILES = \
    1313$(PROJECT_INCLUDE)/rpc \
    14 $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rpc/%)
     14$(H_FILES:%=$(PROJECT_INCLUDE)/rpc/%)
    1515
    1616$(PROJECT_INCLUDE)/rpc:
  • c/src/librpc/src/Makefile.in

    rd5b004b r9f4868c  
    1 #
    2 #  $Id$
    3 #
    4 
    5 @SET_MAKE@
     1# Makefile.in generated automatically by automake 1.4a from Makefile.am
     2
     3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     4# This Makefile.in is free software; the Free Software Foundation
     5# gives unlimited permission to copy and/or distribute it,
     6# with or without modifications, as long as this notice is preserved.
     7
     8# This program is distributed in the hope that it will be useful,
     9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     11# PARTICULAR PURPOSE.
     12
     13
     14
     15
     16SHELL = @SHELL@
     17
    618srcdir = @srcdir@
    719top_srcdir = @top_srcdir@
     20VPATH = @srcdir@
     21prefix = @prefix@
     22exec_prefix = @exec_prefix@
     23
     24bindir = @bindir@
     25sbindir = @sbindir@
     26libexecdir = @libexecdir@
     27datadir = @datadir@
     28sysconfdir = @sysconfdir@
     29sharedstatedir = @sharedstatedir@
     30localstatedir = @localstatedir@
     31libdir = @libdir@
     32infodir = @infodir@
     33mandir = @mandir@
     34includedir = @includedir@
     35oldincludedir = /usr/include
     36
     37DESTDIR =
     38
     39pkgdatadir = $(datadir)/@PACKAGE@
     40pkglibdir = $(libdir)/@PACKAGE@
     41pkgincludedir = $(includedir)/@PACKAGE@
     42
    843top_builddir = ..
    9 subdir = src
    10 
     44
     45ACLOCAL = @ACLOCAL@
     46AUTOCONF = @AUTOCONF@
     47AUTOMAKE = @AUTOMAKE@
     48AUTOHEADER = @AUTOHEADER@
     49
     50INSTALL = @INSTALL@
     51INSTALL_PROGRAM = @INSTALL_PROGRAM@
     52INSTALL_DATA = @INSTALL_DATA@
     53INSTALL_SCRIPT = @INSTALL_SCRIPT@
     54INSTALL_STRIP_FLAG =
     55transform = @program_transform_name@
     56
     57NORMAL_INSTALL = :
     58PRE_INSTALL = :
     59POST_INSTALL = :
     60NORMAL_UNINSTALL = :
     61PRE_UNINSTALL = :
     62POST_UNINSTALL = :
     63build_alias = @build_alias@
     64build_triplet = @build@
     65host_alias = @host_alias@
     66host_triplet = @host@
     67target_alias = @target_alias@
     68target_triplet = @target@
     69CC = @CC@
     70CC_FOR_TARGET = @CC_FOR_TARGET@
     71CPP = @CPP@
     72GCCSED = @GCCSED@
     73HAS_NETWORKING = @HAS_NETWORKING@
     74INSTALL_CHANGE = @INSTALL_CHANGE@
     75MAINT = @MAINT@
     76MAKEINFO = @MAKEINFO@
     77PACKAGE = @PACKAGE@
     78PACKHEX = @PACKHEX@
     79PROJECT_INCLUDE = @PROJECT_INCLUDE@
     80PROJECT_ROOT = @PROJECT_ROOT@
     81RTEMS_BSP = @RTEMS_BSP@
     82RTEMS_CPU = @RTEMS_CPU@
     83RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
     84RTEMS_HOST = @RTEMS_HOST@
     85RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
    1186RTEMS_ROOT = @RTEMS_ROOT@
    12 PROJECT_ROOT = @PROJECT_ROOT@
    13 
    14 VPATH = @srcdir@
    15 
    16 LIBNAME = librpc.a
    17 LIB = ${ARCH}/${LIBNAME}
     87RTEMS_TOPdir = @RTEMS_TOPdir@
     88VERSION = @VERSION@
     89
     90AUTOMAKE_OPTIONS = foreign 1.4
     91
     92LIBNAME = librpc
     93LIB = ${ARCH}/${LIBNAME}.a
    1894
    1995# C and C++ source names, if any, go here -- minus the .c or .cc
    20 C_PIECES = rpc_callmsg rpc_prot svc svc_auth svc_udp xdr xdr_array xdr_mem
    21 C_FILES = $(C_PIECES:%=%.c)
    22 C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
     96C_FILES = rpc_callmsg.c rpc_prot.c svc.c svc_auth.c svc_udp.c xdr.c     xdr_array.c xdr_mem.c
     97
     98C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    2399
    24100SRCS = $(C_FILES)
    25101OBJS = $(C_O_FILES)
    26102
     103TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
     104
     105
     106AM_CFLAGS =  $(LIBC_DEFINES)
     107
     108EXTRA_DIST = $(C_FILES)
     109mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
     110CONFIG_CLEAN_FILES =
     111DIST_COMMON =  Makefile.am Makefile.in
     112
     113
     114DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     115
     116TAR = gtar
     117GZIP_ENV = --best
     118all: all-redirect
     119.SUFFIXES:
     120$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../automake/lib.am $(top_srcdir)/../../../automake/local.am
     121        cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile
     122
     123Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
     124        cd $(top_builddir) \
     125          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     126
     127tags: TAGS
     128TAGS:
     129
     130
     131distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
     132
     133subdir = src
     134
     135distdir: $(DISTFILES)
     136        here=`cd $(top_builddir) && pwd`; \
     137        top_distdir=`cd $(top_distdir) && pwd`; \
     138        distdir=`cd $(distdir) && pwd`; \
     139        cd $(top_srcdir) \
     140          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign src/Makefile
     141        @for file in $(DISTFILES); do \
     142          d=$(srcdir); \
     143          if test -d $$d/$$file; then \
     144            cp -pr $$d/$$file $(distdir)/$$file; \
     145          else \
     146            test -f $(distdir)/$$file \
     147            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
     148            || cp -p $$d/$$file $(distdir)/$$file || :; \
     149          fi; \
     150        done
     151info-am:
     152info: info-am
     153dvi-am:
     154dvi: dvi-am
     155check-am: all-am
     156check: check-am
     157installcheck-am:
     158installcheck: installcheck-am
     159install-exec-am:
     160install-exec: install-exec-am
     161
     162install-data-am:
     163install-data: install-data-am
     164
     165install-am: all-am
     166        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     167install: install-am
     168uninstall-am:
     169uninstall: uninstall-am
     170all-am: Makefile
     171all-redirect: all-am
     172install-strip:
     173        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
     174installdirs:
     175
     176
     177mostlyclean-generic:
     178
     179clean-generic:
     180
     181distclean-generic:
     182        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     183        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     184
     185maintainer-clean-generic:
     186mostlyclean-am:  mostlyclean-generic
     187
     188mostlyclean: mostlyclean-am
     189
     190clean-am:  clean-generic mostlyclean-am
     191
     192clean: clean-am
     193
     194distclean-am:  distclean-generic clean-am
     195
     196distclean: distclean-am
     197
     198maintainer-clean-am:  maintainer-clean-generic distclean-am
     199        @echo "This command is intended for maintainers to use;"
     200        @echo "it deletes files that may require special tools to rebuild."
     201
     202maintainer-clean: maintainer-clean-am
     203
     204.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     205installcheck-am installcheck install-exec-am install-exec \
     206install-data-am install-data install-am install uninstall-am uninstall \
     207all-redirect all-am all installdirs mostlyclean-generic \
     208distclean-generic clean-generic maintainer-clean-generic clean \
     209mostlyclean distclean maintainer-clean
     210
     211
    27212include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    28 include $(RTEMS_ROOT)/make/lib.cfg
    29 
    30 INSTALL_CHANGE = @INSTALL_CHANGE@
    31 
    32 #
    33 # Add local stuff here using +=
    34 #
    35 
    36 DEFINES +=
    37 CPPFLAGS +=
    38 CFLAGS += $(LIBC_DEFINES)
    39 
    40 #
    41 # Add your list of files to delete here.  The config files
    42 #  already know how to delete some stuff, so you may want
    43 #  to just run 'make clean' first to see what gets missed.
    44 #  'make clobber' already includes 'make clean'
    45 #
    46 
    47 CLEAN_ADDITIONS += $(LIB)
    48 CLOBBER_ADDITIONS +=
    49 
    50 all: ${ARCH} $(LIB)
    51         $(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib
    52 
    53 $(LIB): $(SRCS) ${OBJS}
     213
     214include $(RTEMS_ROOT)/make/leaf.cfg
     215
     216define make-library
     217$(RM) $@
     218$(AR) $(ARFLAGS) $@ $^
     219$(RANLIB) $@
     220endef
     221
     222$(PROJECT_INCLUDE)/lib:
     223        @$(mkinstalldirs) $@
     224
     225.PRECIOUS: $(LIB)
     226
     227$(LIB): ${OBJS}
    54228        $(make-library)
    55229
    56 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    57         cd $(top_builddir) \
    58          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     230$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
     231        $(INSTALL_DATA) $< $@
     232
     233all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     234
     235debug-am:
     236debug: debug-am
     237.PHONY: debug debug-am
     238
     239profile-am:
     240profile: profile-am
     241.PHONY: profile profile-am
     242
     243preinstall-am: $(PREINSTALL_FILES)
     244preinstall: preinstall-am
     245.PHONY: preinstall preinstall-am
     246
     247depend-am:
     248depend: depend-am
     249.PHONY: depend depend-am
     250
     251# Tell versions [3.59,3.63) of GNU make to not export all variables.
     252# Otherwise a system limit (for SysV at least) may be exceeded.
     253.NOEXPORT:
  • c/src/librtems++/src/Makefile.in

    rd5b004b r9f4868c  
    1 #
    2 #  $Id$
    3 #
    4 
    5 @SET_MAKE@
     1# Makefile.in generated automatically by automake 1.4a from Makefile.am
     2
     3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     4# This Makefile.in is free software; the Free Software Foundation
     5# gives unlimited permission to copy and/or distribute it,
     6# with or without modifications, as long as this notice is preserved.
     7
     8# This program is distributed in the hope that it will be useful,
     9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     11# PARTICULAR PURPOSE.
     12
     13
     14
     15
     16SHELL = @SHELL@
     17
    618srcdir = @srcdir@
    719top_srcdir = @top_srcdir@
     20VPATH = @srcdir@
     21prefix = @prefix@
     22exec_prefix = @exec_prefix@
     23
     24bindir = @bindir@
     25sbindir = @sbindir@
     26libexecdir = @libexecdir@
     27datadir = @datadir@
     28sysconfdir = @sysconfdir@
     29sharedstatedir = @sharedstatedir@
     30localstatedir = @localstatedir@
     31libdir = @libdir@
     32infodir = @infodir@
     33mandir = @mandir@
     34includedir = @includedir@
     35oldincludedir = /usr/include
     36
     37DESTDIR =
     38
     39pkgdatadir = $(datadir)/@PACKAGE@
     40pkglibdir = $(libdir)/@PACKAGE@
     41pkgincludedir = $(includedir)/@PACKAGE@
     42
    843top_builddir = ..
    9 subdir = src
    10 
     44
     45ACLOCAL = @ACLOCAL@
     46AUTOCONF = @AUTOCONF@
     47AUTOMAKE = @AUTOMAKE@
     48AUTOHEADER = @AUTOHEADER@
     49
     50INSTALL = @INSTALL@
     51INSTALL_PROGRAM = @INSTALL_PROGRAM@
     52INSTALL_DATA = @INSTALL_DATA@
     53INSTALL_SCRIPT = @INSTALL_SCRIPT@
     54INSTALL_STRIP_FLAG =
     55transform = @program_transform_name@
     56
     57NORMAL_INSTALL = :
     58PRE_INSTALL = :
     59POST_INSTALL = :
     60NORMAL_UNINSTALL = :
     61PRE_UNINSTALL = :
     62POST_UNINSTALL = :
     63build_alias = @build_alias@
     64build_triplet = @build@
     65host_alias = @host_alias@
     66host_triplet = @host@
     67target_alias = @target_alias@
     68target_triplet = @target@
     69CC = @CC@
     70CC_FOR_TARGET = @CC_FOR_TARGET@
     71CPP = @CPP@
     72CXX = @CXX@
     73CXXCPP = @CXXCPP@
     74CXX_FOR_TARGET = @CXX_FOR_TARGET@
     75GCCSED = @GCCSED@
     76HAS_CPLUSPLUS = @HAS_CPLUSPLUS@
     77INSTALL_CHANGE = @INSTALL_CHANGE@
     78MAINT = @MAINT@
     79MAKEINFO = @MAKEINFO@
     80PACKAGE = @PACKAGE@
     81PACKHEX = @PACKHEX@
     82PROJECT_INCLUDE = @PROJECT_INCLUDE@
     83PROJECT_ROOT = @PROJECT_ROOT@
     84RTEMS_BSP = @RTEMS_BSP@
     85RTEMS_CPU = @RTEMS_CPU@
     86RTEMS_HOST = @RTEMS_HOST@
     87RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
    1188RTEMS_ROOT = @RTEMS_ROOT@
    12 PROJECT_ROOT = @PROJECT_ROOT@
    13 
    14 VPATH = @srcdir@
    15 
    16 LIBNAME = librtems++.a
    17 LIB = ${ARCH}/${LIBNAME}
    18 
    19 # C and C++ source names, if any, go here -- minus the .c or .cc
    20 CC_PIECES = rtemsEvent rtemsInterrupt rtemsMessageQueue rtemsSemaphore \
    21     rtemsStatusCode rtemsTask rtemsTimer
    22 CC_FILES = $(CC_PIECES:%=%.cc)
    23 CC_O_FILES = $(CC_PIECES:%=${ARCH}/%.o)
     89RTEMS_TOPdir = @RTEMS_TOPdir@
     90VERSION = @VERSION@
     91
     92AUTOMAKE_OPTIONS = foreign 1.4
     93
     94LIBNAME = librtems++
     95LIB = ${ARCH}/${LIBNAME}.a
     96
     97CC_FILES = rtemsEvent.cc rtemsInterrupt.cc rtemsMessageQueue.cc    rtemsSemaphore.cc rtemsStatusCode.cc rtemsTask.cc rtemsTimer.cc
     98
     99CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
    24100
    25101SRCS = $(CC_FILES)
    26102OBJS = $(CC_O_FILES)
    27103
     104TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
     105
     106
     107AM_CFLAGS =  $(LIBC_DEFINES)
     108mkinstalldirs = $(SHELL) $(top_srcdir)/../../../mkinstalldirs
     109CONFIG_CLEAN_FILES =
     110DIST_COMMON =  Makefile.am Makefile.in
     111
     112
     113DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     114
     115TAR = gtar
     116GZIP_ENV = --best
     117all: all-redirect
     118.SUFFIXES:
     119$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../../automake/lib.am $(top_srcdir)/../../../automake/local.am
     120        cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile
     121
     122Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
     123        cd $(top_builddir) \
     124          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     125
     126tags: TAGS
     127TAGS:
     128
     129
     130distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
     131
     132subdir = src
     133
     134distdir: $(DISTFILES)
     135        here=`cd $(top_builddir) && pwd`; \
     136        top_distdir=`cd $(top_distdir) && pwd`; \
     137        distdir=`cd $(distdir) && pwd`; \
     138        cd $(top_srcdir) \
     139          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign src/Makefile
     140        @for file in $(DISTFILES); do \
     141          d=$(srcdir); \
     142          if test -d $$d/$$file; then \
     143            cp -pr $$d/$$file $(distdir)/$$file; \
     144          else \
     145            test -f $(distdir)/$$file \
     146            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
     147            || cp -p $$d/$$file $(distdir)/$$file || :; \
     148          fi; \
     149        done
     150info-am:
     151info: info-am
     152dvi-am:
     153dvi: dvi-am
     154check-am: all-am
     155check: check-am
     156installcheck-am:
     157installcheck: installcheck-am
     158install-exec-am:
     159install-exec: install-exec-am
     160
     161install-data-am:
     162install-data: install-data-am
     163
     164install-am: all-am
     165        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     166install: install-am
     167uninstall-am:
     168uninstall: uninstall-am
     169all-am: Makefile
     170all-redirect: all-am
     171install-strip:
     172        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
     173installdirs:
     174
     175
     176mostlyclean-generic:
     177
     178clean-generic:
     179
     180distclean-generic:
     181        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     182        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     183
     184maintainer-clean-generic:
     185mostlyclean-am:  mostlyclean-generic
     186
     187mostlyclean: mostlyclean-am
     188
     189clean-am:  clean-generic mostlyclean-am
     190
     191clean: clean-am
     192
     193distclean-am:  distclean-generic clean-am
     194
     195distclean: distclean-am
     196
     197maintainer-clean-am:  maintainer-clean-generic distclean-am
     198        @echo "This command is intended for maintainers to use;"
     199        @echo "it deletes files that may require special tools to rebuild."
     200
     201maintainer-clean: maintainer-clean-am
     202
     203.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     204installcheck-am installcheck install-exec-am install-exec \
     205install-data-am install-data install-am install uninstall-am uninstall \
     206all-redirect all-am all installdirs mostlyclean-generic \
     207distclean-generic clean-generic maintainer-clean-generic clean \
     208mostlyclean distclean maintainer-clean
     209
     210
    28211include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    29 include $(RTEMS_ROOT)/make/lib.cfg
    30 
    31 INSTALL_CHANGE = @INSTALL_CHANGE@
    32 
    33 #
    34 # Add local stuff here using +=
    35 #
    36 
    37 DEFINES +=
    38 CPPFLAGS +=
    39 CFLAGS += $(LIBC_DEFINES)
    40 
    41 #
    42 # Add your list of files to delete here.  The config files
    43 #  already know how to delete some stuff, so you may want
    44 #  to just run 'make clean' first to see what gets missed.
    45 #  'make clobber' already includes 'make clean'
    46 #
    47 
    48 CLEAN_ADDITIONS += $(LIB)
    49 CLOBBER_ADDITIONS +=
    50 
    51 all: ${ARCH} $(LIB)
    52         @$(INSTALL_VARIANT) -m 644 ${LIB} $(PROJECT_RELEASE)/lib
    53 
    54 $(LIB): $(SRCS) ${OBJS}
     212
     213include $(RTEMS_ROOT)/make/leaf.cfg
     214
     215define make-library
     216$(RM) $@
     217$(AR) $(ARFLAGS) $@ $^
     218$(RANLIB) $@
     219endef
     220
     221$(PROJECT_INCLUDE)/lib:
     222        @$(mkinstalldirs) $@
     223
     224.PRECIOUS: $(LIB)
     225
     226$(LIB): ${OBJS}
    55227        $(make-library)
    56228
    57 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    58         cd $(top_builddir) \
    59          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     229$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
     230        $(INSTALL_DATA) $< $@
     231
     232all: ${ARCH} $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     233
     234debug-am:
     235debug: debug-am
     236.PHONY: debug debug-am
     237
     238profile-am:
     239profile: profile-am
     240.PHONY: profile profile-am
     241
     242preinstall-am: $(PREINSTALL_FILES)
     243preinstall: preinstall-am
     244.PHONY: preinstall preinstall-am
     245
     246depend-am:
     247depend: depend-am
     248.PHONY: depend depend-am
     249
     250# Tell versions [3.59,3.63) of GNU make to not export all variables.
     251# Otherwise a system limit (for SysV at least) may be exceeded.
     252.NOEXPORT:
  • c/src/make/compilers/gcc-target-default.cfg

    rd5b004b r9f4868c  
    225225#
    226226
    227 depend: $(C_FILES) $(CC_FILES) $(S_FILES)
     227depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
    228228ifneq ($(words $(C_FILES) $(CC_FILES) $(S_FILES)), 0)
    229229#       Use gcc -M to generate dependencies
     
    236236        $(MV) $(DEPEND).tmp $(DEPEND)
    237237endif
     238depend: depend-am
    238239
    239240# spell out all the LINK_FILE's, rather than using -lbsp, so
     
    307308
    308309define make-rel
    309         $(LD) $(LDFLAGS_INCOMPLETE) $(XLDFLAGS) -o $@ $(OBJS)
     310        $(LD) $(LDFLAGS_INCOMPLETE) $(XLDFLAGS) -o $@ $^
    310311endef
  • c/src/tests/psxtests/Makefile.am

    rd5b004b r9f4868c  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
    8 SHARED_DIRS = filesupp support
     8SHARED_DIRS = support
    99
    1010POSIX_DIRS = psxhdrs psx01 psx02 psx03 psx04 psx05 psx06 psx07 psx08 psx09 \
  • c/src/tests/psxtests/configure.in

    rd5b004b r9f4868c  
    4141AC_OUTPUT(
    4242Makefile
    43 filesupp/Makefile
    4443psx01/Makefile
    4544psx02/Makefile
  • c/src/tests/support/stubdr/Makefile.in

    rd5b004b r9f4868c  
    6464CLOBBER_ADDITIONS +=
    6565
    66 ${PGM}: ${SRCS} ${OBJS}
     66$(PGM): ${OBJS}
    6767        $(make-rel)
    6868
  • c/src/wrapup/Makefile.in

    rd5b004b r9f4868c  
     1# Makefile.in generated automatically by automake 1.4a from Makefile.am
     2
     3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     4# This Makefile.in is free software; the Free Software Foundation
     5# gives unlimited permission to copy and/or distribute it,
     6# with or without modifications, as long as this notice is preserved.
     7
     8# This program is distributed in the hope that it will be useful,
     9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
     10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
     11# PARTICULAR PURPOSE.
     12
    113#
    214#  $Id$
     
    517#
    618
    7 @SET_MAKE@
     19
     20
     21
     22SHELL = @SHELL@
     23
    824srcdir = @srcdir@
    925top_srcdir = @top_srcdir@
     26VPATH = @srcdir@
     27prefix = @prefix@
     28exec_prefix = @exec_prefix@
     29
     30bindir = @bindir@
     31sbindir = @sbindir@
     32libexecdir = @libexecdir@
     33datadir = @datadir@
     34sysconfdir = @sysconfdir@
     35sharedstatedir = @sharedstatedir@
     36localstatedir = @localstatedir@
     37libdir = @libdir@
     38infodir = @infodir@
     39mandir = @mandir@
     40includedir = @includedir@
     41oldincludedir = /usr/include
     42
     43DESTDIR =
     44
     45pkgdatadir = $(datadir)/@PACKAGE@
     46pkglibdir = $(libdir)/@PACKAGE@
     47pkgincludedir = $(includedir)/@PACKAGE@
     48
    1049top_builddir = ..
     50
     51ACLOCAL = @ACLOCAL@
     52AUTOCONF = @AUTOCONF@
     53AUTOMAKE = @AUTOMAKE@
     54AUTOHEADER = @AUTOHEADER@
     55
     56INSTALL = @INSTALL@
     57INSTALL_PROGRAM = @INSTALL_PROGRAM@
     58INSTALL_DATA = @INSTALL_DATA@
     59INSTALL_SCRIPT = @INSTALL_SCRIPT@
     60INSTALL_STRIP_FLAG =
     61transform = @program_transform_name@
     62
     63NORMAL_INSTALL = :
     64PRE_INSTALL = :
     65POST_INSTALL = :
     66NORMAL_UNINSTALL = :
     67PRE_UNINSTALL = :
     68POST_UNINSTALL = :
     69build_alias = @build_alias@
     70build_triplet = @build@
     71host_alias = @host_alias@
     72host_triplet = @host@
     73target_alias = @target_alias@
     74target_triplet = @target@
     75HAS_NETWORKING = @HAS_NETWORKING@
     76HAS_RDBG = @HAS_RDBG@
     77INSTALL_CHANGE = @INSTALL_CHANGE@
     78MAINT = @MAINT@
     79MAKEINFO = @MAKEINFO@
     80PACKAGE = @PACKAGE@
     81PACKHEX = @PACKHEX@
     82PROJECT_ROOT = @PROJECT_ROOT@
     83RTEMS_BSP = @RTEMS_BSP@
     84RTEMS_CPU = @RTEMS_CPU@
     85RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
     86RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
     87RTEMS_HOST = @RTEMS_HOST@
     88RTEMS_ROOT = @RTEMS_ROOT@
     89RTEMS_TOPdir = @RTEMS_TOPdir@
     90VERSION = @VERSION@
     91cfg_subdirs = @cfg_subdirs@
     92
     93AUTOMAKE_OPTIONS = foreign 1.4
     94
     95TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/$(LIBNAME)${LIB_VARIANT}.a
     96
     97
     98LIBNAME = librtemsall
     99LIB = $(PROJECT_RELEASE)/lib/$(LIBNAME)${LIB_VARIANT}.a
     100
     101SRCS = $(wildcard $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a)     $(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a     $(wildcard $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a)     $(wildcard $(PROJECT_RELEASE)/lib/libitron$(LIB_VARIANT).a)     $(wildcard $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a)     $(wildcard $(PROJECT_RELEASE)/lib/librpc$(LIB_VARIANT).a)     $(wildcard $(PROJECT_RELEASE)/lib/librdbg$(LIB_VARIANT).a)     $(wildcard $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a)     $(wildcard $(PROJECT_RELEASE)/lib/librtcio$(LIB_VARIANT).a)     $(wildcard $(PROJECT_RELEASE)/lib/libserialio$(LIB_VARIANT).a)     $(wildcard $(PROJECT_RELEASE)/lib/libnetchip$(LIB_VARIANT).a)     $(PROJECT_RELEASE)/lib/libcsupport$(LIB_VARIANT).a     $(PROJECT_RELEASE)/lib/libmisc$(LIB_VARIANT).a     $(wildcard $(PROJECT_RELEASE)/lib/rtems-ctor$(LIB_VARIANT).o)
     102
     103
     104CLEANFILES =  $(ARCH)/check
     105mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
     106CONFIG_CLEAN_FILES =
     107DIST_COMMON =  Makefile.am Makefile.in
     108
     109
     110DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
     111
     112TAR = gtar
     113GZIP_ENV = --best
     114all: all-redirect
     115.SUFFIXES:
     116$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/../../automake/lib.am $(top_srcdir)/../../automake/local.am
     117        cd $(top_srcdir) && $(AUTOMAKE) --foreign wrapup/Makefile
     118
     119Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
     120        cd $(top_builddir) \
     121          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     122
     123tags: TAGS
     124TAGS:
     125
     126
     127distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
     128
    11129subdir = wrapup
    12130
    13 RTEMS_ROOT = @RTEMS_ROOT@
    14 PROJECT_ROOT = @PROJECT_ROOT@
    15 
    16 VPATH = @srcdir@
     131distdir: $(DISTFILES)
     132        here=`cd $(top_builddir) && pwd`; \
     133        top_distdir=`cd $(top_distdir) && pwd`; \
     134        distdir=`cd $(distdir) && pwd`; \
     135        cd $(top_srcdir) \
     136          && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --foreign wrapup/Makefile
     137        @for file in $(DISTFILES); do \
     138          d=$(srcdir); \
     139          if test -d $$d/$$file; then \
     140            cp -pr $$d/$$file $(distdir)/$$file; \
     141          else \
     142            test -f $(distdir)/$$file \
     143            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
     144            || cp -p $$d/$$file $(distdir)/$$file || :; \
     145          fi; \
     146        done
     147info-am:
     148info: info-am
     149dvi-am:
     150dvi: dvi-am
     151check-am: all-am
     152check: check-am
     153installcheck-am:
     154installcheck: installcheck-am
     155install-exec-am:
     156install-exec: install-exec-am
     157
     158install-data-am:
     159install-data: install-data-am
     160
     161install-am: all-am
     162        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
     163install: install-am
     164uninstall-am:
     165uninstall: uninstall-am
     166all-am: Makefile
     167all-redirect: all-am
     168install-strip:
     169        $(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
     170installdirs:
     171
     172
     173mostlyclean-generic:
     174
     175clean-generic:
     176        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
     177
     178distclean-generic:
     179        -rm -f Makefile $(CONFIG_CLEAN_FILES)
     180        -rm -f config.cache config.log stamp-h stamp-h[0-9]*
     181
     182maintainer-clean-generic:
     183mostlyclean-am:  mostlyclean-generic
     184
     185mostlyclean: mostlyclean-am
     186
     187clean-am:  clean-generic mostlyclean-am
     188
     189clean: clean-am
     190
     191distclean-am:  distclean-generic clean-am
     192
     193distclean: distclean-am
     194
     195maintainer-clean-am:  maintainer-clean-generic distclean-am
     196        @echo "This command is intended for maintainers to use;"
     197        @echo "it deletes files that may require special tools to rebuild."
     198
     199maintainer-clean: maintainer-clean-am
     200
     201.PHONY: tags distdir info-am info dvi-am dvi check check-am \
     202installcheck-am installcheck install-exec-am install-exec \
     203install-data-am install-data install-am install uninstall-am uninstall \
     204all-redirect all-am all installdirs mostlyclean-generic \
     205distclean-generic clean-generic maintainer-clean-generic clean \
     206mostlyclean distclean maintainer-clean
     207
    17208
    18209include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    19 include $(RTEMS_ROOT)/make/lib.cfg
    20 
    21 INSTALL_CHANGE = @INSTALL_CHANGE@
    22 
    23 LIB = $(PROJECT_RELEASE)/lib/librtemsall${LIB_VARIANT}.a
    24 
    25 SRCS = $(wildcard $(PROJECT_RELEASE)/lib/libbsp$(LIB_VARIANT).a) \
    26     $(PROJECT_RELEASE)/lib/librtems$(LIB_VARIANT).a $(wildcard \
    27     $(PROJECT_RELEASE)/lib/libposix$(LIB_VARIANT).a) $(wildcard \
    28     $(PROJECT_RELEASE)/lib/libitron$(LIB_VARIANT).a) $(wildcard \
    29     $(PROJECT_RELEASE)/lib/libnetworking$(LIB_VARIANT).a) $(wildcard \
    30     $(PROJECT_RELEASE)/lib/librpc$(LIB_VARIANT).a) $(wildcard \
    31     $(PROJECT_RELEASE)/lib/librdbg$(LIB_VARIANT).a) $(wildcard \
    32     $(PROJECT_RELEASE)/lib/libcpu$(LIB_VARIANT).a) $(wildcard \
    33     $(PROJECT_RELEASE)/lib/librtcio$(LIB_VARIANT).a) $(wildcard \
    34     $(PROJECT_RELEASE)/lib/libserialio$(LIB_VARIANT).a) $(wildcard \
    35     $(PROJECT_RELEASE)/lib/libnetchip$(LIB_VARIANT).a) \
    36     $(PROJECT_RELEASE)/lib/libcsupport$(LIB_VARIANT).a \
    37     $(PROJECT_RELEASE)/lib/libmisc$(LIB_VARIANT).a $(wildcard \
    38     $(PROJECT_RELEASE)/lib/rtems-ctor$(LIB_VARIANT).o)
    39 
    40 CLEAN_ADDITIONS += $(ARCH)/check
    41 CLOBBER_ADDITIONS +=
    42 
    43 all: $(ARCH) $(LIB)
     210
     211include $(RTEMS_ROOT)/make/leaf.cfg
     212
     213define make-library
     214$(RM) $@
     215$(AR) $(ARFLAGS) $@ $^
     216$(RANLIB) $@
     217endef
     218
     219$(PROJECT_INCLUDE)/lib:
     220        @$(mkinstalldirs) $@
     221
     222.PRECIOUS: $(LIB)
     223
     224all: $(ARCH) $(TMPINSTALL_FILES)
    44225
    45226install: all
     
    83264        @echo "*** Glommed $@"
    84265
    85 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    86         cd $(top_builddir) \
    87          && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
     266debug-am:
     267debug: debug-am
     268.PHONY: debug debug-am
     269
     270profile-am:
     271profile: profile-am
     272.PHONY: profile profile-am
     273
     274preinstall-am: $(PREINSTALL_FILES)
     275preinstall: preinstall-am
     276.PHONY: preinstall preinstall-am
     277
     278depend-am:
     279depend: depend-am
     280.PHONY: depend depend-am
     281
     282# Tell versions [3.59,3.63) of GNU make to not export all variables.
     283# Otherwise a system limit (for SysV at least) may be exceeded.
     284.NOEXPORT:
  • cpukit/httpd/Makefile.in

    rd5b004b r9f4868c  
    77top_srcdir = @top_srcdir@
    88top_builddir = ..
    9 subdir = rtems_servers
     9subdir = rtems_webserver
    1010
    1111RTEMS_ROOT = @RTEMS_ROOT@
     
    1818
    1919# C and C++ source names, if any, go here -- minus the .c or .cc
    20 C_PIECES=asp balloc wbase64 default ejlex ejparse form h handler mime \
    21          misc webpage ringq rom security socket sym uemf url value webcomp \
    22          webrom webs websuemf webmain
     20C_PIECES = asp balloc wbase64 default ejlex ejparse form h handler mime misc \
     21    webpage ringq rom security socket sym uemf url value webcomp webrom webs \
     22    websuemf webmain
    2323C_FILES = $(C_PIECES:%=%.c)
    2424C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
  • cpukit/librpc/include/rpc/Makefile.am

    rd5b004b r9f4868c  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 if HAS_NETWORKING
    87H_FILES = auth.h rpc.h svc.h types.h clnt.h rpc_msg.h svc_auth.h xdr.h
    98
    109noinst_HEADERS = $(H_FILES)
    1110
     11if HAS_NETWORKING
    1212PREINSTALL_FILES = \
    1313$(PROJECT_INCLUDE)/rpc \
    14 $(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rpc/%)
     14$(H_FILES:%=$(PROJECT_INCLUDE)/rpc/%)
    1515
    1616$(PROJECT_INCLUDE)/rpc:
  • make/compilers/gcc-target-default.cfg

    rd5b004b r9f4868c  
    225225#
    226226
    227 depend: $(C_FILES) $(CC_FILES) $(S_FILES)
     227depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
    228228ifneq ($(words $(C_FILES) $(CC_FILES) $(S_FILES)), 0)
    229229#       Use gcc -M to generate dependencies
     
    236236        $(MV) $(DEPEND).tmp $(DEPEND)
    237237endif
     238depend: depend-am
    238239
    239240# spell out all the LINK_FILE's, rather than using -lbsp, so
     
    307308
    308309define make-rel
    309         $(LD) $(LDFLAGS_INCOMPLETE) $(XLDFLAGS) -o $@ $(OBJS)
     310        $(LD) $(LDFLAGS_INCOMPLETE) $(XLDFLAGS) -o $@ $^
    310311endef
  • make/custom/gensh1.cfg

    rd5b004b r9f4868c  
    3636# -O4 is ok for RTEMS
    3737CFLAGS_OPTIMIZE_V = -O4
    38 
    39 CPPFLAGS+=$(BSP_CPPFLAGS)
    4038
    4139#  This section makes the target dependent options file.
  • make/custom/pc386.cfg

    rd5b004b r9f4868c  
    9797        $(NM) -g -n $(basename $@).obj > $(basename $@).num
    9898        $(SIZE) $(basename $@).obj
    99         $(INSTALL_VARIANT) -m 555 $(basename $@).bt ${PROJECT_RELEASE}/BootImgs
     99        @$(mkinstalldirs) ${PROJECT_RELEASE}/BootImgs
     100        $(INSTALL_PROGRAM) $(basename $@).bt ${PROJECT_RELEASE}/BootImgs
    100101        $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -Wl,-Ttext,$(RELOCADDR) \
    101             -o $(basename $@).coff $(LINK_OBJS) $(LINK_LIBS)
     102            -o $@ $(LINK_OBJS) $(LINK_LIBS)
    102103endef
    103104define make-cxx-exe
  • testsuites/psxtests/Makefile.am

    rd5b004b r9f4868c  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
    8 SHARED_DIRS = filesupp support
     8SHARED_DIRS = support
    99
    1010POSIX_DIRS = psxhdrs psx01 psx02 psx03 psx04 psx05 psx06 psx07 psx08 psx09 \
  • tools/update/acpolish

    rd5b004b r9f4868c  
    191191     print STDERR "WARNING: Replacing RTEMS_HAS_$2 with HAS_$2\n" ;
    192192     $_ = "$1HAS_$2$3\n" ;
     193  }
     194  if ( /^[\s]*\$[({]PGM[)}]:[\s]*(.*)\$([({]SRCS[)}])(.*)$/o )
     195  {                     
     196      $_ = "\$(PGM):$1$3\n" ;
    193197  }
    194198  if ( /^.*\$\(make\-exe\).*$/o )
  • tools/update/ampolish

    rd5b004b r9f4868c  
    8585  elsif ( /^[\s\t]*include[\s\t]*\$\(top_srcdir\)[\.\/]*automake\/(.*)\.am$/o )
    8686  {
    87     # remove the line
     87    if ( "$1" eq "lib" )
     88    {
     89      print "include \$(top_srcdir)/${rtems_top}automake/$1.am\n" ;
     90    }
     91  }
     92  elsif ( /^[\s\t]*include[\s\t]*\$\(RTEMS_ROOT\)\/make\/lib.cfg$/o )
     93  {
     94    print "include \$(top_srcdir)/${rtems_top}automake/lib.am\n" ;
    8895  }
    8996  elsif ( /^[\s\t]*SUBDIRS.*$/o )
Note: See TracChangeset for help on using the changeset viewer.