Diff for /linux/net/Makefile between versions 1.1.1.4 and 1.1.1.5

version 1.1.1.4, 2018/04/24 18:13:50 version 1.1.1.5, 2018/04/24 18:15:47
Line 7 Line 7
 #  #
 # Note 2! The CFLAGS definition is now in the main makefile...  # Note 2! The CFLAGS definition is now in the main makefile...
   
   # only these two lines should need to be changed to remove inet sockets.
   # (and the tcp/tcpip.o in net.o)
   
   SUBDIRS         =# tcp
   SOCK_FLAGS      =# -DINET_SOCKETS
   
 .c.o:  .c.o:
         $(CC) $(CFLAGS) -c $<          $(CC) $(CFLAGS) $(SOCK_FLAGS) -c $<
 .s.o:  .s.o:
         $(AS) -o $*.o $<          $(AS) -o $*.o $<
 .c.s:  .c.s:
         $(CC) $(CFLAGS) -S $<          $(CC) $(CFLAGS) -S $<
   
 OBJS    =  socket.o unix.o  OBJS    =  socket.o unix.o 
   
   net.o: $(OBJS) subdirs
           $(LD) -r -o net.o $(OBJS)# tcp/tcpip.o
   
 net.o: $(OBJS)  
         $(LD) -r -o net.o $(OBJS)  subdirs: dummy
           for i in $(SUBDIRS); do (cd $$i && echo $$i && $(MAKE)) || exit; done
   
 clean:  clean:
         rm -f core *.o *.a tmp_make          rm -f core *.o *.a tmp_make
         for i in *.c;do rm -f `basename $$i .c`.s;done          for i in *.c;do rm -f `basename $$i .c`.s;done
           @for i in $(SUBDIRS); do (cd $$i && echo $$i && $(MAKE) clean) || exit; done
   
 dep:  dep:
         sed '/\#\#\# Dependencies/q' < Makefile > tmp_make          sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
         for i in *.c;do $(CPP) -M $$i;done >> tmp_make          $(CPP) -M *.c >> tmp_make
         cp tmp_make Makefile          cp tmp_make Makefile
           @for i in $(SUBDIRS); do (cd $$i && echo $$i && $(MAKE) dep) || exit; done
   
   dummy:
   
 ### Dependencies:  ### Dependencies:
 socket.o : socket.c /usr/src/linux/include/linux/signal.h /usr/src/linux/include/linux/errno.h \  socket.o : socket.c /usr/include/linux/signal.h /usr/include/linux/errno.h /usr/include/linux/sched.h \
   /usr/src/linux/include/linux/sched.h /usr/src/linux/include/linux/head.h /usr/src/linux/include/linux/fs.h \    /usr/include/linux/head.h /usr/include/linux/fs.h /usr/include/linux/limits.h \
   /usr/src/linux/include/linux/limits.h /usr/src/linux/include/linux/wait.h /usr/src/linux/include/linux/types.h \    /usr/include/linux/wait.h /usr/include/linux/types.h /usr/include/linux/dirent.h \
   /usr/src/linux/include/linux/dirent.h /usr/src/linux/include/linux/vfs.h /usr/src/linux/include/linux/minix_fs_sb.h \    /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h \
   /usr/src/linux/include/linux/ext_fs_sb.h /usr/src/linux/include/linux/msdos_fs_sb.h \    /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h \
   /usr/src/linux/include/linux/mm.h /usr/src/linux/include/linux/kernel.h /usr/src/linux/include/linux/time.h \    /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h \
   /usr/src/linux/include/linux/param.h /usr/src/linux/include/linux/resource.h \    /usr/include/linux/kernel.h /usr/include/linux/time.h /usr/include/linux/param.h \
   /usr/src/linux/include/linux/stat.h /usr/src/linux/include/linux/socket.h /usr/src/linux/include/linux/fcntl.h \    /usr/include/linux/resource.h /usr/include/linux/vm86.h /usr/include/linux/stat.h \
   /usr/src/linux/include/linux/termios.h /usr/src/linux/include/asm/system.h /usr/src/linux/include/asm/segment.h \    /usr/include/linux/socket.h /usr/include/linux/fcntl.h /usr/include/linux/termios.h \
   kern_sock.h socketcall.h     /usr/include/asm/system.h /usr/include/asm/segment.h kern_sock.h socketcall.h 
 unix.o : unix.c /usr/src/linux/include/linux/signal.h /usr/src/linux/include/linux/sched.h \  unix.o : unix.c /usr/include/linux/signal.h /usr/include/linux/sched.h /usr/include/linux/head.h \
   /usr/src/linux/include/linux/head.h /usr/src/linux/include/linux/fs.h /usr/src/linux/include/linux/limits.h \    /usr/include/linux/fs.h /usr/include/linux/limits.h /usr/include/linux/wait.h \
   /usr/src/linux/include/linux/wait.h /usr/src/linux/include/linux/types.h /usr/src/linux/include/linux/dirent.h \    /usr/include/linux/types.h /usr/include/linux/dirent.h /usr/include/linux/vfs.h \
   /usr/src/linux/include/linux/vfs.h /usr/src/linux/include/linux/minix_fs_sb.h \    /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h \
   /usr/src/linux/include/linux/ext_fs_sb.h /usr/src/linux/include/linux/msdos_fs_sb.h \    /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h \
   /usr/src/linux/include/linux/mm.h /usr/src/linux/include/linux/kernel.h /usr/src/linux/include/linux/time.h \    /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h /usr/include/linux/kernel.h \
   /usr/src/linux/include/linux/param.h /usr/src/linux/include/linux/resource.h \    /usr/include/linux/time.h /usr/include/linux/param.h /usr/include/linux/resource.h \
   /usr/src/linux/include/linux/errno.h /usr/src/linux/include/linux/string.h /usr/src/linux/include/linux/stat.h \    /usr/include/linux/vm86.h /usr/include/linux/errno.h /usr/include/linux/string.h \
   /usr/src/linux/include/linux/socket.h /usr/src/linux/include/linux/un.h /usr/src/linux/include/linux/fcntl.h \    /usr/include/linux/stat.h /usr/include/linux/socket.h /usr/include/linux/un.h \
   /usr/src/linux/include/linux/termios.h /usr/src/linux/include/asm/system.h /usr/src/linux/include/asm/segment.h \    /usr/include/linux/fcntl.h /usr/include/linux/termios.h /usr/include/asm/system.h \
   kern_sock.h     /usr/include/asm/segment.h kern_sock.h 

Removed from v.1.1.1.4  
changed lines
  Added in v.1.1.1.5


unix.superglobalmegacorp.com