Print this page
lib: move compat links from targetdirs to proper makefiles


  28                 $(COMPILE.c) -o $@ $<
  29                 $(POST_PROCESS_O)
  30 
  31 objs/%64.o \
  32 pics/%64.o:     ../common/%.c
  33                 $(COMPILE.c) -D_ELF64 -o $@ $<
  34                 $(POST_PROCESS_O)
  35 
  36 objs/%.o \
  37 pics/%.o:       ../misc/%.c
  38                 $(COMPILE.c) -DELF -o $@ $<
  39                 $(POST_PROCESS_O)
  40 
  41 objs/%.o \
  42 pics/%.o:       ../common/%.c
  43                 $(COMPILE.c) -o $@ $<
  44                 $(POST_PROCESS_O)
  45 
  46 all:            $(BLTSRCS) .WAIT $(LIBS) $(LIBLINKS)
  47 
  48 install:        all .WAIT $(ROOTFS_LIBS64) $(ROOTFS_LINKS64)

  49 
  50 delete:
  51                 $(RM) $(DYNLIB)
  52 
  53 $(LIBLINKS):
  54                 $(RM) $(LIBLINKS)
  55                 $(SYMLINK) $(DYNLIB) $(LIBLINKS)
  56 
  57 CLOBBERFILES += $(LIBLINKS)
  58 
  59 # include common library targets
  60 #
  61 include         $(SRC)/lib/Makefile.targ
  62 include         $(SRC)/cmd/sgs/Makefile.targ
  63 
  64 xlate.c:        ../common/xlate.m4
  65                 $(M4) < ../common/xlate.m4 > xlate.c
  66 
  67 xlate64.c:      ../common/xlate64.m4
  68                 $(M4) < ../common/xlate64.m4 > xlate64.c




  28                 $(COMPILE.c) -o $@ $<
  29                 $(POST_PROCESS_O)
  30 
  31 objs/%64.o \
  32 pics/%64.o:     ../common/%.c
  33                 $(COMPILE.c) -D_ELF64 -o $@ $<
  34                 $(POST_PROCESS_O)
  35 
  36 objs/%.o \
  37 pics/%.o:       ../misc/%.c
  38                 $(COMPILE.c) -DELF -o $@ $<
  39                 $(POST_PROCESS_O)
  40 
  41 objs/%.o \
  42 pics/%.o:       ../common/%.c
  43                 $(COMPILE.c) -o $@ $<
  44                 $(POST_PROCESS_O)
  45 
  46 all:            $(BLTSRCS) .WAIT $(LIBS) $(LIBLINKS)
  47 
  48 install:        all .WAIT $(ROOTFS_LIBS64) $(ROOTFS_LINKS64) \
  49         $(ROOTCOMPATLINKS64)
  50 
  51 delete:
  52                 $(RM) $(DYNLIB)
  53 
  54 $(LIBLINKS):
  55                 $(RM) $(LIBLINKS)
  56                 $(SYMLINK) $(DYNLIB) $(LIBLINKS)
  57 
  58 CLOBBERFILES += $(LIBLINKS)
  59 
  60 # include common library targets
  61 #
  62 include         $(SRC)/lib/Makefile.targ
  63 include         $(SRC)/cmd/sgs/Makefile.targ
  64 
  65 xlate.c:        ../common/xlate.m4
  66                 $(M4) < ../common/xlate.m4 > xlate.c
  67 
  68 xlate64.c:      ../common/xlate64.m4
  69                 $(M4) < ../common/xlate64.m4 > xlate64.c