build/Makefile.comp
branchRCL_3
changeset 25 9ac0a0a7da70
parent 19 04becd199f91
child 35 85266cc22c7f
child 46 4376525cdefb
equal deleted inserted replaced
24:0fd27995241b 25:9ac0a0a7da70
    94 # Add the pro-file to the subdirs of enclosing component. Must define the file
    94 # Add the pro-file to the subdirs of enclosing component. Must define the file
    95 # explicitly when directory (==build) is differntly named from pro-file.
    95 # explicitly when directory (==build) is differntly named from pro-file.
    96 configure_qmake:
    96 configure_qmake:
    97 ifdef TARGET_PRO
    97 ifdef TARGET_PRO
    98 	echo SUBDIRS += $(TARGET_SUB)/$(PRO_FILE) >> $(TARGET_PRO)
    98 	echo SUBDIRS += $(TARGET_SUB)/$(PRO_FILE) >> $(TARGET_PRO)
       
    99 endif
       
   100 
       
   101 # The remove_notbuilt removes platform specific subdirectories not
       
   102 # participating in the built of current environment
       
   103 ifeq ($(BUILDENV),symbian)
       
   104 REMOVEWILDCARD = *.linux
       
   105 else
       
   106 REMOVEWILDCARD = *.s60
       
   107 endif
       
   108 REMOVEDIRECORIES = $(call PATHFIX,$(wildcard ../$(REMOVEWILDCARD)))
       
   109 remove_notbuilt:
       
   110 ifneq ($(REMOVEDIRECORIES),)
       
   111 ifdef SIMULATE
       
   112 	echo Remove not-built directories at $(CURDIR): $(REMOVEDIRECORIES)
       
   113 else
       
   114 	echo Removing not-built directories at $(CURDIR): $(REMOVEDIRECORIES) \
       
   115 	$(foreach d,$(REMOVEDIRECORIES),&& $(call DELTREE,$(d)))
       
   116 endif
    99 endif
   117 endif
   100 
   118 
   101 # Symbian ----------------------------------
   119 # Symbian ----------------------------------
   102 ifeq ($(BUILDENV),symbian)
   120 ifeq ($(BUILDENV),symbian)
   103 
   121