Changeset 657
- Timestamp:
- May 12, 2004, 8:06:34 PM (22 years ago)
- Location:
- trunk/psLib
- Files:
-
- 5 edited
-
src/Makefile (modified) (8 diffs)
-
src/dataManip/Makefile (modified) (3 diffs)
-
src/dataManip/psStats.c (modified) (1 diff)
-
src/math/psStats.c (modified) (1 diff)
-
test/dataManip/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/Makefile
r651 r657 3 3 ## Makefile: psLib 4 4 ## 5 ## $Revision: 1. 9$ $Name: not supported by cvs2svn $6 ## $Date: 2004-05-1 2 21:49:39$5 ## $Revision: 1.10 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-05-13 06:06:33 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 32 32 # Define the target to build 33 33 34 ALLTARGETS = sysUtils collections 34 ALLTARGETS = sysUtils collections dataManip 35 35 36 36 TARGET_DYNAMIC = libpslib.$(DLL) … … 39 39 # Define the installation targets 40 40 41 INSTALLTARGETS = installSysUtils installCollections 41 INSTALLTARGETS = installSysUtils installCollections installDataManip 42 42 43 43 # Define the clean up targets 44 44 45 CLEANTARGETS = cleanSysUtils cleanCollections 45 CLEANTARGETS = cleanSysUtils cleanCollections cleanDataManip 46 46 47 47 # Define the distribution clean up targets 48 48 49 DISTCLEANTARGETS = distcleanSysUtils distcleanCollections 49 DISTCLEANTARGETS = distcleanSysUtils distcleanCollections distcleanDataManip 50 50 51 51 # Define PHONY target "all" which will make all necessary items … … 66 66 $(MAKE) --directory=collections all 67 67 68 dataManip: 69 $(MAKE) --directory=dataManip all 70 68 71 69 72 ## ADD ADDITIONAL PORTIONS OF PSLIB HERE … … 78 81 $(MAKE) --directory=collections install 79 82 83 installDataManip: 84 $(MAKE) --directory=dataManip install 85 80 86 81 87 # Define PHONY target "cleanSysUtils" which will clean up the development … … 88 94 $(MAKE) --directory=collections clean 89 95 96 cleanDataManip: 97 $(MAKE) --directory=dataManip clean 98 90 99 # Define PHONY target "distcleanSysUtils which will clean up the distribution 91 100 # files related to system utilities … … 96 105 distcleanCollections: 97 106 $(MAKE) --directory=collections distclean 107 108 distcleanDataManip: 109 $(MAKE) --directory=dataManip distclean 98 110 99 111 … … 156 168 157 169 # List of PHONY targets with make file 158 .PHONY: sysUtils collections 170 .PHONY: sysUtils collections dataManip -
trunk/psLib/src/dataManip/Makefile
r656 r657 3 3 endif 4 4 5 # Define the two targets to be built 6 7 TARGET_STATIC = libpsDataManip.a 8 9 # Include the make global definitions for the project 10 5 TARGET_STATIC = libpslib.a 11 6 include ../Makefile.Globals 12 13 # Set CFLAGS used by the implicit rule to compile .c 14 15 CFLAGS := $(CFLAGS_RELOC) 16 17 # Define the source objects 18 7 CFLAGS := $(CFLAGS_RELOC) -I. 19 8 SRC_OBJS = psStats.o 20 21 # Define PHONY target "all" which will make all the necessary items22 9 23 10 all: $(TARGET_STATIC) 24 11 25 # Rule to make static library 12 %.o: %.c 13 @echo " Compiling $<. " 14 $(CC) $(CFLAGS) -I../../include -c $< -o $@ 26 15 27 libpslib.a: $(SRC_OBJS)16 libpslib.a: $(SRC_OBJS) 28 17 # The ar option -r is to add/replace object and -s is to create 29 18 # a symbol table in the archive … … 31 20 32 21 # Define PHONY target "install" which will install necessary files 33 34 22 install: $(TARGET_STATIC) 35 23 install *.h $(includedir) 36 24 37 25 # Define PHONY target "distclean" which will cleanup the distribution 38 39 26 distclean: clean 40 27 $(RM) ../$(TARGET_STATIC) 41 28 42 29 # Define PHONY target "clean" which will cleanup the development area 43 44 30 clean: 45 31 @echo " Deleting intermediate files for 'sysUtils'" … … 50 36 51 37 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 %.o: %.c72 @echo " Compiling $<. "73 $(CC) $(CFLAGS) -I../../include -c $< -o $@74 75 libpsDataManip.a: $(SRC_OBJS)76 # $(AR) rcs libpsDataManip.a $(SRC_OBJS)77 $(AR) rcs ../$@ $(SRC_OBJS)78 79 install: $(TARGET)80 install *.h $(includedir)81 82 distclean: clean83 $(RM) $(TARGET)84 85 clean:86 @echo " Deleting intermediate files for 'utilities - $(CFG)'"87 $(RM) $(SRC_OBJS) *.lint88 89 %.lint: %.c90 splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ -
trunk/psLib/src/dataManip/psStats.c
r652 r657 12 12 *****************************************************************************/ 13 13 #include "psStats.h" 14 15 14 /****************************************************************************** 16 15 psStatsAlloc(): This routine must create a new psStats data structure. -
trunk/psLib/src/math/psStats.c
r652 r657 12 12 *****************************************************************************/ 13 13 #include "psStats.h" 14 15 14 /****************************************************************************** 16 15 psStatsAlloc(): This routine must create a new psStats data structure. -
trunk/psLib/test/dataManip/Makefile
r654 r657 3 3 ## Makefile: test/sysUtils 4 4 ## 5 ## $Revision: 1. 1$ $Name: not supported by cvs2svn $6 ## $Date: 2004-05-13 0 2:02:24 $5 ## $Revision: 1.2 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-05-13 06:06:34 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 30 30 31 31 % : %.o 32 $(CC) $(LDFLAGS) -L.. -L$(PSLIB_LIB_DIR) -lpslib -lpstest - lpsDataManip -o $@ $<32 $(CC) $(LDFLAGS) -L.. -L$(PSLIB_LIB_DIR) -lpslib -lpstest -o $@ $< 33 33 34 34 %.lint: %.c
Note:
See TracChangeset
for help on using the changeset viewer.
