Changeset 584 for trunk/psLib/test/sysUtils/Makefile
- Timestamp:
- May 5, 2004, 2:20:50 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/sysUtils/Makefile (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/sysUtils/Makefile
r560 r584 3 3 ## Makefile: test/sysUtils 4 4 ## 5 ## $Revision: 1. 6$ $Name: not supported by cvs2svn $6 ## $Date: 2004-05-0 1 23:04:35$5 ## $Revision: 1.7 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-05-06 00:20:50 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 10 10 ############################################################################### 11 11 12 ###############################################################################13 # Note: I added specific entries for the psTrace files. The reason I did14 # this was because the generic rules were failing on the existing test15 # code (and hence, on my tst_psTraceXX.c code as well). I am tempted to16 # fix the generic rules, but that might break existing codes. When this17 # problem is resolved, I'll remove the specific rules for psTrace. -GLG18 # Also, psLogMsg.19 # Also, psHash.20 ###############################################################################21 12 include ../../src/Makefile.Globals 22 13 23 14 PSLIB_INCL_DIR = ../../include 15 24 16 PSLIB_LIB_DIR = ../../lib 25 17 26 TARGET = tst_psError \ 27 tstMemory \ 28 atst_psAbort_01 \ 29 atst_psAbort_02 \ 30 atst_psAbort_03 \ 31 tst_psStringCopy 32 TARGET_TRACE = tst_psTrace00 tst_psTrace01 tst_psTrace02 tst_psTrace03 \ 33 tst_psTrace04 34 TARGET_LOGMSG = tst_psLogMsg00 tst_psLogMsg01 tst_psLogMsg02 tst_psLogMsg03 35 TARGET_HASH = tst_psHash00 tst_psHash01 tst_psHash02 tst_psHash03 tst_psHash04 18 TARGET = atst_psAbort_01 \ 19 atst_psAbort_02 \ 20 atst_psAbort_03 \ 21 tstMemory \ 22 tst_psError \ 23 tst_psHash00 \ 24 tst_psHash01 \ 25 tst_psHash02 \ 26 tst_psHash03 \ 27 tst_psHash04 \ 28 tst_psLogMsg00 \ 29 tst_psLogMsg01 \ 30 tst_psLogMsg02 \ 31 tst_psLogMsg03 \ 32 tst_psStringCopy \ 33 tst_psTrace00 \ 34 tst_psTrace01 \ 35 tst_psTrace02 \ 36 tst_psTrace03 \ 37 tst_psTrace04 36 38 37 all: $(TARGET) 38 psTrace: $(TARGET_TRACE) 39 psLogMsg: $(TARGET_LOGMSG) 40 psHash: $(TARGET_HASH) 39 all: $(TARGET) 41 40 42 tst_psError: tst_psError.o43 41 atst_psAbort_01: atst_psAbort_01.o 44 42 atst_psAbort_02: atst_psAbort_02.o 45 43 atst_psAbort_03: atst_psAbort_03.o 44 tstMemory: tstMemory.o 45 tst_psError: tst_psError.o 46 tst_psHash00: tst_psHash00.o 47 tst_psHash01: tst_psHash01.o 48 tst_psHash02: tst_psHash02.o 49 tst_psHash03: tst_psHash03.o 50 tst_psHash04: tst_psHash04.o 51 tst_psLogMsg00: tst_psLogMsg00.o 52 tst_psLogMsg01: tst_psLogMsg01.o 53 tst_psLogMsg02: tst_psLogMsg02.o 54 tst_psLogMsg03: tst_psLogMsg03.o 46 55 tst_psStringCopy: tst_psStringCopy.o 56 tst_psTrace00: tst_psTrace00.o 57 tst_psTrace01: tst_psTrace01.o 58 tst_psTrace02: tst_psTrace02.o 59 tst_psTrace03: tst_psTrace03.o 60 tst_psTrace04: tst_psTrace04.o 47 61 48 62 clean: … … 50 64 $(RM) $(TARGET) *.o *.lint 51 65 52 tst_psHash00: tst_psHash00.c53 $(CC) tst_psHash00.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psHash0054 55 tst_psHash01: tst_psHash01.c56 $(CC) tst_psHash01.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psHash0157 58 tst_psHash02: tst_psHash02.c59 $(CC) tst_psHash02.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psHash0260 61 tst_psHash03: tst_psHash03.c62 $(CC) tst_psHash03.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psHash0363 64 tst_psHash04: tst_psHash04.c65 $(CC) tst_psHash04.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psHash0466 67 tst_psLogMsg00: tst_psLogMsg00.c68 $(CC) tst_psLogMsg00.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psLogMsg0069 70 tst_psLogMsg01: tst_psLogMsg01.c71 $(CC) tst_psLogMsg01.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psLogMsg0172 73 tst_psLogMsg02: tst_psLogMsg02.c74 $(CC) tst_psLogMsg02.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psLogMsg0275 76 tst_psLogMsg03: tst_psLogMsg03.c77 $(CC) tst_psLogMsg03.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psLogMsg0378 79 tst_psTrace00: tst_psTrace00.c80 $(CC) tst_psTrace00.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psTrace0081 82 tst_psTrace01: tst_psTrace01.c83 $(CC) tst_psTrace01.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psTrace0184 85 tst_psTrace02: tst_psTrace02.c86 $(CC) tst_psTrace02.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psTrace0287 88 tst_psTrace03: tst_psTrace03.c89 $(CC) tst_psTrace03.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psTrace0390 91 tst_psTrace04: tst_psTrace04.c92 $(CC) tst_psTrace04.c $(LDFLAGS) -L$(PSLIB_LIB_DIR) -L.. -lpslib -lpstest -I$(PSLIB_INCL_DIR) -I.. -o tst_psTrace0493 94 66 %.o : %.c 95 $(CC) $(CFLAGS) $(CPPFLAGS) -I .. -I$(PSLIB_INCL_DIR) -c -o $@ $<67 $(CC) $(CFLAGS) $(CPPFLAGS) -I$(PSLIB_INCL_DIR) -c -o $@ $< 96 68 97 69 % : %.o 98 $(CC) $(LDFLAGS) -L$(PSLIB_LIB_DIR) - L.. -lpslib -lpstest -o $@ $<70 $(CC) $(LDFLAGS) -L$(PSLIB_LIB_DIR) -lpslib -lpstest -o $@ $< 99 71 100 72 %.lint: %.c 101 73 splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ 102 74 103 distclean: 104 rm -rf $(TARGET_TRACE) $(TARGET_LOGMSG) $(TARGET_HASH) 75
Note:
See TracChangeset
for help on using the changeset viewer.
