forked from Imagelibrary/rtems
* kern/Makefile.am, lib/Makefile.am, libc/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, pppd/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, wrapup/Makefile.am: Include compile.am
35 lines
648 B
Makefile
35 lines
648 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
|
|
|
LIBNAME = lib.a
|
|
LIB = $(ARCH)/$(LIBNAME)
|
|
|
|
C_FILES = getprotoby.c rtems_bsdnet_ntp.c syslog.c tftpDriver.c
|
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
|
|
|
|
OBJS = $(C_O_FILES)
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../../../automake/compile.am
|
|
include $(top_srcdir)/../../../automake/lib.am
|
|
|
|
#
|
|
# Add local stuff here using +=
|
|
#
|
|
|
|
AM_CPPFLAGS += -DNOPOLL -DNOSELECT
|
|
|
|
$(LIB): $(OBJS)
|
|
$(make-library)
|
|
|
|
all-local: $(ARCH) $(OBJS) $(LIB)
|
|
|
|
.PRECIOUS: $(LIB)
|
|
|
|
EXTRA_DIST = README getprotoby.c rtems_bsdnet_ntp.c syslog.c tftpDriver.c
|
|
|
|
include $(top_srcdir)/../../../automake/local.am
|