tools/Makefile
changeset 5565 f678cc44b3d0
parent 5508 3b7bb04ece74
child 5569 c3326e2b8b45
equal deleted inserted replaced
5564:e533d5840fdd 5565:f678cc44b3d0
    22 #
    22 #
    23 
    23 
    24 include ../make-rules/shared-macros.mk
    24 include ../make-rules/shared-macros.mk
    25 
    25 
    26 download setup prep build install publish \
    26 download setup prep build install publish \
    27 validate:	links pkglint time-$(MACH32).so time-$(MACH64).so
    27 validate:	links pkglint time-$(MACH32).so time-$(MACH64).so \
       
    28 		proxy_cvs
    28 
    29 
    29 # generate wrappers for parfait. we need to generate them
    30 # generate wrappers for parfait. we need to generate them
    30 # with the correct compiler variables from the common makefiles because
    31 # with the correct compiler variables from the common makefiles because
    31 # some things reset the environment which causes lovely infinite
    32 # some things reset the environment which causes lovely infinite
    32 # loops
    33 # loops
    50 	@sed -e "s,WS_TOP_XXX,$(WS_TOP)/$(MACH)," \
    51 	@sed -e "s,WS_TOP_XXX,$(WS_TOP)/$(MACH)," \
    51 	    < pkglint.sh \
    52 	    < pkglint.sh \
    52 	    > pkglint
    53 	    > pkglint
    53 	@chmod +x pkglint
    54 	@chmod +x pkglint
    54 
    55 
       
    56 proxy_cvs:
       
    57 	@cp proxy_cvs.sh proxy_cvs
       
    58 	@chmod +x proxy_cvs
    55 
    59 
    56 time-$(MACH64).o:			BITS=64
    60 time-$(MACH64).o:			BITS=64
    57 time-$(MACH32).o time-$(MACH64).o:	CFLAGS += -Kpic
    61 time-$(MACH32).o time-$(MACH64).o:	CFLAGS += -Kpic
    58 
    62 
    59 time-$(MACH32).o time-$(MACH64).o:	time.c
    63 time-$(MACH32).o time-$(MACH64).o:	time.c
    63 	@$(LD) -G -o $@ $<
    67 	@$(LD) -G -o $@ $<
    64 
    68 
    65 clean:
    69 clean:
    66 	@$(RM) time-*.o time*.bc
    70 	@$(RM) time-*.o time*.bc
    67 	@$(RM) pkglint
    71 	@$(RM) pkglint
       
    72 	@$(RM) proxy_cvs
    68 
    73 
    69 clobber:	clean
    74 clobber:	clean
    70 	@$(RM) time-*.so python/pkglint/*.pyc
    75 	@$(RM) time-*.so python/pkglint/*.pyc
    71 	@$(RM) -r $(PARFAIT_TOOLS) $(MACH)
    76 	@$(RM) -r $(PARFAIT_TOOLS) $(MACH)
    72 
    77