FreeCalypso > hg > tcs211-pirelli
comparison g23m/condat/com/src/comlib/comlib.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 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:509db1a7b7b8 |
|---|---|
| 1 #----------------------------------------------------------------------------- | |
| 2 # Project : | |
| 3 # Modul : comlib.mak | |
| 4 #----------------------------------------------------------------------------- | |
| 5 # Copyright 2002 Texas Instruments Berlin, AG | |
| 6 # All rights reserved. | |
| 7 # | |
| 8 # This file is confidential and a trade secret of Texas | |
| 9 # Instruments Berlin, AG | |
| 10 # The receipt of or possession of this file does not convey | |
| 11 # any rights to reproduce or disclose its contents or to | |
| 12 # manufacture, use, or sell anything it may describe, in | |
| 13 # whole, or in part, without the specific written consent of | |
| 14 # Texas Instruments Berlin, AG. | |
| 15 #----------------------------------------------------------------------------- | |
| 16 #| Purpose : | |
| 17 #----------------------------------------------------------------------------- | |
| 18 # | |
| 19 # Setting Directory for COMLIB Objects | |
| 20 # | |
| 21 OBJ := $(L23_OBJ_DIR)/comlib | |
| 22 | |
| 23 SRCCOMLIB=$(CONDAT_DIR)/com/src/comlib | |
| 24 | |
| 25 | |
| 26 COMLIBOBJ= $(OBJ)/cl_ribu.$(OBJ_TAIL) \ | |
| 27 $(OBJ)/cl_md5.$(OBJ_TAIL) | |
| 28 | |
| 29 ifeq ($(PMODE),2) | |
| 30 COMLIBOBJ += $(OBJ)/cl_rlcmac.$(OBJ_TAIL) | |
| 31 endif | |
| 32 | |
| 33 | |
| 34 # | |
| 35 # ---------------- create COMLIB --------------------- | |
| 36 # | |
| 37 | |
| 38 $(TOP_DIR)/$(COMLIB_LIB) : $(OBJ) $(COMLIBOBJ) | |
| 39 $(AR) r $(TOP_DIR)/$(COMLIB_LIB) $(COMLIBOBJ) | |
| 40 | |
| 41 $(OBJ): | |
| 42 mkdir $(subst /,$(SLASH),$(OBJ)) | |
| 43 | |
| 44 clean: | |
| 45 $(REMOVE) $(subst /,$(SLASH),$(OBJ)) | |
| 46 | |
| 47 $(COMLIBOBJ): $(OBJ)/%.$(OBJ_TAIL) : $(SRCCOMLIB)/%.c | |
| 48 echo -D$(NCONFIG) > cmd | |
| 49 # echo -DNTRACE >> cmd | |
| 50 echo -D$(NWARN) >> cmd | |
| 51 echo $(COPT) >> cmd | |
| 52 echo $(COPT1) >> cmd | |
| 53 echo $(COTAR) >> cmd | |
| 54 echo -I$(ICOM) >> cmd | |
| 55 echo -I$(INUC) >> cmd | |
| 56 echo -I$(ICDG) >> cmd | |
| 57 echo -I$(ISAP_INLINE) >> cmd | |
| 58 echo -fr$(OBJ) >> cmd | |
| 59 $(CC_PRE) $^ -@cmd | |
| 60 $(CC_INT) $(addsuffix .pp,$(basename $^)) | |
| 61 $(CC_COM) $(addsuffix .pp_,$(basename $^)) -@cmd |
