OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [libnetworking/] [rtems_servers/] [Makefile.am] - Rev 1765

Compare with Previous | Blame | View Log

##
## Makefile.am,v 1.9 2002/03/28 00:49:43 joel Exp
##


include_rtemsdir = $(includedir)/rtems

LIBNAME = lib.a
LIB = $(ARCH)/$(LIBNAME)

C_FILES = ftpd.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 +=
#

$(LIB): $(OBJS)
        $(make-library)

all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)

.PRECIOUS: $(LIB)

EXTRA_DIST = ftpd.c ftpd.h

include_HEADERS = ftpd.h

include_rtems_HEADERS =

PREINSTALL_FILES = $(PROJECT_INCLUDE) \
   $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) \
   $(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)

$(PROJECT_INCLUDE)/%.h: %.h
        $(INSTALL_DATA) $< $@
$(PROJECT_INCLUDE)/rtems:
        @$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/rtems/%.h: %.h
        $(INSTALL_DATA) $< $@

include $(top_srcdir)/../../../automake/local.am

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.