source: rtems/cpukit/librpc/src/xdr/Makefile.am @ 83864ea

4.104.114.84.95
Last change on this file since 83864ea was 83864ea, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/22/02 at 13:55:34

2002-07-22 Ralf Corsepius <corsepiu@…>

  • src/xdr/Makefile.am: Use .$(OBJEXT) instead of .o.
  • src/rpc/Makefile.am: Use .$(OBJEXT) instead of .o.
  • Property mode set to 100644
File size: 629 bytes
Line 
1##
2## $Id$
3##
4
5LIB = $(ARCH)/libxdr.a
6
7include $(top_srcdir)/../automake/multilib.am
8include $(top_srcdir)/../automake/compile.am
9include $(top_srcdir)/../automake/lib.am
10
11C_FILES = xdr.c xdr_array.c xdr_float.c xdr_mem.c xdr_rec.c xdr_reference.c \
12    xdr_sizeof.c xdr_stdio.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
14
15OBJS = $(C_O_FILES)
16
17noinst_MANS = xdr.3
18
19#
20# Add local stuff here using +=
21#
22
23AM_CPPFLAGS += '-D__P(x)=x'
24
25$(LIB): $(OBJS)
26        $(make-library)
27
28if HAS_NETWORKING
29man_MANS = $(noinst_MANS)
30all-local: $(ARCH) $(LIB)
31endif
32
33EXTRA_DIST = $(C_FILES) $(noinst_MANS)
34
35include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.