Changeset 9f4868c in rtems for c/src/librpc


Ignore:
Timestamp:
Nov 23, 1999, 1:57:02 PM (21 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.

Location:
c/src/librpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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:
Note: See TracChangeset for help on using the changeset viewer.