source: PSPA/madxPSPA/make/info.rules @ 443

Last change on this file since 443 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 3.2 KB
Line 
1# |
2# o---------------------------------------------------------------------o
3# |
4# | MAD makefile - information rules
5# |
6# o---------------------------------------------------------------------o
7# |
8# | Methodical Accelerator Design
9# |
10# | Copyright (c) 2011+ CERN, mad@cern.ch
11# |
12# | For more information, see http://cern.ch/mad
13# |
14# o---------------------------------------------------------------------o
15# |
16# | $Id$
17# |
18
19.PHONY: info infoinc infoprj infoall
20
21info:
22        @ echo "Operating system                 = " $(OSTYPE) $(OSARCH)
23        @ echo "Current directory                = " $(CURDIR)
24        @ echo "Build   directory                = " $(OBJDIR)
25        @ echo "C   makedep  settings            = " $(if $(CDEP),$(call CC_tr,$(CDEP) $(CFLAGS) $(CPPFLAGS)),)
26        @ echo "C++ makedep  settings            = " $(if $(CXXDEP),$(call CXX_tr,$(CXXDEP) $(CXXFLAGS) $(CPPFLAGS)),)
27        @ echo "F90 makedep  settings            = " $(if $(FCDEP),$(call FC_tr,$(FDEP) $(FFLAGS) $(CPPFLAGS)),)
28        @ echo "C   compiler settings            = " $(if $(CC),$(call CC_tr,$(CC) $(CFLAGS) $(CPPFLAGS)),)
29        @ echo "C++ compiler settings            = " $(if $(CXX),$(call CXX_tr,$(CXX) $(CXXFLAGS) $(CPPFLAGS)),)
30        @ echo "F90 compiler settings            = " $(if $(FC),$(call FC_tr,$(FC) $(FFLAGS) $(CPPFLAGS)),)
31        @ echo "Linker       settings            = " $(if $(LD),$(call LD_tr,$(LD) $(LDFLAGS)),)
32        @ echo "Tester       settings            = " $(if $(ND),$(call ND_tr,$(ND) $(subst $@,$$\@,$(NDFLAGS))))
33        @ echo "Libraries    settings            = " $(if $(LD),$(call LD_tr,$(LIBS) $(LDLIBS)),)
34        @ echo "Archives     settings            = " $(if $(AR),$(call AR_tr,$(LIBS)),)
35
36infoinc: info
37        @ echo "C   compiler settings file       = " $(if $(CC),$(makedir)$/compiler.$(CCNAME),)
38        @ echo "C++ compiler settings file       = " $(if $(CXX),$(makedir)$/compiler.$(CXXNAME),)
39        @ echo "F90 compiler settings file       = " $(if $(FC),$(makedir)$/compiler.$(FCNAME),)
40        @ echo "Linker       settings file       = " $(if $(LD),$(makedir)$/linker.$(LDNAME),)
41        @ echo "Tester       settings file       = " $(if $(ND),$(makedir)$/tester.$(NDNAME),)
42
43infoprj: infoinc
44        @ echo "          project settings file  = " $(PRJNAME) $(VERSION) $(VERSION_DATE)
45        @ echo "Cpp       project settings file  = " $(FILE_CPP)  $(if $(wildcard $(FILE_CPP)),," (not defined)")
46        @ echo "C         project settings file  = " $(FILE_C)    $(if $(wildcard $(FILE_C)),,"   (not defined)")
47        @ echo "C++       project settings file  = " $(FILE_CXX)  $(if $(wildcard $(FILE_CXX)),," (not defined)")
48        @ echo "F90       project settings file  = " $(FILE_F90)  $(if $(wildcard $(FILE_C90)),," (not defined)")
49        @ echo "Libraries project settings file  = " $(FILE_LIB)  $(if $(wildcard $(FILE_LIB)),," (not defined)")
50        @ echo "System    project settings file  = " $(FILE_SYS)  $(if $(wildcard $(FILE_SYS)),," (not defined)")
51        @ echo "Tests     project settings file  = " $(FILE_TEST) $(if $(wildcard $(FILE_TEST)),,"(not defined)")
52
53infoall: infoprj
54        @ echo "Headers files                    = " $(HEADERS)
55        @ echo "Sources files                    = " $(SOURCES)
56        @ echo "Objects files                    = " $(OBJECTS)
57        @ echo "Depends files                    = " $(DEPENDS)
58
59# end of makefile
Note: See TracBrowser for help on using the repository browser.