IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 12, 2004, 8:06:34 PM (22 years ago)
Author:
gusciora
Message:

I am trying to get our Makefiles to work correctly. In order to do so, I
need to do a fresh check-out. This check-in might break things.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/dataManip/Makefile

    r656 r657  
    33endif
    44
    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 
     5TARGET_STATIC  = libpslib.a
    116include ../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 
     7CFLAGS := $(CFLAGS_RELOC) -I.
    198SRC_OBJS = psStats.o
    20 
    21 # Define PHONY target "all" which will make all the necessary items
    229
    2310all: $(TARGET_STATIC)
    2411
    25 # Rule to make static library
     12%.o:    %.c
     13        @echo "    Compiling $<. "
     14        $(CC) $(CFLAGS) -I../../include -c $< -o $@
    2615
    27 libpslib.a: $(SRC_OBJS)
     16libpslib.a:     $(SRC_OBJS)
    2817# The ar option -r is to add/replace object and -s is to create
    2918# a symbol table in the archive
     
    3120
    3221# Define PHONY target "install" which will install necessary files
    33 
    3422install: $(TARGET_STATIC)
    3523        install *.h $(includedir)
    3624
    3725# Define PHONY target "distclean" which will cleanup the distribution
    38 
    3926distclean:      clean
    4027        $(RM) ../$(TARGET_STATIC)
    4128
    4229# Define PHONY target "clean" which will cleanup the development area
    43 
    4430clean:
    4531        @echo "    Deleting intermediate files for 'sysUtils'"
     
    5036
    5137
    52 
    53 
    54 
    55 
    56 
    57 
    58 
    59 
    60 
    61 
    62 
    63 
    64 
    65 
    66 
    67 
    68 
    69 
    70 
    71 %.o: %.c
    72         @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:      clean
    83         $(RM) $(TARGET)
    84 
    85 clean:
    86         @echo "    Deleting intermediate files for 'utilities - $(CFG)'"
    87         $(RM) $(SRC_OBJS) *.lint
    88 
    89 %.lint: %.c
    90         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
Note: See TracChangeset for help on using the changeset viewer.