# This file was created by Megamake-3
# Copyright (C) ARM Ltd 2001. All rights reserved

SRCDIR1=../..
EXTDIR1=../../../rdi
EXTDIR2=../../../armulif
EXTDIR3=../../../clx
DERDIR=derived


ARM_RELEASE= -DARM_RELEASE="\"ADS1.2\""
SPECIFIC_RELEASE=
BUILD_INFO=-DBUILD_NUMBER=805

CFL= # local C compile flags
CDOFL=-g -O2 -DNDEBUG # C debug and optimization flags
PRFL= # C and link profile flags
LFLAGS= # Linker flags
CINCLS=-I$(SRCDIR1) -I$(EXTDIR1) -I$(EXTDIR2) -I$(EXTDIR3) # C include flags
CCFLAGS=-ansi -pedantic -Wall -Wformat -Wimplicit-int -Werror-implicit-function-declaration -Wchar-subscripts -Wunused -Wuninitialized -Wreturn-type -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wcomment -Wno-long-long -Dunix -Werror -DRDI_VERSION=151 -DARM10MODEL $(DLLPIC)
CFLAGS=$(CINCLS) $(CCFLAGS) $(CDOFL) $(PRFL) $(CFL) $(ARM_RELEASE) $(SPECIFIC_RELEASE) $(BUILD_INFO) -I$(DERDIR)
CFLAGS2=$(CFLALL) $(CCFLAGS2)
CCFLAGS2=-g -O2 -ansi -pedantic -Wall -Wformat -Wimplicit-int -Werror-implicit-function-declaration -Wchar-subscripts -Wunused -Wuninitialized -Wreturn-type -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wcomment -Wno-long-long -Dunix # C flags for helper tools
CC=gcc -c
CL=gcc
AR=ar
ARFLAGS=rc
LINK=gcc
DLLLINK=gcc
MKTAG=mktag
MKMSG=mkmsg
MKMSGRC=mkmsgrc
ERRFILE=
HOST=gccsolrs# also build_dir (no space before '#')
XHELPER= # command to run semi-hosted helper programs
RUNTEST= # command to run semi-hosted test programs
EXTLIBS=../../../armulif/armulif.b/gccsolrs/armulif.a \
../../../clx/clx.b/gccsolrs/clx.a 
LASTLIBS= # extra host libraries, for end of linker command-line
EXTOBJS=
EXTOTHER=
DESTDIR=./release/$(HOST)

OBJALL=codeseq.o 
DLLUSEFLAGS=-ldl
DLLGENFLAGS=-shared
DLLPIC=-fPIC


Codeseq.so: $(OBJALL) $(EXTOBJS) $(EXTOTHER) $(EXTDLLOTHER) $(EXTLIBS)
	$(DLLLINK) -o Codeseq.so $(DLLGENFLAGS) $(LFLAGS) $(PRFL) $(OBJALL) $(EXTOBJS) $(EXTOTHER) $(EXTDLLOTHER) $(EXTLIBS) $(LASTLIBS)
	echo "Made Codeseq.so"

release_dll_Codeseq:
	mkdir -p $(DESTDIR)/$(HOST)/bin
	cp -p Codeseq.so $(DESTDIR)/$(HOST)/bin
	strip $(DESTDIR)/$(HOST)/bin/Codeseq.so
tests: $(OBJALL)
	@echo No tests.


release: release_dll_Codeseq


# Generated dependencies

codeseq.o: $(SRCDIR1)/codeseq.c
codeseq.o: $(EXTDIR3)/host.h
codeseq.o: $(EXTDIR3)/toolconf.h
codeseq.o: $(EXTDIR1)/rdi_conf.h
codeseq.o: $(EXTDIR2)/armul_cnf.h
codeseq.o: $(EXTDIR3)/armtypes.h
codeseq.o: $(EXTDIR2)/armul_types.h
codeseq.o: $(EXTDIR1)/rdi_stat.h
codeseq.o: $(EXTDIR1)/rdi_err.h
codeseq.o: $(EXTDIR1)/rdi_info.h
codeseq.o: $(EXTDIR1)/rdi100.h
codeseq.o: $(EXTDIR1)/rdi150.h
codeseq.o: $(EXTDIR1)/rdi151.h
codeseq.o: $(EXTDIR1)/rdi.h
codeseq.o: $(EXTDIR1)/rdi_hif.h
codeseq.o: $(EXTDIR2)/armul_hostif.h
codeseq.o: $(EXTDIR2)/simplelinks.h
codeseq.o: $(EXTDIR1)/rdi_priv.h
codeseq.o: $(EXTDIR2)/armsignal.h
codeseq.o: $(EXTDIR1)/rdi_armul.h
codeseq.o: $(EXTDIR2)/armul_askrdi.h
codeseq.o: $(EXTDIR3)/errcodes.h
codeseq.o: $(EXTDIR3)/cvector.h
codeseq.o: $(EXTDIR2)/armul_method.h
codeseq.o: $(EXTDIR2)/armul_bus.h
codeseq.o: $(EXTDIR2)/armul_callbackid.h
codeseq.o: $(EXTDIR2)/armul_access.h
codeseq.o: $(EXTDIR2)/armul_copro.h
codeseq.o: $(EXTDIR2)/minperip.h
codeseq.o: $(EXTDIR1)/sordi.h
codeseq.o: $(EXTDIR1)/rdi_sdm.h
codeseq.o: $(EXTDIR1)/rditools.h
codeseq.o: $(EXTDIR3)/dynlink.h
codeseq.o: $(EXTDIR2)/armul_agent.h
codeseq.o: $(EXTDIR3)/disass.h
codeseq.o: $(EXTDIR2)/armul_defs.h
codeseq.o: $(EXTDIR2)/armul_mem.h
codeseq.o: $(EXTDIR3)/findfile.h
codeseq.o: $(EXTDIR3)/dir.h
codeseq.o: $(EXTDIR2)/perip_sordi_if.h
codeseq.o: $(EXTDIR2)/perip_rdi_agent.h
codeseq.o: $(EXTDIR2)/perip_sordi.h
	$(CC) $(CFLALL) $(CFLAGS) $(CFLcodeseq) -o codeseq.o $(SRCDIR1)/codeseq.c
