Changeset 448
- Timestamp:
- Apr 19, 2004, 9:48:06 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/Makefile
r432 r448 1 ############################################################################### 2 ## 3 ## Makefile: psLib 4 ## 5 ## $Revision: 1.3 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-04-19 19:48:06 $ 7 ## 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii 9 ## 10 ############################################################################### 11 12 # Define variable prefix to the top level project - psLib 13 # This is necessary for definition in Makefile.Globals 14 1 15 ifndef prefix 2 16 export prefix=$(shell cd ..;pwd) 3 17 endif 4 18 19 # Include the make global definitions for the project 20 5 21 include Makefile.Globals 6 22 7 .PHONY: sysUtils installSysUtils cleanSysUtils 23 # Detect and save the CVS for this makefile 8 24 9 25 NAME:= "$Name: not supported by cvs2svn $ " 10 ifeq ($(NAME), "ame: $")26 ifeq ($(NAME), "ame: $ ") 11 27 VERSION:= ": Project Version: Unknown " 12 28 else … … 14 30 endif 15 31 32 # Define the target to build 33 16 34 ALLTARGETS = sysUtils 35 36 # Define the installation targets 37 17 38 INSTALLTARGETS = installSysUtils 39 40 # Define the clean up targets 41 18 42 CLEANTARGETS = cleanSysUtils 43 44 # Define the distribution clean up targets 45 19 46 DISTCLEANTARGETS = distcleanSysUtils 47 48 # Define PHONY target "all" which will make all necessary items 20 49 21 50 all: $(ALLTARGETS) … … 24 53 @echo "" 25 54 55 # Define PHONY target "sysUtils" which will make the system utilites 56 # portion of the psLib 57 26 58 sysUtils: 27 59 $(MAKE) --directory=sysUtils all 60 61 ## ADD ADDITIONAL PORTIONS OF PSLIB HERE 62 63 # Define PHONY target "installSysUtils" which will install all the necessary 64 # files for system utilities portion of psLib 28 65 29 66 installSysUtils: 30 67 $(MAKE) --directory=sysUtils install 31 68 69 # Define PHONY target "cleanSysUtils" which will clean up the development 70 # area for system utilites 71 32 72 cleanSysUtils: 33 73 $(MAKE) --directory=sysUtils clean 74 75 # Define PHONY target "distcleanSysUtils which will clean up the distribution 76 # files related to system utilities 34 77 35 78 distcleanSysUtils: 36 79 $(MAKE) --directory=sysUtils distclean 37 80 81 # Rule to make include directory if needed 38 82 39 83 $(includedir): 40 84 mkdir -p $(includedir) 41 85 86 # Rule to make bin directory if needed 87 42 88 $(bindir): 43 89 mkdir -p $(bindir) 44 90 91 # Rule to make lib directory if needed 92 45 93 $(libexecdir): 46 94 mkdir -p $(libexecdir) 95 96 # Rule to make man directory if needed 47 97 48 $(mandir): $(mandir)/man398 $(mandir): 49 99 mkdir -p $(mandir) 50 100 51 $(mandir)/man3: $(mandir) /man3101 $(mandir)/man3: $(mandir) 52 102 mkdir -p $(mandir)/man3 53 103 54 installdirs: $(includedir) $(bindir) $(libexecdir) 104 # Rule to make the installation directories if needed 105 106 installdirs: $(includedir) $(bindir) $(libexecdir) $(mandir) 107 108 # Define PHONY target "install" to make the necessary directories for 109 # the installation 55 110 56 111 install: installdirs $(INSTALLTARGETS) docs 57 cp -r docs/man/man3/* $(mandir)/man3 112 113 # Define PHONY target "clean" to clean up the development areas for 114 # psLib 58 115 59 116 clean: $(CLEANTARGETS) 60 117 118 # Define PHONY target "distclean" to clean up the distribution area for 119 # psLib 120 61 121 distclean: $(DISTCLEANTARGETS) 122 123 # Define PHONY target "docs" to generate the Doxygen files for psLib 62 124 63 125 docs: 64 doxygen Doxyfile 126 # doxygen Doxyfile 127 $(DOCS) 65 128 66 129 tags: 67 130 cd $(IPPROOT) ; etags `find . \( -name \*.[chy] -o -name \*.cpp \) -print` 131 132 # List of PHONY targets with make file 133 .PHONY: sysUtils
Note:
See TracChangeset
for help on using the changeset viewer.
