# | # o---------------------------------------------------------------------o # | # | MAD makefile - information rules # | # o---------------------------------------------------------------------o # | # | Methodical Accelerator Design # | # | Copyright (c) 2011+ CERN, mad@cern.ch # | # | For more information, see http://cern.ch/mad # | # o---------------------------------------------------------------------o # | # | $Id$ # | .PHONY: info infoinc infoprj infoall info: @ echo "Operating system = " $(OSTYPE) $(OSARCH) @ echo "Current directory = " $(CURDIR) @ echo "Build directory = " $(OBJDIR) @ echo "C makedep settings = " $(if $(CDEP),$(call CC_tr,$(CDEP) $(CFLAGS) $(CPPFLAGS)),) @ echo "C++ makedep settings = " $(if $(CXXDEP),$(call CXX_tr,$(CXXDEP) $(CXXFLAGS) $(CPPFLAGS)),) @ echo "F90 makedep settings = " $(if $(FCDEP),$(call FC_tr,$(FDEP) $(FFLAGS) $(CPPFLAGS)),) @ echo "C compiler settings = " $(if $(CC),$(call CC_tr,$(CC) $(CFLAGS) $(CPPFLAGS)),) @ echo "C++ compiler settings = " $(if $(CXX),$(call CXX_tr,$(CXX) $(CXXFLAGS) $(CPPFLAGS)),) @ echo "F90 compiler settings = " $(if $(FC),$(call FC_tr,$(FC) $(FFLAGS) $(CPPFLAGS)),) @ echo "Linker settings = " $(if $(LD),$(call LD_tr,$(LD) $(LDFLAGS)),) @ echo "Tester settings = " $(if $(ND),$(call ND_tr,$(ND) $(subst $@,$$\@,$(NDFLAGS)))) @ echo "Libraries settings = " $(if $(LD),$(call LD_tr,$(LIBS) $(LDLIBS)),) @ echo "Archives settings = " $(if $(AR),$(call AR_tr,$(LIBS)),) infoinc: info @ echo "C compiler settings file = " $(if $(CC),$(makedir)$/compiler.$(CCNAME),) @ echo "C++ compiler settings file = " $(if $(CXX),$(makedir)$/compiler.$(CXXNAME),) @ echo "F90 compiler settings file = " $(if $(FC),$(makedir)$/compiler.$(FCNAME),) @ echo "Linker settings file = " $(if $(LD),$(makedir)$/linker.$(LDNAME),) @ echo "Tester settings file = " $(if $(ND),$(makedir)$/tester.$(NDNAME),) infoprj: infoinc @ echo " project settings file = " $(PRJNAME) $(VERSION) $(VERSION_DATE) @ echo "Cpp project settings file = " $(FILE_CPP) $(if $(wildcard $(FILE_CPP)),," (not defined)") @ echo "C project settings file = " $(FILE_C) $(if $(wildcard $(FILE_C)),," (not defined)") @ echo "C++ project settings file = " $(FILE_CXX) $(if $(wildcard $(FILE_CXX)),," (not defined)") @ echo "F90 project settings file = " $(FILE_F90) $(if $(wildcard $(FILE_C90)),," (not defined)") @ echo "Libraries project settings file = " $(FILE_LIB) $(if $(wildcard $(FILE_LIB)),," (not defined)") @ echo "System project settings file = " $(FILE_SYS) $(if $(wildcard $(FILE_SYS)),," (not defined)") @ echo "Tests project settings file = " $(FILE_TEST) $(if $(wildcard $(FILE_TEST)),,"(not defined)") infoall: infoprj @ echo "Headers files = " $(HEADERS) @ echo "Sources files = " $(SOURCES) @ echo "Objects files = " $(OBJECTS) @ echo "Depends files = " $(DEPENDS) # end of makefile