# eCos makefile

# This is a generated file - do not edit

export REPOSITORY := /home/davidw/workshop/ecos/packages
export PREFIX := /home/davidw/workshop/ecos2-ficl/install
export COMMAND_PREFIX := 
export CC := $(COMMAND_PREFIX)gcc
export OBJCOPY := $(COMMAND_PREFIX)objcopy
export HOST := UNIX
export AR := $(COMMAND_PREFIX)ar

PACKAGE := isoinfra/current
OBJECT_PREFIX := isoinfra
CFLAGS := -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority
LDFLAGS := -g -nostdlib -Wl,--gc-sections -Wl,-static
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

headers: mlt_headers $(PREFIX)/include/assert.h $(PREFIX)/include/ctype.h $(PREFIX)/include/dirent.h $(PREFIX)/include/dlfcn.h $(PREFIX)/include/errno.h $(PREFIX)/include/fcntl.h $(PREFIX)/include/float.h $(PREFIX)/include/limits.h $(PREFIX)/include/locale.h $(PREFIX)/include/mqueue.h $(PREFIX)/include/netdb.h $(PREFIX)/include/pthread.h $(PREFIX)/include/sched.h $(PREFIX)/include/semaphore.h $(PREFIX)/include/setjmp.h $(PREFIX)/include/signal.h $(PREFIX)/include/stdarg.h $(PREFIX)/include/stddef.h $(PREFIX)/include/stdio.h $(PREFIX)/include/stdlib.h $(PREFIX)/include/string.h $(PREFIX)/include/termios.h $(PREFIX)/include/time.h $(PREFIX)/include/unistd.h $(PREFIX)/include/sys/select.h $(PREFIX)/include/sys/stat.h $(PREFIX)/include/sys/types.h $(PREFIX)/include/sys/utsname.h

$(PREFIX)/include/assert.h: $(REPOSITORY)/$(PACKAGE)/include/assert.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/ctype.h: $(REPOSITORY)/$(PACKAGE)/include/ctype.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/dirent.h: $(REPOSITORY)/$(PACKAGE)/include/dirent.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/dlfcn.h: $(REPOSITORY)/$(PACKAGE)/include/dlfcn.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/errno.h: $(REPOSITORY)/$(PACKAGE)/include/errno.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/fcntl.h: $(REPOSITORY)/$(PACKAGE)/include/fcntl.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/float.h: $(REPOSITORY)/$(PACKAGE)/include/float.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/limits.h: $(REPOSITORY)/$(PACKAGE)/include/limits.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/locale.h: $(REPOSITORY)/$(PACKAGE)/include/locale.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/mqueue.h: $(REPOSITORY)/$(PACKAGE)/include/mqueue.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/netdb.h: $(REPOSITORY)/$(PACKAGE)/include/netdb.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/pthread.h: $(REPOSITORY)/$(PACKAGE)/include/pthread.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/sched.h: $(REPOSITORY)/$(PACKAGE)/include/sched.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/semaphore.h: $(REPOSITORY)/$(PACKAGE)/include/semaphore.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/setjmp.h: $(REPOSITORY)/$(PACKAGE)/include/setjmp.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/signal.h: $(REPOSITORY)/$(PACKAGE)/include/signal.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/stdarg.h: $(REPOSITORY)/$(PACKAGE)/include/stdarg.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/stddef.h: $(REPOSITORY)/$(PACKAGE)/include/stddef.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/stdio.h: $(REPOSITORY)/$(PACKAGE)/include/stdio.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/stdlib.h: $(REPOSITORY)/$(PACKAGE)/include/stdlib.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/string.h: $(REPOSITORY)/$(PACKAGE)/include/string.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/termios.h: $(REPOSITORY)/$(PACKAGE)/include/termios.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/time.h: $(REPOSITORY)/$(PACKAGE)/include/time.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/unistd.h: $(REPOSITORY)/$(PACKAGE)/include/unistd.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/sys/select.h: $(REPOSITORY)/$(PACKAGE)/include/sys/select.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/sys/stat.h: $(REPOSITORY)/$(PACKAGE)/include/sys/stat.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/sys/types.h: $(REPOSITORY)/$(PACKAGE)/include/sys/types.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

$(PREFIX)/include/sys/utsname.h: $(REPOSITORY)/$(PACKAGE)/include/sys/utsname.h
	@mkdir -p $(dir $@)
	@cp $< $@
	@chmod u+w $@

include $(REPOSITORY)/pkgconf/rules.mak

