Changeset 596
- Timestamp:
- May 6, 2004, 1:25:19 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 4 edited
-
Makefile (modified) (6 diffs)
-
Makefile.Globals (modified) (3 diffs)
-
collections/Makefile (modified) (4 diffs)
-
sysUtils/Makefile (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/Makefile
r579 r596 3 3 ## Makefile: psLib 4 4 ## 5 ## $Revision: 1. 6$ $Name: not supported by cvs2svn $6 ## $Date: 2004-05-0 5 20:46:25$5 ## $Revision: 1.7 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-05-06 23:25:19 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 34 34 ALLTARGETS = sysUtils collections 35 35 36 TARGET_DYNAMIC = libpslib.$(DLL) 37 TARGET_STATIC = libpslib.a 38 36 39 # Define the installation targets 37 40 … … 48 51 # Define PHONY target "all" which will make all necessary items 49 52 50 all: $(ALLTARGETS) 53 all: $(ALLTARGETS) 54 $(BUILD_DYNAMIC1) $(TARGET_STATIC) $(BUILD_DYNAMIC2) $(TARGET_DYNAMIC) 51 55 @echo "" 52 56 @echo " ---- All targets built successfully $(VERSION) ----" … … 126 130 install: installdirs $(INSTALLTARGETS) docs 127 131 install *.h $(includedir) 132 install $(TARGET_STATIC) $(libexecdir) 133 install $(TARGET_DYNAMIC) $(libexecdir) 128 134 129 135 # Define PHONY target "clean" to clean up the development areas for … … 131 137 132 138 clean: $(CLEANTARGETS) 139 $(RM) -f $(TARGET_STATIC) 140 $(RM) -f $(TARGET_DYNAMIC) 133 141 134 142 # Define PHONY target "distclean" to clean up the distribution area for … … 136 144 137 145 distclean: $(DISTCLEANTARGETS) 146 $(RM) -f $(libexecdir)/$(TARGET_STATIC) 147 $(RM) -f $(libexecdir)/$(TARGET_DYNAMIC) 138 148 139 149 # Define PHONY target "docs" to generate the Doxygen files for psLib -
trunk/psLib/src/Makefile.Globals
r515 r596 5 5 ## Assumptions: Variable "prefix" already defined 6 6 ## 7 ## $Revision: 1. 4$ $Name: not supported by cvs2svn $8 ## $Date: 2004-0 4-23 23:40:52$7 ## $Revision: 1.5 $ $Name: not supported by cvs2svn $ 8 ## $Date: 2004-05-06 23:25:19 $ 9 9 ## 10 10 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 53 53 SO = so 54 54 DOCS = doxygen Doxyfile 55 BUILD_DYNAMIC1 = $(CC) $(LDFLAGS_DLL) -Wl,--whole-archive 56 BUILD_DYNAMIC2 = -Wl,--no-whole-archive -lm -o 55 57 endif 56 58 … … 63 65 SO = bundle 64 66 DOCS = 67 BUILD_DYNAMIC1 = libtool -dynamic -lm 68 BUILD_DYNAMIC2 = -lm -o 65 69 endif 66 70 -
trunk/psLib/src/collections/Makefile
r593 r596 3 3 ## Makefile: collections 4 4 ## 5 ## $Revision: 1. 7$ $Name: not supported by cvs2svn $6 ## $Date: 2004-05-06 18:59:41$5 ## $Revision: 1.8 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-05-06 23:24:38 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 19 19 20 20 TARGET_STATIC = libpslib.a 21 #TARGET_DYNAMIC = libpslib.$(DLL)22 21 23 22 # Include the make global definitions for the project … … 46 45 $(AR) rcs ../$@ $(SRC_OBJS) 47 46 48 # Rule to make dynamic library49 50 libpslib.$(DLL): $(SRC_OBJS)51 $(CC) $(LDFLAGS_DLL) $(SRC_OBJS) -o ../$@52 53 47 # Define PHONY target "install" which will install necessary files 54 48 55 49 install: $(TARGET_STATIC) 56 50 install *.h $(includedir) 57 install ../$(TARGET_STATIC) $(libexecdir)58 # install ../$(TARGET_DYNAMIC) $(libexecdir)59 51 60 52 # Define PHONY target "distclean" which will cleanup the distribution … … 62 54 distclean: clean 63 55 $(RM) ../$(TARGET_STATIC) 64 # $(RM) ../$(TARGET_DYNAMIC)65 $(RM) $(libexecdir)/$(TARGET_STATIC)66 # $(RM) $(libexecdir)/$(TARGET_DYNAMIC)67 56 68 57 # Define PHONY target "clean" which will cleanup the development area -
trunk/psLib/src/sysUtils/Makefile
r594 r596 3 3 ## Makefile: sysUtils 4 4 ## 5 ## $Revision: 1. 8$ $Name: not supported by cvs2svn $6 ## $Date: 2004-05-06 19:00:10$5 ## $Revision: 1.9 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-05-06 23:24:03 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 19 19 20 20 TARGET_STATIC = libpslib.a 21 #TARGET_DYNAMIC = libpslib.$(DLL)22 21 23 22 # Include the make global definitions for the project … … 42 41 # Define PHONY target "all" which will make all the necessary items 43 42 44 all: $(TARGET_STATIC) 43 all: $(TARGET_STATIC) 45 44 46 45 # Rule to make static library … … 51 50 $(AR) rcs ../$@ $(SRC_OBJS) 52 51 53 # Rule to make dynamic library54 55 libpslib.$(DLL): $(SRC_OBJS)56 $(CC) $(LDFLAGS_DLL) $(SRC_OBJS) -o ../$@57 58 52 # Define PHONY target "install" which will install necessary files 59 53 60 54 install: $(TARGET_STATIC) 61 55 install *.h $(includedir) 62 install ../$(TARGET_STATIC) $(libexecdir)63 # install ../$(TARGET_DYNAMIC) $(libexecdir)64 56 65 57 # Define PHONY target "distclean" which will cleanup the distribution … … 67 59 distclean: clean 68 60 $(RM) ../$(TARGET_STATIC) 69 # $(RM) ../$(TARGET_DYNAMIC)70 $(RM) $(libexecdir)/$(TARGET_STATIC)71 # $(RM) $(libexecdir)/$(TARGET_DYNAMIC)72 61 73 62 # Define PHONY target "clean" which will cleanup the development area
Note:
See TracChangeset
for help on using the changeset viewer.
