forked from Imagelibrary/rtems
* kern/Makefile.am: Use .$(OBJEXT) instead of .o. * lib/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * net/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * rtems/Makefile.am: Ditto. * wrapup/Makefile.am: Ditto.
32 lines
589 B
Makefile
32 lines
589 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
LIB = $(ARCH)/lib.a
|
|
|
|
C_FILES = getprotoby.c rtems_bsdnet_ntp.c ftpfs.c syslog.c tftpDriver.c
|
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
|
|
|
OBJS = $(C_O_FILES)
|
|
|
|
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) $(OBJS) $(LIB)
|
|
|
|
.PRECIOUS: $(LIB)
|
|
|
|
EXTRA_DIST = README getprotoby.c rtems_bsdnet_ntp.c syslog.c tftpDriver.c
|
|
|
|
include $(top_srcdir)/../automake/local.am
|