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

4.104.114.84.9
Last change on this file since df49c60 was df49c60, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 12, 2000 at 3:00:15 PM

Merged from 4.5.0-beta3a

  • Property mode set to 100644
File size: 852 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/lib.am
18
19noinst_MANS = xdr.3
20
21TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a
22
23#
24# Add local stuff here using +=
25#
26
27AM_CPPFLAGS += '-D__P(x)=x'
28
29$(LIB): $(OBJS)
30        $(make-library)
31
32$(PROJECT_RELEASE)/lib/$(LIBNAME)$(LIB_VARIANT).a: $(LIB)
33        $(INSTALL_DATA) $< $@
34
35if HAS_NETWORKING
36man_MANS = $(noinst_MANS)
37all-local: $(ARCH) $(OBJS) $(TMPINSTALL_FILES)
38endif
39
40.PRECIOUS: $(LIB)
41
42EXTRA_DIST = $(C_FILES) $(noinst_MANS)
43
44include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.