view src/aci2/aci_ext/ac_ext.mak @ 175:bca0f7237ecd

fad.lib compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 12 Oct 2016 17:27:19 +0000
parents 93999a60b835
children
line wrap: on
line source

#-----------------------------------------------------------------------------
#  Project :
#  Modul   :  J:\g23m-aci\aci_ext\ac_ext.mak
#-----------------------------------------------------------------------------
#  Copyright 2002 Texas Instruments Berlin, AG
#                 All rights reserved.
#
#                 This file is confidential and a trade secret of Texas
#                 Instruments Berlin, AG
#                 The receipt of or possession of this file does not convey
#                 any rights to reproduce or disclose its contents or to
#                 manufacture, use, or sell anything it may describe, in
#                 whole, or in part, without the specific written consent of
#                 Texas Instruments Berlin, AG.
#-----------------------------------------------------------------------------
#|  Purpose :
#-----------------------------------------------------------------------------
#
#	Setting Directory for Layer4 Objects
#
OBJ := $(L23_OBJ_DIR)/aci_ext

ACIEXT_OBJ  = $(OBJ)/aci_ext_pers.$(OBJ_TAIL)

$(TOP_DIR)/$(ACIEXT_LIB) : $(OBJ) $(ACIEXT_OBJ)
	-$(PERL) $(CONDAT_DIR)/int/bin/make_ver.pl
	$(AR) r $(TOP_DIR)/$(ACIEXT_LIB) $(ACIEXT_OBJ) ver.$(OBJ_TAIL)

$(OBJ):
	mkdir $(subst /,$(SLASH),$(OBJ))

clean:
	$(REMOVE) $(subst /,$(SLASH),$(OBJ))

$(ACIEXT_OBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCACIEXT)/%.c
	echo -D$(NCONFIG) >  cmd
	echo -D$(NTRACE) >> cmd
	echo -D$(NWARN) >> cmd
	echo $(MY_OPTIONS) >> cmd
	echo $(SPECOPT) >> cmd
	echo $(COPT) >> cmd
	echo $(COPT1) >> cmd
	echo $(COTAR) >> cmd
	echo $(FDOPT) >> cmd
	echo $(INCDRV1) >> cmd
	echo -I$(ICOM) >> cmd
	echo $(INCDRV2) >> cmd
	echo -I$(ICDG) >> cmd
	echo -I$(SRCACI) >> cmd
	echo -I$(SRCACIDTIMNG) >> cmd
	echo -fr$(OBJ) >> cmd
	$(CC_PRE) $^ -@cmd
	$(CC_INT) $(addsuffix .pp,$(basename $^))
	$(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd