Commit e94a54a7 authored by O'Reilly Media, Inc.'s avatar O'Reilly Media, Inc.
Browse files

Initial commit

parents
src/xscale_stub.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/arm/xscale/cores/current/src/xscale_stub.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_stub.h
src/pxa2x0_misc.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/arm/xscale/pxa2x0/current/src/pxa2x0_misc.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_trac.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_ass.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_misc.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/var_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/plf_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_xscale.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_core.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/mlt_arm_pxa2x0_viper_ram.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_stub.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_arch.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_if.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-threads-api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-thread-syscall.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_intr.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_var_ints.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_cache.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_mmu.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_mm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/diag.h
src/hal_diag.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/arm/xscale/pxa2x0/current/src/hal_diag.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_trac.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_ass.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_arch.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_intr.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_var_ints.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_xscale.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_core.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/var_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/plf_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/mlt_arm_pxa2x0_viper_ram.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_if.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-threads-api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-thread-syscall.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/drv_api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/kernel.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/kernel/kapi.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/memalloc/kapi.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/memalloc.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/kernel/kapidata.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/memalloc/kapidata.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_misc.h
# eCos makefile
# This is a generated file - do not edit
export PREFIX := /ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install
export COMMAND_PREFIX := arm-elf-
export CC := $(COMMAND_PREFIX)gcc
export OBJCOPY := $(COMMAND_PREFIX)objcopy
export HOST := CYGWIN
export AR := $(COMMAND_PREFIX)ar
export REPOSITORY := /opt/ecos/ecos-redboot-viper-v3i7/packages
PACKAGE := hal/arm/xscale/pxa2x0/current
OBJECT_PREFIX := hal_arm_xscale_pxa2x0
CFLAGS := -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame
LDFLAGS := -mcpu=xscale -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib
VPATH := $(REPOSITORY)/$(PACKAGE)
INCLUDE_PATH := $(INCLUDE_PATH) -I$(PREFIX)/include $(foreach dir,$(VPATH),-I$(dir) -I$(dir)/src -I$(dir)/tests) -I.
MLT := $(wildcard $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.ldi $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.h)
TESTS :=
build: headers libtarget.a.stamp
LIBRARY := libtarget.a
COMPILE := src/pxa2x0_misc.c src/hal_diag.c
OBJECTS := $(COMPILE:.cxx=.o.d)
OBJECTS := $(OBJECTS:.c=.o.d)
OBJECTS := $(OBJECTS:.S=.o.d)
$(LIBRARY).stamp: $(OBJECTS)
$(AR) rcs $(PREFIX)/lib/$(@:.stamp=) $(foreach obj,$?,$(dir $(obj))$(OBJECT_PREFIX)_$(notdir $(obj:.o.d=.o)))
@cat $^ > $(@:.stamp=.deps)
@touch $@
headers: mlt_headers $(PREFIX)/include/cyg/hal/hal_diag.h $(PREFIX)/include/cyg/hal/hal_pxa2x0.h $(PREFIX)/include/cyg/hal/hal_var_ints.h $(PREFIX)/include/cyg/hal/var_io.h
$(PREFIX)/include/cyg/hal/hal_diag.h: $(REPOSITORY)/$(PACKAGE)/include/hal_diag.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/hal_pxa2x0.h: $(REPOSITORY)/$(PACKAGE)/include/hal_pxa2x0.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/hal_var_ints.h: $(REPOSITORY)/$(PACKAGE)/include/hal_var_ints.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/var_io.h: $(REPOSITORY)/$(PACKAGE)/include/var_io.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
include $(REPOSITORY)/pkgconf/rules.mak
src/hal_diag.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/arm/xscale/pxa2x0/current/src/hal_diag.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_trac.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_ass.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_arch.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_intr.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_var_ints.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_xscale.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_core.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/var_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/plf_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/mlt_arm_pxa2x0_viper_ram.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_if.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-threads-api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-thread-syscall.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/drv_api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/kernel.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/kernel/kapi.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/memalloc/kapi.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/memalloc.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/kernel/kapidata.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/memalloc/kapidata.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_misc.h
src/pxa2x0_misc.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/arm/xscale/pxa2x0/current/src/pxa2x0_misc.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_trac.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_ass.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_misc.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/var_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/plf_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_xscale.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_core.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/mlt_arm_pxa2x0_viper_ram.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_stub.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_arch.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_if.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-threads-api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-thread-syscall.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_intr.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_var_ints.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_cache.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_mmu.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_mm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/diag.h
src/viper_misc.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/arm/xscale/viper/current/src/viper_misc.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_trac.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_ass.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/var_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/plf_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_xscale.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_core.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/mlt_arm_pxa2x0_viper_ram.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_arch.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_if.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-threads-api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-thread-syscall.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_intr.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_var_ints.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_cache.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_mmu.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_misc.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_mm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/string.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/isoinfra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/error/strerror.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/error.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/error/codes.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/libc/string/string.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/libc_string.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/libc/string/string.inl \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/libc/string/bsdstring.h
# eCos makefile
# This is a generated file - do not edit
export PREFIX := /ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install
export COMMAND_PREFIX := arm-elf-
export CC := $(COMMAND_PREFIX)gcc
export OBJCOPY := $(COMMAND_PREFIX)objcopy
export HOST := CYGWIN
export AR := $(COMMAND_PREFIX)ar
export REPOSITORY := /opt/ecos/ecos-redboot-viper-v3i7/packages
PACKAGE := hal/arm/xscale/viper/current
OBJECT_PREFIX := hal_arm_xscale_viper
CFLAGS := -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame
LDFLAGS := -mcpu=xscale -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib
VPATH := $(REPOSITORY)/$(PACKAGE)
INCLUDE_PATH := $(INCLUDE_PATH) -I$(PREFIX)/include $(foreach dir,$(VPATH),-I$(dir) -I$(dir)/src -I$(dir)/tests) -I.
MLT := $(wildcard $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.ldi $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.h)
TESTS :=
build: headers libtarget.a.stamp
LIBRARY := libtarget.a
COMPILE := src/viper_misc.c
OBJECTS := $(COMPILE:.cxx=.o.d)
OBJECTS := $(OBJECTS:.c=.o.d)
OBJECTS := $(OBJECTS:.S=.o.d)
$(LIBRARY).stamp: $(OBJECTS)
$(AR) rcs $(PREFIX)/lib/$(@:.stamp=) $(foreach obj,$?,$(dir $(obj))$(OBJECT_PREFIX)_$(notdir $(obj:.o.d=.o)))
@cat $^ > $(@:.stamp=.deps)
@touch $@
headers: mlt_headers $(PREFIX)/include/cyg/hal/hal_platform_setup.h $(PREFIX)/include/cyg/hal/plf_io.h $(PREFIX)/include/cyg/hal/viper.h
$(PREFIX)/include/cyg/hal/hal_platform_setup.h: $(REPOSITORY)/$(PACKAGE)/include/hal_platform_setup.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/plf_io.h: $(REPOSITORY)/$(PACKAGE)/include/plf_io.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
$(PREFIX)/include/cyg/hal/viper.h: $(REPOSITORY)/$(PACKAGE)/include/viper.h
ifeq ($(HOST),CYGWIN)
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\\\@/@g"`
else
@mkdir -p $(dir $@)
endif
@cp $< $@
@chmod u+w $@
include $(REPOSITORY)/pkgconf/rules.mak
src/viper_misc.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/arm/xscale/viper/current/src/viper_misc.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_trac.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_ass.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/var_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/plf_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_xscale.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_core.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/mlt_arm_pxa2x0_viper_ram.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_arch.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_if.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-threads-api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-thread-syscall.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_intr.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_var_ints.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_cache.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_mmu.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_misc.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_mm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/string.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/isoinfra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/error/strerror.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/error.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/error/codes.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/libc/string/string.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/libc_string.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/libc/string/string.inl \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/libc/string/bsdstring.h
src/dummy.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/common/current/src/dummy.c
src/drv_api.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/common/current/src/drv_api.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h
src/dbg-threads-syscall.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/common/current/src/dbg-threads-syscall.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h
src/hal_if.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/common/current/src/hal_if.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/kernel.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_ass.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_arch.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/var_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/plf_io.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_xscale.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_core.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/mlt_arm_pxa2x0_viper_ram.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_if.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-threads-api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-thread-syscall.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_diag.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_misc.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_stub.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_intr.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_var_ints.h
src/hal_misc.o.d: \
/opt/ecos/ecos-redboot-viper-v3i7/packages/hal/common/current/src/hal_misc.c \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/system.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_viper.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_arch.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_type.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stddef.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stddef.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/basetype.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_if.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-threads-api.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/dbg-thread-syscall.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/stdarg.h \
/opt/gnutools/arm-elf/lib/gcc/arm-elf/3.4.4/include/stdarg.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_intr.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_var_ints.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_pxa2x0.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_xscale.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/hal_arm_xscale_core.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/hal/hal_misc.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_trac.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/pkgconf/infra.h \
/ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install/include/cyg/infra/cyg_ass.h
# eCos makefile
# This is a generated file - do not edit
export PREFIX := /ecos-c/cygwin/opt/ProgEmbSys/chapter11/ecos/install
export COMMAND_PREFIX := arm-elf-
export CC := $(COMMAND_PREFIX)gcc
export OBJCOPY := $(COMMAND_PREFIX)objcopy
export HOST := CYGWIN
export AR := $(COMMAND_PREFIX)ar
export REPOSITORY := /opt/ecos/ecos-redboot-viper-v3i7/packages
PACKAGE := hal/common/current
OBJECT_PREFIX := hal_common
CFLAGS := -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame
LDFLAGS := -mcpu=xscale -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib
VPATH := $(REPOSITORY)/$(PACKAGE)
INCLUDE_PATH := $(INCLUDE_PATH) -I$(PREFIX)/include $(foreach dir,$(VPATH),-I$(dir) -I$(dir)/src -I$(dir)/tests) -I.
MLT := $(wildcard $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.ldi $(REPOSITORY)/$(PACKAGE)/include/pkgconf/mlt*.h)
TESTS := tests/context tests/basic tests/cache
build: headers libtarget.a.stamp libextras.a.stamp
LIBRARY := libtarget.a
COMPILE := src/drv_api.c src/dbg-threads-syscall.c src/hal_if.c src/hal_misc.c
OBJECTS := $(COMPILE:.cxx=.o.d)
OBJECTS := $(OBJECTS:.c=.o.d)
OBJECTS := $(OBJECTS:.S=.o.d)
$(LIBRARY).stamp: $(OBJECTS)
$(AR) rcs $(PREFIX)/lib/$(@:.stamp=) $(foreach obj,$?,$(dir $(obj))$(OBJECT_PREFIX)_$(notdir $(obj:.o.d=.o)))
@cat $^ > $(@:.stamp=.deps)
@touch $@
LIBRARY := libextras.a
COMPILE := src/dummy.c
OBJECTS := $(COMPILE:.cxx=.o.d)
OBJECTS := $(OBJECTS:.c=.o.d)
OBJECTS := $(OBJECTS:.S=.o.d)
$(LIBRARY).stamp: $(OBJECTS)
$(AR) rcs $(PREFIX)/lib/$(@:.stamp=) $(foreach obj,$?,$(dir $(obj))$(OBJECT_PREFIX)_$(notdir $(obj:.o.d=.o)))
@cat $^ > $(@:.stamp=.deps)
@touch $@
$(PREFIX)/lib/extras.o: $(wildcard $(PREFIX)/lib/libextras.a)
$(CC) $(CFLAGS) -nostdlib -Wl,-r -Wl,--whole-archive -o $@ $<
headers: mlt_headers $(PREFIX)/include/cyg/hal/dbg-thread-syscall.h $(PREFIX)/include/cyg/hal/dbg-threads-api.h $(PREFIX)/include/cyg/hal/drv_api.h $(PREFIX)/include/cyg/hal/generic-stub.h $(PREFIX)/include/cyg/hal/hal_arbiter.h $(PREFIX)/include/cyg/hal/hal_endian.h $(PREFIX)/include/cyg/hal/hal_if.h $(PREFIX)/include/cyg/hal/hal_misc.h $(PREFIX)/include/cyg/hal/hal_spd.h $(PREFIX)/include/cyg/hal/hal_stub.h $(PREFIX)/include/cyg/hal/hal_tables.h