tools/toCOPY/cgcs_overlay/mount_wrappers/Makefile
Dean Troyer 62bd0253f0 Add build tools
This includes Docker containers to perform the StarlingX build
and a set of scripts to maintain a local mirror of binary CentOS
and other packages required to populate the final ISO file.

Change-Id: I8140fd8fa2d00e7aa98c895a8e4962ab3748669d
2018-06-08 17:01:43 -05:00

27 lines
1.0 KiB
Makefile

all: overlay_mount overlay_umount mock_cache_umount mock_cache_unlock mock_tmpfs_umount mock_tmpfs_mount
clean:
rm -rf overlay_mount overlay_umount mock_cache_umount mock_cache_unlock mock_tmpfs_umount mock_tmpfs_mount
mock_tmpfs_mount: mock_tmpfs_mount.c
gcc -o mock_tmpfs_mount mock_tmpfs_mount.c
mock_tmpfs_umount: mock_tmpfs_umount.c
gcc -o mock_tmpfs_umount mock_tmpfs_umount.c
overlay_mount: overlay_mount.c
gcc -o overlay_mount overlay_mount.c
overlay_umount: overlay_umount.c
gcc -o overlay_umount overlay_umount.c
mock_cache_umount: mock_cache_umount.c
gcc -o mock_cache_umount mock_cache_umount.c
mock_cache_unlock: mock_cache_unlock.c
gcc -o mock_cache_unlock mock_cache_unlock.c
install: all
install --owner=root --group=root --mode=6755 overlay_mount overlay_umount mock_cache_umount mock_cache_unlock mock_tmpfs_umount mock_tmpfs_mount /usr/bin
install --owner=root --group=root --mode=0744 overlay_mount.sh overlay_umount.sh mock_cache_umount.sh mock_cache_unlock.sh mock_tmpfs_umount.sh mock_tmpfs_mount.sh /usr/bin