IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 987


Ignore:
Timestamp:
Jun 10, 2004, 10:52:14 AM (22 years ago)
Author:
desonia
Message:

added dependency generation to makefiles.

Location:
trunk/psLib/test
Files:
60 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/collections/Makefile

    r920 r987  
    33##  Makefile:   test/collections
    44##
    5 ##  $Revision: 1.11 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-08 19:12:05 $
     5##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-10 20:52:14 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    4040clean:
    4141        @echo "    Deleting executable and binary files for 'test/collections'"
    42         $(RM) $(TARGET) *.o *.lint *.i *.d
     42        $(RM) $(TARGET) *.o *.lint *.i
    4343
    4444%.o : %.i
     
    5858
    5959%.d: %.c
    60         $(CC) -M $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp
     60        $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp
    6161        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
    6262        $(RM) -f $@.tmp
  • trunk/psLib/test/dataManip/Makefile

    r887 r987  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.9 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-07 00:31:55 $
     5##  $Revision: 1.10 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-10 20:52:14 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3939 tst_psImageStats00 \
    4040 tst_psImageStats01 \
    41  tst_psImageStats02
     41 tst_psImageStats02 \
     42 tst_psImageIO
     43
     44OBJS = $(addsuffix .o,$(TARGET))
    4245
    4346all: $(TARGET)
    4447
    45 tst_psMatrix01:         tst_psMatrix01.o
    46 tst_psMatrix02:         tst_psMatrix02.o
    47 tst_psMatrix03:         tst_psMatrix03.o
    48 tst_psMatrix04:         tst_psMatrix04.o
    49 tst_psMatrix05:         tst_psMatrix05.o
    50 tst_psMatrix06:         tst_psMatrix06.o
    51 tst_psMatrix07:         tst_psMatrix07.o
    52 tst_psStats00:          tst_psStats00.o
    53 tst_psStats01:          tst_psStats01.o
    54 tst_psStats02:          tst_psStats02.o
    55 tst_psStats03:          tst_psStats03.o
    56 tst_psStats04:          tst_psStats04.o
    57 tst_psStats05:          tst_psStats05.o
    58 tst_psStats06:          tst_psStats06.o
    59 tst_psStats07:          tst_psStats07.o
    60 tst_psStats08:          tst_psStats08.o
    61 tst_psStats09:          tst_psStats09.o
    62 tst_psHist00:           tst_psHist00.o
    63 tst_psHist01:           tst_psHist01.o
    64 tst_psHist02:           tst_psHist02.o
    65 tst_psFunc00:           tst_psFunc00.o
    66 tst_psFunc01:           tst_psFunc01.o
    67 tst_psFunc02:           tst_psFunc02.o
    68 tst_psFunc03:           tst_psFunc03.o
    69 tst_psImageStats00:     tst_psImageStats00.o
    70 tst_psImageStats01:     tst_psImageStats01.o
    71 tst_psImageStats02:     tst_psImageStats02.o
    72 tst_psImageStats03:     tst_psImageStats03.o
     48include $(OBJS:.o=.d)
    7349
    7450clean:
     
    8258        $(CC) -o $@ $< -L$(PSLIB_LIB_DIR) -lpslib -lpstest -lgsl -lgslcblas $(LDFLAGS)
    8359
    84 ## NOTE: The distclean target does not remove the .o files.  The Makefiles must
    85 ## be repaired.
    86 distclean:
     60distclean: clean
    8761        $(RM) $(TARGET)
    8862
     
    9064        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    9165
     66%.d: %.c
     67        $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp
     68        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
     69        $(RM) -f $@.tmp
    9270
  • trunk/psLib/test/sysUtils/Makefile

    r888 r987  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.12 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-06-07 00:32:25 $
     5##  $Revision: 1.13 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-10 20:52:14 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3737         tst_psTrace04
    3838
     39OBJS = $(addsuffix .o,$(TARGET))
     40
    3941all: $(TARGET)
    4042
    41 atst_psAbort_01:    atst_psAbort_01.o
    42 atst_psAbort_02:    atst_psAbort_02.o
    43 atst_psAbort_03:    atst_psAbort_03.o
    44 tst_psMemory:       tst_psMemory.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
    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
     43include $(OBJS:.o=.d)
    6144
    6245clean:
     
    7356        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    7457
    75 distclean:     
     58distclean:
    7659        $(RM) $(TARGET)
    7760
     61%.d: %.c
     62        $(CC) -MM $(CFLAGS) -I$(PSLIB_INCL_DIR) $< > $@.tmp
     63        sed 's/\($*\)\.o[ :]*/\1.o $@ : /g' $@.tmp > $@
     64        $(RM) -f $@.tmp
     65
Note: See TracChangeset for help on using the changeset viewer.