Changeset f035132 in rtems for cpukit/librpc/Makefile.am


Ignore:
Timestamp:
Jan 11, 2004, 6:24:30 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
970983e
Parents:
dfbb492
Message:

2004-01-11 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Include compile.am, again. Put man-pages into EXTRA_DIST to work around automake not distributing conditionally installed *_MANS. Distribute include/rpcsvc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/Makefile.am

    rdfbb492 rf035132  
    44
    55include $(top_srcdir)/automake/multilib.am
    6 include $(top_srcdir)/automake/amcompile.am
     6include $(top_srcdir)/automake/compile.am
     7
     8EXTRA_DIST =
    79
    810if LIBRPC
     
    1618
    1719man_MANS =
    18 #endif
    1920
    20 libxdr_C_FILES = src/xdr/xdr.c src/xdr/xdr_array.c src/xdr/xdr_float.c \
    21     src/xdr/xdr_mem.c src/xdr/xdr_rec.c src/xdr/xdr_reference.c \
    22     src/xdr/xdr_sizeof.c src/xdr/xdr_stdio.c
    23 
    24 if LIBRPC
    2521EXTRA_LIBRARIES = libxdr.a
    2622CLEANFILES = libxdr.a
    27 libxdr_a_SOURCES = $(libxdr_C_FILES)
    2823libxdr_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    2924
    3025EXTRA_LIBRARIES += libxdr_g.a
    3126CLEANFILES += libxdr_g.a
    32 libxdr_g_a_SOURCES = $(libxdr_a_SOURCES)
    3327libxdr_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    3428
    35 man_MANS += src/xdr/xdr.3
    36 all-local: libxdr$(LIB_VARIANT).a
     29libxdr_a_SOURCES = src/xdr/xdr.c src/xdr/xdr_array.c src/xdr/xdr_float.c \
     30    src/xdr/xdr_mem.c src/xdr/xdr_rec.c src/xdr/xdr_reference.c \
     31    src/xdr/xdr_sizeof.c src/xdr/xdr_stdio.c
     32libxdr_g_a_SOURCES = $(libxdr_a_SOURCES)
    3733endif
    3834
    39 librpc_C_FILES = src/rpc/auth_none.c src/rpc/auth_unix.c \
     35libxdr_mans = src/xdr/xdr.3
     36EXTRA_DIST += $(libxdr_mans)
     37
     38if LIBRPC
     39man_MANS += $(libxdr_mans)
     40
     41all-local: libxdr$(LIB_VARIANT).a
     42
     43EXTRA_LIBRARIES += librpc.a
     44CLEANFILES += librpc.a
     45librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) $(librpc_CPPFLAGS)
     46
     47EXTRA_LIBRARIES += librpc_g.a
     48CLEANFILES += librpc_g.a
     49librpc_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) $(librpc_CPPFLAGS)
     50
     51librpc_a_SOURCES = src/rpc/auth_none.c src/rpc/auth_unix.c \
    4052    src/rpc/authunix_prot.c src/rpc/bindresvport.c src/rpc/clnt_generic.c \
    4153    src/rpc/clnt_perror.c src/rpc/clnt_raw.c src/rpc/clnt_simple.c \
     
    5062    src/rpc/svc_tcp.c src/rpc/svc_udp.c src/rpc/rtems_portmapper.c \
    5163    src/rpc/rtems_rpc.c
    52 librpc_UNUSED_C_FILES = src/rpc/auth_des.c src/rpc/auth_time.c \
    53     src/rpc/authdes_prot.c src/rpc/clnt_unix.c src/rpc/crypt_client.c \
    54     src/rpc/des_crypt.c src/rpc/des_soft.c src/rpc/getpublickey.c \
    55     src/rpc/key_call.c src/rpc/key_prot_xdr.c src/rpc/svc_auth_des.c \
    56     src/rpc/svc_unix.c
     64# librpc_UNUSED_C_FILES
     65EXTRA_DIST += src/rpc/auth_des.c src/rpc/auth_time.c src/rpc/authdes_prot.c \
     66    src/rpc/clnt_unix.c src/rpc/crypt_client.c src/rpc/des_crypt.c \
     67    src/rpc/des_soft.c src/rpc/getpublickey.c src/rpc/key_call.c \
     68    src/rpc/key_prot_xdr.c src/rpc/svc_auth_des.c src/rpc/svc_unix.c
     69librpc_g_a_SOURCES = $(librpc_a_SOURCES)
    5770
    58 if LIBRPC
    5971librpc_CPPFLAGS = -D_RPC_read=read -D_RPC_write=write -D_RPC_close=close \
    6072    -D_RTEMS_RPC_INTERNAL_
     73endif
    6174
    62 EXTRA_LIBRARIES += librpc.a
    63 CLEANFILES += librpc.a
    64 librpc_a_SOURCES = $(librpc_C_FILES)
    65 librpc_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) $(librpc_CPPFLAGS)
    66 
    67 EXTRA_LIBRARIES += librpc_g.a
    68 CLEANFILES += librpc_g.a
    69 librpc_g_a_SOURCES = $(librpc_a_SOURCES)
    70 librpc_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) $(librpc_CPPFLAGS)
    71 
    72 man_MANS += src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \
     75librpc_mans = src/rpc/bindresvport.3 src/rpc/getrpcent.3 src/rpc/publickey.3 \
    7376    src/rpc/rpc.3 src/rpc/rpc_secure.3 src/rpc/rstat_svc.8 \
    7477    src/rpc/des_crypt.3 src/rpc/getrpcport.3 src/rpc/publickey.5 \
    7578    src/rpc/rpc.5 src/rpc/rstat.1 src/rpc/rtime.3
     79EXTRA_DIST += $(librpc_mans)
     80
     81if LIBRPC
     82man_MANS += $(librpc_mans)
    7683
    7784all-local: librpc$(LIB_VARIANT).a
    7885endif
    7986
    80 EXTRA_DIST = $(librpc_C_FILES) src/rpc/DISCLAIMER $(librpc_UNUSED_C_FILES)
     87EXTRA_DIST += src/rpc/DISCLAIMER src/rpc/README
    8188
    8289EXTRA_DIST += src/rpc/PSD.doc/nfs.rfc.ms src/rpc/PSD.doc/rpc.prog.ms \
    8390    src/rpc/PSD.doc/rpc.rfc.ms src/rpc/PSD.doc/rpcgen.ms \
    8491    src/rpc/PSD.doc/xdr.nts.ms src/rpc/PSD.doc/xdr.rfc.ms
    85 endif
     92EXTRA_DIST += README_RTEMS
     93
     94## FIXME: Unused
     95EXTRA_DIST += include/rpcsvc/bootparam_prot.x include/rpcsvc/crypt.x \
     96    include/rpcsvc/key_prot.x include/rpcsvc/klm_prot.x \
     97    include/rpcsvc/mount.x include/rpcsvc/nfs_prot.x \
     98    include/rpcsvc/nis_cache.x include/rpcsvc/nis_callback.x \
     99    include/rpcsvc/nis_db.h include/rpcsvc/nislib.h \
     100    include/rpcsvc/nis_object.x include/rpcsvc/nis_tags.h \
     101    include/rpcsvc/nis.x include/rpcsvc/nlm_prot.x \
     102    include/rpcsvc/pmap_prot.x include/rpcsvc/rex.x include/rpcsvc/rnusers.x \
     103    include/rpcsvc/rquota.x include/rpcsvc/rstat.x include/rpcsvc/rwall.x \
     104    include/rpcsvc/sm_inter.x include/rpcsvc/spray.x include/rpcsvc/ypclnt.h \
     105    include/rpcsvc/yppasswd.x include/rpcsvc/yp_prot.h \
     106    include/rpcsvc/ypupdate_prot.x include/rpcsvc/yp.x \
     107    include/rpcsvc/ypxfrd.x
    86108
    87109PREINSTALL_FILES =
     
    155177        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/xdr.h
    156178PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/xdr.h
    157 
    158179endif
    159180
Note: See TracChangeset for help on using the changeset viewer.