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


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




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