source: rtems/c/src/librpc/src/xdr/Makefile.am @ 7f2c3e3

4.104.114.84.9
Last change on this file since 7f2c3e3 was 7f2c3e3, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2000 at 4:08:02 PM

2000-09-04 Ralf Corsepius <corsepiu@…>

  • src/rpc/Makefile.am, src/xdr/Makefile.am: Include compile.am
  • Property mode set to 100644
File size: 903 bytes
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4 no-installman
6
7LIBNAME = libxdr
8LIB = $(ARCH)/$(LIBNAME).a
9
10C_FILES = xdr.c xdr_array.c xdr_float.c xdr_mem.c xdr_rec.c xdr_reference.c \
11    xdr_sizeof.c xdr_stdio.c
12C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
13
14OBJS = $(C_O_FILES)
15
16include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
17include $(top_srcdir)/../../../automake/compile.am
18include $(top_srcdir)/../../../automake/lib.am
19
20noinst_MANS = xdr.3
21
22TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
23
24#
25# Add local stuff here using +=
26#
27
28AM_CPPFLAGS += '-D__P(x)=x'
29
30$(LIB): $(OBJS)
31        $(make-library)
32
33$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
34        $(INSTALL_DATA) $< $@
35
36if HAS_NETWORKING
37man_MANS = $(noinst_MANS)
38all-local: $(ARCH) $(OBJS) $(TMPINSTALL_FILES)
39endif
40
41.PRECIOUS: $(LIB)
42
43EXTRA_DIST = $(C_FILES) $(noinst_MANS)
44
45include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.