view g23m/condat/ms/src/aci_ext/ac_ext.mak @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
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