home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Utilities / vmount-0.6a-I / src / fs-Makefile < prev    next >
Encoding:
Makefile  |  1996-11-16  |  3.2 KB  |  195 lines

  1. #
  2. # Makefile for the linux filesystem.
  3. #
  4. # Note! Dependencies are done automagically by 'make dep', which also
  5. # removes any old dependencies. DON'T put your own dependencies here
  6. # unless it's something special (ie not a .c file).
  7. #
  8. # Note 2! The CFLAGS definitions are now in the main makefile...
  9. #
  10. # Modified by Christian Starkjohann: does not compile the common files, but
  11. # only the file system subdirectories.
  12. # Original source: Linux 2.0.25 kernel
  13.  
  14. L_TARGET := filesystems.a
  15. L_OBJS    = $(join $(SUB_DIRS),$(SUB_DIRS:%=/%.o))
  16.  
  17. MOD_LIST_NAME := FS_MODULES
  18. ALL_SUB_DIRS = minix ext ext2 fat msdos vfat proc isofs nfs xiafs umsdos \
  19.         hpfs sysv smbfs ncpfs ufs affs
  20.  
  21. ifeq ($(CONFIG_QUOTA),y)
  22. O_OBJS += dquot.o
  23. else
  24. O_OBJS += noquot.o
  25. endif
  26.  
  27. ifeq ($(CONFIG_MINIX_FS),y)
  28. SUB_DIRS += minix
  29. else
  30.   ifeq ($(CONFIG_MINIX_FS),m)
  31.   MOD_SUB_DIRS += minix
  32.   endif
  33. endif
  34.  
  35. ifeq ($(CONFIG_EXT_FS),y)
  36. SUB_DIRS += ext
  37. else
  38.   ifeq ($(CONFIG_EXT_FS),m)
  39.   MOD_SUB_DIRS += ext
  40.   endif
  41. endif
  42.  
  43. ifeq ($(CONFIG_EXT2_FS),y)
  44. SUB_DIRS += ext2
  45. else
  46.   ifeq ($(CONFIG_EXT2_FS),m)
  47.   MOD_SUB_DIRS += ext2
  48.   endif
  49. endif
  50.  
  51. ifeq ($(CONFIG_FAT_FS),y)
  52. SUB_DIRS += fat
  53. else
  54.   ifeq ($(CONFIG_FAT_FS),m)
  55.   MOD_SUB_DIRS += fat
  56.   endif
  57. endif
  58.  
  59. ifeq ($(CONFIG_MSDOS_FS),y)
  60. SUB_DIRS += msdos
  61. else
  62.   ifeq ($(CONFIG_MSDOS_FS),m)
  63.   MOD_SUB_DIRS += msdos
  64.   endif
  65. endif
  66.  
  67. ifeq ($(CONFIG_VFAT_FS),y)
  68. SUB_DIRS += vfat
  69. else
  70.   ifeq ($(CONFIG_VFAT_FS),m)
  71.   MOD_SUB_DIRS += vfat
  72.   endif
  73. endif
  74.  
  75. ifdef CONFIG_PROC_FS
  76. SUB_DIRS += proc
  77. endif
  78.  
  79. ifeq ($(CONFIG_ISO9660_FS),y)
  80. SUB_DIRS += isofs
  81. else
  82.   ifeq ($(CONFIG_ISO9660_FS),m)
  83.   MOD_SUB_DIRS += isofs
  84.   endif
  85. endif
  86.  
  87. ifeq ($(CONFIG_NFS_FS),y)
  88. SUB_DIRS += nfs
  89. else
  90.   ifeq ($(CONFIG_NFS_FS),m)
  91.   MOD_SUB_DIRS += nfs
  92.   endif
  93. endif
  94.  
  95. ifeq ($(CONFIG_XIA_FS),y)
  96. SUB_DIRS += xiafs
  97. else
  98.   ifeq ($(CONFIG_XIA_FS),m)
  99.   MOD_SUB_DIRS += xiafs
  100.   endif
  101. endif
  102.  
  103. ifeq ($(CONFIG_UMSDOS_FS),y)
  104. SUB_DIRS += umsdos
  105. else
  106.   ifeq ($(CONFIG_UMSDOS_FS),m)
  107.   MOD_SUB_DIRS += umsdos
  108.   endif
  109. endif
  110.  
  111. ifeq ($(CONFIG_SYSV_FS),y)
  112. SUB_DIRS += sysv
  113. else
  114.   ifeq ($(CONFIG_SYSV_FS),m)
  115.   MOD_SUB_DIRS += sysv
  116.   endif
  117. endif
  118.  
  119. ifeq ($(CONFIG_SMB_FS),y)
  120. SUB_DIRS += smbfs
  121. else
  122.   ifeq ($(CONFIG_SMB_FS),m)
  123.   MOD_SUB_DIRS += smbfs
  124.   endif
  125. endif
  126.  
  127. ifeq ($(CONFIG_NCP_FS),y)
  128. SUB_DIRS += ncpfs
  129. else
  130.   ifeq ($(CONFIG_NCP_FS),m)
  131.   MOD_SUB_DIRS += ncpfs
  132.   endif
  133. endif
  134.  
  135. ifeq ($(CONFIG_HPFS_FS),y)
  136. SUB_DIRS += hpfs
  137. else
  138.   ifeq ($(CONFIG_HPFS_FS),m)
  139.   MOD_SUB_DIRS += hpfs
  140.   endif
  141. endif
  142.  
  143. ifeq ($(CONFIG_UFS_FS),y)
  144. SUB_DIRS += ufs
  145. else
  146.   ifeq ($(CONFIG_UFS_FS),m)
  147.   MOD_SUB_DIRS += ufs
  148.   endif
  149. endif
  150.  
  151. ifeq ($(CONFIG_AFFS_FS),y)
  152. SUB_DIRS += affs
  153. else
  154.   ifeq ($(CONFIG_AFFS_FS),m)
  155.   MOD_SUB_DIRS += affs
  156.   endif
  157. endif
  158.  
  159. ifeq ($(CONFIG_NTFS_FS),y)
  160. SUB_DIRS += ntfs
  161. else
  162.   ifeq ($(CONFIG_NTFS_FS),m)
  163.   MOD_SUB_DIRS += ntfs
  164.   endif
  165. endif
  166.  
  167. ifeq ($(CONFIG_BINFMT_ELF),y)
  168. BINFMTS += binfmt_elf.o
  169. else
  170.   ifeq ($(CONFIG_BINFMT_ELF),m)
  171.   M_OBJS += binfmt_elf.o
  172.   endif
  173. endif
  174.  
  175. ifeq ($(CONFIG_BINFMT_AOUT),y)
  176. BINFMTS += binfmt_aout.o
  177. else
  178.   ifeq ($(CONFIG_BINFMT_AOUT),m)
  179.   M_OBJS += binfmt_aout.o
  180.   endif
  181. endif
  182.  
  183. ifeq ($(CONFIG_BINFMT_JAVA),y)
  184. BINFMTS += binfmt_java.o
  185. else
  186.   ifeq ($(CONFIG_BINFMT_JAVA),m)
  187.   M_OBJS += binfmt_java.o
  188.   endif
  189. endif
  190.  
  191. # binfmt_script is always there
  192. BINFMTS += binfmt_script.o
  193.  
  194. include $(TOPDIR)/Rules.make
  195.