forked from Imagelibrary/rtems
* kern/Makefile.am: Remove C_O_FILES; Don't let all-local depend on $OBJS) * lib/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * net/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * rtems/Makefile.am: Ditto.
30 lines
555 B
Makefile
30 lines
555 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
LIB = $(ARCH)/lib.a
|
|
|
|
C_FILES = getprotoby.c rtems_bsdnet_ntp.c ftpfs.c syslog.c tftpDriver.c
|
|
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
|
|
|
include $(top_srcdir)/../automake/multilib.am
|
|
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) $(LIB)
|
|
|
|
.PRECIOUS: $(LIB)
|
|
|
|
EXTRA_DIST = README getprotoby.c rtems_bsdnet_ntp.c syslog.c tftpDriver.c
|
|
|
|
include $(top_srcdir)/../automake/local.am
|