shithub: lwext4

ref: 4624a342d4f3b9d067407596506d517fb1bf6827
dir: /src/mkfile/

View raw version
</$objtype/mkfile

CFLAGS=$CFLAGS -D__$objtype__ -p -I../include/plan9 -I../include
LIB=liblwext4.a

HFILES=\
	../include/ext4.h\
	../include/ext4_balloc.h\
	../include/ext4_bcache.h\
	../include/ext4_bitmap.h\
	../include/ext4_block_group.h\
	../include/ext4_blockdev.h\
	../include/ext4_config.h\
	../include/ext4_crc32.h\
	../include/ext4_debug.h\
	../include/ext4_dir.h\
	../include/ext4_dir_idx.h\
	../include/ext4_errno.h\
	../include/ext4_fs.h\
	../include/ext4_hash.h\
	../include/ext4_ialloc.h\
	../include/ext4_inode.h\
	../include/ext4_journal.h\
	../include/ext4_mbr.h\
	../include/ext4_misc.h\
	../include/ext4_mkfs.h\
	../include/ext4_oflags.h\
	../include/ext4_super.h\
	../include/ext4_trans.h\
	../include/ext4_types.h\
	../include/misc/queue.h\
	../include/misc/tree.h\
	../include/plan9/generated/ext4_config.h\
	../include/plan9/assert.h\
	../include/plan9/generated\
	../include/plan9/inttypes.h\
	../include/plan9/stdarg.h\
	../include/plan9/stdbool.h\
	../include/plan9/stddef.h\
	../include/plan9/stdint.h\
	../include/plan9/stdio.h\
	../include/plan9/stdlib.h\
	../include/plan9/string.h\

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\

OFILES=\
	ext4.$O\
	ext4_balloc.$O\
	ext4_bcache.$O\
	ext4_bitmap.$O\
	ext4_block_group.$O\
	ext4_blockdev.$O\
	ext4_crc32.$O\
	ext4_debug.$O\
	ext4_dir.$O\
	ext4_dir_idx.$O\
	ext4_fs.$O\
	ext4_hash.$O\
	ext4_ialloc.$O\
	ext4_inode.$O\
	ext4_journal.$O\
	ext4_mbr.$O\
	ext4_mkfs.$O\
	ext4_super.$O\
	ext4_trans.$O\

default:V: all

</sys/src/cmd/mklib