ifndef QCONFIG QCONFIG=qconfig.mk endif include $(QCONFIG) ifndef QNX_INTERNAL QNX_INTERNAL=$(PROJECT_ROOT)/.qnx_internal.mk endif #===== USEFILE - the file containing the usage message for the application. USEFILE=$(PROJECT_ROOT)/$(SECTION)/devn-$(SECTION).use #===== EXTRA_SRCVPATH - a space-separated list of directories to search for source files. EXTRA_SRCVPATH=$(EXTRA_SRCVPATH_$(SECTION)) #===== EXTRA_INCVPATH - a space-separated list of directories to search for include files. EXTRA_INCVPATH=$(PROJECT_ROOT)/public \ $(PROJECT_ROOT)/public/drvr \ $(USE_ROOT_nto)/usr/include/drvr EXTRA_INCVPATH=$(PROJECT_ROOT)/public \ $(PROJECT_ROOT)/public/drvr \ $(USE_ROOT_nto)/usr/include/drvr PRE_SRCVPATH=$(foreach var,$(filter a, $(VARIANTS)),$(CPU_ROOT)/$(subst $(space),.,$(patsubst a,dll,$(filter-out g, $(VARIANTS))))) #===== NAME - name of the project (default - name of project directory). NAME=$(PROJECT)-$(SECTION) define PINFO PINFO DESCRIPTION= endef #===== CCFLAGS - add the flags to the C compiler command line. CCFLAGS_wlc_sh=-O0 CCFLAGS+=$(CCFLAGS_$(basename $@)) \ $(CCFLAGS_$(basename $@)_$(CPU)) CCFLAGS_sh_wlc+=-O0 -O0 CCFLAGS_sh_wlc+=-O0 -O0 CCFLAGS_sh_wlc+=-O0 ifeq ($(filter dll, $(VARIANTS)),) DEBUG = -g INSTALLDIR = /lib/dll CCFLAGS += -Dio_net_dll_entry=io_net_dll_entry_$(SECTION) USEFILE= else LIBS = drvrS pmS cacheS endif include $(PROJECT_ROOT)/$(SECTION)/pinfo.mk #Should have been included - adding during repackaging, # will need to add this to SVN ASAP. BV 2007/09/11 -include $(PROJECT_ROOT)/roots.mk #===== DEFCOMPILER_TYPE - default compiler. DEFCOMPILER_TYPE=gcc #===== GCC_VERSION - use it when you want to specify compiler version other than default. GCC_VERSION=3.3.5 include $(MKFILES_ROOT)/qtargets.mk