CMake reorganization.
[bluesky.git] / nfs3 / Makefile
index 9905682..633793d 100644 (file)
-LIBS3_PATH=$(HOME)/scratch/libs3-1.4/build
-PACKAGES=glib-2.0 gthread-2.0
-DEBUG=-g
-CFLAGS=-Wall -D_FILE_OFFSET_BITS=64 $(DEBUG) -I.. \
-       $(shell pkg-config --cflags $(PACKAGES))
-LDFLAGS=$(DEBUG) $(shell pkg-config --libs $(PACKAGES))
+# CMAKE generated file: DO NOT EDIT!
+# Generated by "Unix Makefiles" Generator, CMake Version 2.6
 
-SRCS=nfsd.c rpc.c mount.c nfs3.c mount_prot_xdr.c nfs3_prot_xdr.c
-OBJS=$(SRCS:.c=.o)
+# Default target executed when no arguments are given to make.
+default_target: all
+.PHONY : default_target
 
-nfsproxy : $(OBJS)
-       $(CXX) $(LDFLAGS) -o $@ $^ ../bluesky.a -Wl,-rpath=$(LIBS3_PATH)/lib -L$(LIBS3_PATH)/lib -ls3
+#=============================================================================
+# Special targets provided by cmake.
 
-clean :
-       rm -f $(OBJS) nfsproxy
+# Disable implicit rules so canoncical targets will work.
+.SUFFIXES:
 
-dep :
-       touch Makefile.dep
-       makedepend -fMakefile.dep $(SRCS)
+# Remove some rules from gmake that .SUFFIXES does not remove.
+SUFFIXES =
 
-.PHONY : clean dep
+.SUFFIXES: .hpux_make_needs_suffix_list
+
+# Suppress display of executed commands.
+$(VERBOSE).SILENT:
+
+# A target that is always out of date.
+cmake_force:
+.PHONY : cmake_force
+
+#=============================================================================
+# Set environment variables for the build.
+
+# The shell in which to execute make rules.
+SHELL = /bin/sh
+
+# The CMake executable.
+CMAKE_COMMAND = /usr/bin/cmake
+
+# The command to remove a file.
+RM = /usr/bin/cmake -E remove -f
+
+# The top-level source directory on which CMake was run.
+CMAKE_SOURCE_DIR = /home/mvrable/local/bluesky.git
+
+# The top-level build directory on which CMake was run.
+CMAKE_BINARY_DIR = /home/mvrable/local/bluesky.git
+
+#=============================================================================
+# Targets provided globally by CMake.
+
+# Special rule for the target edit_cache
+edit_cache:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running interactive CMake command-line interface..."
+       /usr/bin/cmake -i .
+.PHONY : edit_cache
+
+# Special rule for the target edit_cache
+edit_cache/fast: edit_cache
+.PHONY : edit_cache/fast
+
+# Special rule for the target rebuild_cache
+rebuild_cache:
+       @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
+       /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
+.PHONY : rebuild_cache
+
+# Special rule for the target rebuild_cache
+rebuild_cache/fast: rebuild_cache
+.PHONY : rebuild_cache/fast
+
+# The main all target
+all: cmake_check_build_system
+       cd /home/mvrable/local/bluesky.git && $(CMAKE_COMMAND) -E cmake_progress_start /home/mvrable/local/bluesky.git/CMakeFiles /home/mvrable/local/bluesky.git/nfs3/CMakeFiles/progress.make
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f CMakeFiles/Makefile2 nfs3/all
+       $(CMAKE_COMMAND) -E cmake_progress_start /home/mvrable/local/bluesky.git/CMakeFiles 0
+.PHONY : all
+
+# The main clean target
+clean:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f CMakeFiles/Makefile2 nfs3/clean
+.PHONY : clean
+
+# The main clean target
+clean/fast: clean
+.PHONY : clean/fast
+
+# Prepare targets for installation.
+preinstall: all
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f CMakeFiles/Makefile2 nfs3/preinstall
+.PHONY : preinstall
+
+# Prepare targets for installation.
+preinstall/fast:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f CMakeFiles/Makefile2 nfs3/preinstall
+.PHONY : preinstall/fast
+
+# clear depends
+depend:
+       cd /home/mvrable/local/bluesky.git && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
+.PHONY : depend
+
+# Convenience name for target.
+nfs3/CMakeFiles/nfsproxy.dir/rule:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f CMakeFiles/Makefile2 nfs3/CMakeFiles/nfsproxy.dir/rule
+.PHONY : nfs3/CMakeFiles/nfsproxy.dir/rule
+
+# Convenience name for target.
+nfsproxy: nfs3/CMakeFiles/nfsproxy.dir/rule
+.PHONY : nfsproxy
+
+# fast build rule for target.
+nfsproxy/fast:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/build
+.PHONY : nfsproxy/fast
+
+mount.o: mount.c.o
+.PHONY : mount.o
+
+# target to build an object file
+mount.c.o:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/mount.c.o
+.PHONY : mount.c.o
+
+mount.i: mount.c.i
+.PHONY : mount.i
+
+# target to preprocess a source file
+mount.c.i:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/mount.c.i
+.PHONY : mount.c.i
+
+mount.s: mount.c.s
+.PHONY : mount.s
+
+# target to generate assembly for a file
+mount.c.s:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/mount.c.s
+.PHONY : mount.c.s
+
+mount_prot_xdr.o: mount_prot_xdr.c.o
+.PHONY : mount_prot_xdr.o
+
+# target to build an object file
+mount_prot_xdr.c.o:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/mount_prot_xdr.c.o
+.PHONY : mount_prot_xdr.c.o
+
+mount_prot_xdr.i: mount_prot_xdr.c.i
+.PHONY : mount_prot_xdr.i
+
+# target to preprocess a source file
+mount_prot_xdr.c.i:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/mount_prot_xdr.c.i
+.PHONY : mount_prot_xdr.c.i
+
+mount_prot_xdr.s: mount_prot_xdr.c.s
+.PHONY : mount_prot_xdr.s
+
+# target to generate assembly for a file
+mount_prot_xdr.c.s:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/mount_prot_xdr.c.s
+.PHONY : mount_prot_xdr.c.s
+
+nfs3.o: nfs3.c.o
+.PHONY : nfs3.o
+
+# target to build an object file
+nfs3.c.o:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfs3.c.o
+.PHONY : nfs3.c.o
+
+nfs3.i: nfs3.c.i
+.PHONY : nfs3.i
+
+# target to preprocess a source file
+nfs3.c.i:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfs3.c.i
+.PHONY : nfs3.c.i
+
+nfs3.s: nfs3.c.s
+.PHONY : nfs3.s
+
+# target to generate assembly for a file
+nfs3.c.s:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfs3.c.s
+.PHONY : nfs3.c.s
+
+nfs3_prot_xdr.o: nfs3_prot_xdr.c.o
+.PHONY : nfs3_prot_xdr.o
+
+# target to build an object file
+nfs3_prot_xdr.c.o:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfs3_prot_xdr.c.o
+.PHONY : nfs3_prot_xdr.c.o
+
+nfs3_prot_xdr.i: nfs3_prot_xdr.c.i
+.PHONY : nfs3_prot_xdr.i
+
+# target to preprocess a source file
+nfs3_prot_xdr.c.i:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfs3_prot_xdr.c.i
+.PHONY : nfs3_prot_xdr.c.i
+
+nfs3_prot_xdr.s: nfs3_prot_xdr.c.s
+.PHONY : nfs3_prot_xdr.s
+
+# target to generate assembly for a file
+nfs3_prot_xdr.c.s:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfs3_prot_xdr.c.s
+.PHONY : nfs3_prot_xdr.c.s
+
+nfsd.o: nfsd.c.o
+.PHONY : nfsd.o
+
+# target to build an object file
+nfsd.c.o:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfsd.c.o
+.PHONY : nfsd.c.o
+
+nfsd.i: nfsd.c.i
+.PHONY : nfsd.i
+
+# target to preprocess a source file
+nfsd.c.i:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfsd.c.i
+.PHONY : nfsd.c.i
+
+nfsd.s: nfsd.c.s
+.PHONY : nfsd.s
+
+# target to generate assembly for a file
+nfsd.c.s:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/nfsd.c.s
+.PHONY : nfsd.c.s
+
+rpc.o: rpc.c.o
+.PHONY : rpc.o
+
+# target to build an object file
+rpc.c.o:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/rpc.c.o
+.PHONY : rpc.c.o
+
+rpc.i: rpc.c.i
+.PHONY : rpc.i
+
+# target to preprocess a source file
+rpc.c.i:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/rpc.c.i
+.PHONY : rpc.c.i
+
+rpc.s: rpc.c.s
+.PHONY : rpc.s
+
+# target to generate assembly for a file
+rpc.c.s:
+       cd /home/mvrable/local/bluesky.git && $(MAKE) -f nfs3/CMakeFiles/nfsproxy.dir/build.make nfs3/CMakeFiles/nfsproxy.dir/rpc.c.s
+.PHONY : rpc.c.s
+
+# Help Target
+help:
+       @echo "The following are some of the valid targets for this Makefile:"
+       @echo "... all (the default if no target is provided)"
+       @echo "... clean"
+       @echo "... depend"
+       @echo "... edit_cache"
+       @echo "... nfsproxy"
+       @echo "... rebuild_cache"
+       @echo "... mount.o"
+       @echo "... mount.i"
+       @echo "... mount.s"
+       @echo "... mount_prot_xdr.o"
+       @echo "... mount_prot_xdr.i"
+       @echo "... mount_prot_xdr.s"
+       @echo "... nfs3.o"
+       @echo "... nfs3.i"
+       @echo "... nfs3.s"
+       @echo "... nfs3_prot_xdr.o"
+       @echo "... nfs3_prot_xdr.i"
+       @echo "... nfs3_prot_xdr.s"
+       @echo "... nfsd.o"
+       @echo "... nfsd.i"
+       @echo "... nfsd.s"
+       @echo "... rpc.o"
+       @echo "... rpc.i"
+       @echo "... rpc.s"
+.PHONY : help
+
+
+
+#=============================================================================
+# Special targets to cleanup operation of make.
+
+# Special rule to run CMake to check the build system integrity.
+# No rule that depends on this can have commands that come from listfiles
+# because they might be regenerated.
+cmake_check_build_system:
+       cd /home/mvrable/local/bluesky.git && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
+.PHONY : cmake_check_build_system
 
--include *.dep