{"action":"created","comment":{"url":"https://api.github.com/repos/virtium/vtStor/pulls/comments/51534049","id":51534049,"diff_hunk":"@@ -0,0 +1,98 @@\n+# Compiler and tool definitions shared by all build targets \n+CC       = gcc\n+CXX      = g++\n+CFLAGS   = -pipe -O2 -fPIC -Wall -W -D_REENTRANT \n+CXXFLAGS = -pipe -std=c++14 -O2 -fPIC -Wall -W -D_REENTRANT \n+INCPATH  = -I. -I../Extern -I../Common -I../Common/Platform/x86x64 -I../Common/Platform/x86x64/Linux -I../vtStor/Platform/Linux -I../StorageUtility/Linux -I.\n+CHK_DIR_EXISTS = test -d\n+MKDIR   = mkdir -p\n+\n+# Define the target directories.\n+OBJECTS_DIR         = ../Debug/StorageUtility\n+TARGETDIR           = ../Debug\n+COMMON_DIR          = ../Common\n+GENERATEFILES_DIR   = ../GenerateFiles\n+\t\n+# Target: libStorageUtility\n+SOURCES = Scsi.cpp \\\n+\tAta.cpp \\\n+\t-ILinux\\Device.cpp \\\n+\t-ILinux\\StorageUtility.cpp\n+\t\n+OBJECTS =  \\\n+\t$(OBJECTS_DIR)/Ata.o \\\n+\t$(OBJECTS_DIR)/Scsi.o \\\n+\t$(OBJECTS_DIR)/Device.o \\\n+\t$(OBJECTS_DIR)/StorageUtility.o\n+\t\n+OBJECT_NAMES =  Ata.o \\\n+\tScsi.o \\\n+\tDevice.o \\\n+\tStorageUtility.o\n+\n+TARGET  = libStorageUtility.a\n+\t\t\n+all: generateFiles directories compile Makefile $(TARGETDIR)/libStorageUtility\n+\t\n+generateFiles:\n+\t# output file                                                                           Templated file                                          xml file\n+\tpython $(GENERATEFILES_DIR)/GenerateFiles.py $(COMMON_DIR)/ErrorCodes.h                 $(GENERATEFILES_DIR)/ErrorCodesTemplate.h               $(GENERATEFILES_DIR)/ErrorCodes.xml\n+\tpython $(GENERATEFILES_DIR)/GenerateFiles.py $(COMMON_DIR)/ScanForHardwareChanges.h     $(GENERATEFILES_DIR)/ScanForHardwareChangesTemplate.h \t$(GENERATEFILES_DIR)/ScanForHardwareChanges.xml\n+\tpython $(GENERATEFILES_DIR)/GenerateFiles.py $(COMMON_DIR)/BusType.h                    $(GENERATEFILES_DIR)/BusTypeTemplate.h                  $(GENERATEFILES_DIR)/BusType.xml\n+\tpython $(GENERATEFILES_DIR)/GenerateFiles.py $(COMMON_DIR)/DeviceDataType.h             $(GENERATEFILES_DIR)/DeviceDataTypeTemplate.h           $(GENERATEFILES_DIR)/DeviceDataType.xml\n+\n+# Create the target directory (if needed)\t\n+directories:\n+\t@$(CHK_DIR_EXISTS) $(TARGETDIR) || $(MKDIR) $(TARGETDIR)\n+\t@$(CHK_DIR_EXISTS) $(OBJECTS_DIR) || $(MKDIR) $(OBJECTS_DIR)\n+\n+compile: Scsi.o Ata.o StorageUtility.o Device.o\n+\n+# Implicit rules\n+.SUFFIXES: .o .c .cpp .cc .cxx .C\n+\n+.cpp.o:\n+\t$(CXX) -c $(CXXFLAGS) $(INCPATH) -o \"$@\" \"$<\"\n+\n+.cc.o:\n+\t$(CXX) -c $(CXXFLAGS) $(INCPATH) -o \"$@\" \"$<\"\n+\n+.cxx.o:\n+\t$(CXX) -c $(CXXFLAGS) $(INCPATH) -o \"$@\" \"$<\"\n+\n+.C.o:\n+\t$(CXX) -c $(CXXFLAGS) $(INCPATH) -o \"$@\" \"$<\"\n+\n+.c.o:\n+\t$(CC) -c $(CFLAGS) $(INCPATH) -o \"$@\" \"$<\"\n+\t\n+\n+# Compile source files into .o files\n+Scsi.o: Scsi.cpp Scsi.h","path":"StorageUtility/Makefile","position":71,"original_position":71,"commit_id":"76f28edd3b10f361de22133c8fad2b560f05df77","original_commit_id":"76f28edd3b10f361de22133c8fad2b560f05df77","user":{"login":"MaiChiemMinh","id":15210308,"avatar_url":"https://avatars.githubusercontent.com/u/15210308?v=3","gravatar_id":"","url":"https://api.github.com/users/MaiChiemMinh","html_url":"https://github.com/MaiChiemMinh","followers_url":"https://api.github.com/users/MaiChiemMinh/followers","following_url":"https://api.github.com/users/MaiChiemMinh/following{/other_user}","gists_url":"https://api.github.com/users/MaiChiemMinh/gists{/gist_id}","starred_url":"https://api.github.com/users/MaiChiemMinh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaiChiemMinh/subscriptions","organizations_url":"https://api.github.com/users/MaiChiemMinh/orgs","repos_url":"https://api.github.com/users/MaiChiemMinh/repos","events_url":"https://api.github.com/users/MaiChiemMinh/events{/privacy}","received_events_url":"https://api.github.com/users/MaiChiemMinh/received_events","type":"User","site_admin":false},"body":"From makefile of VTStorAPI\r\n    BUFFER_OBJ = $(patsubst %.cpp, $(OBJ_DIR)/%.o, $(BUFFER_SRC)) \r\nyou can research patsubst\r\n ","created_at":"2016-02-02T07:39:20Z","updated_at":"2016-02-02T07:39:20Z","html_url":"https://github.com/virtium/vtStor/pull/63#discussion_r51534049","pull_request_url":"https://api.github.com/repos/virtium/vtStor/pulls/63","_links":{"self":{"href":"https://api.github.com/repos/virtium/vtStor/pulls/comments/51534049"},"html":{"href":"https://github.com/virtium/vtStor/pull/63#discussion_r51534049"},"pull_request":{"href":"https://api.github.com/repos/virtium/vtStor/pulls/63"}}},"pull_request":{"url":"https://api.github.com/repos/virtium/vtStor/pulls/63","id":57945464,"html_url":"https://github.com/virtium/vtStor/pull/63","diff_url":"https://github.com/virtium/vtStor/pull/63.diff","patch_url":"https://github.com/virtium/vtStor/pull/63.patch","issue_url":"https://api.github.com/repos/virtium/vtStor/issues/63","number":63,"state":"open","locked":false,"title":"Create makefile","user":{"login":"ttudoan","id":16774980,"avatar_url":"https://avatars.githubusercontent.com/u/16774980?v=3","gravatar_id":"","url":"https://api.github.com/users/ttudoan","html_url":"https://github.com/ttudoan","followers_url":"https://api.github.com/users/ttudoan/followers","following_url":"https://api.github.com/users/ttudoan/following{/other_user}","gists_url":"https://api.github.com/users/ttudoan/gists{/gist_id}","starred_url":"https://api.github.com/users/ttudoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttudoan/subscriptions","organizations_url":"https://api.github.com/users/ttudoan/orgs","repos_url":"https://api.github.com/users/ttudoan/repos","events_url":"https://api.github.com/users/ttudoan/events{/privacy}","received_events_url":"https://api.github.com/users/ttudoan/received_events","type":"User","site_admin":false},"body":"- Create makefile of projects: StorageUtility, vtStor, vtStorAta, vtStorAtaProtocol, vtStorScsi, vtStorScsiProtocol, vtStor.ATest to build vtStor library on linux.\r\n","created_at":"2016-02-02T06:22:15Z","updated_at":"2016-02-02T07:39:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"912eebfcea89adc7ff6aba0968ca498911498df4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/virtium/vtStor/pulls/63/commits","review_comments_url":"https://api.github.com/repos/virtium/vtStor/pulls/63/comments","review_comment_url":"https://api.github.com/repos/virtium/vtStor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/virtium/vtStor/issues/63/comments","statuses_url":"https://api.github.com/repos/virtium/vtStor/statuses/76f28edd3b10f361de22133c8fad2b560f05df77","head":{"label":"ttudoan:CreateMakefile","ref":"CreateMakefile","sha":"76f28edd3b10f361de22133c8fad2b560f05df77","user":{"login":"ttudoan","id":16774980,"avatar_url":"https://avatars.githubusercontent.com/u/16774980?v=3","gravatar_id":"","url":"https://api.github.com/users/ttudoan","html_url":"https://github.com/ttudoan","followers_url":"https://api.github.com/users/ttudoan/followers","following_url":"https://api.github.com/users/ttudoan/following{/other_user}","gists_url":"https://api.github.com/users/ttudoan/gists{/gist_id}","starred_url":"https://api.github.com/users/ttudoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttudoan/subscriptions","organizations_url":"https://api.github.com/users/ttudoan/orgs","repos_url":"https://api.github.com/users/ttudoan/repos","events_url":"https://api.github.com/users/ttudoan/events{/privacy}","received_events_url":"https://api.github.com/users/ttudoan/received_events","type":"User","site_admin":false},"repo":{"id":50885287,"name":"vtStor","full_name":"ttudoan/vtStor","owner":{"login":"ttudoan","id":16774980,"avatar_url":"https://avatars.githubusercontent.com/u/16774980?v=3","gravatar_id":"","url":"https://api.github.com/users/ttudoan","html_url":"https://github.com/ttudoan","followers_url":"https://api.github.com/users/ttudoan/followers","following_url":"https://api.github.com/users/ttudoan/following{/other_user}","gists_url":"https://api.github.com/users/ttudoan/gists{/gist_id}","starred_url":"https://api.github.com/users/ttudoan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttudoan/subscriptions","organizations_url":"https://api.github.com/users/ttudoan/orgs","repos_url":"https://api.github.com/users/ttudoan/repos","events_url":"https://api.github.com/users/ttudoan/events{/privacy}","received_events_url":"https://api.github.com/users/ttudoan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ttudoan/vtStor","description":"This is a library (or set of libraries) to allow easy access and communication to storage devices.","fork":true,"url":"https://api.github.com/repos/ttudoan/vtStor","forks_url":"https://api.github.com/repos/ttudoan/vtStor/forks","keys_url":"https://api.github.com/repos/ttudoan/vtStor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ttudoan/vtStor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ttudoan/vtStor/teams","hooks_url":"https://api.github.com/repos/ttudoan/vtStor/hooks","issue_events_url":"https://api.github.com/repos/ttudoan/vtStor/issues/events{/number}","events_url":"https://api.github.com/repos/ttudoan/vtStor/events","assignees_url":"https://api.github.com/repos/ttudoan/vtStor/assignees{/user}","branches_url":"https://api.github.com/repos/ttudoan/vtStor/branches{/branch}","tags_url":"https://api.github.com/repos/ttudoan/vtStor/tags","blobs_url":"https://api.github.com/repos/ttudoan/vtStor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ttudoan/vtStor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ttudoan/vtStor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ttudoan/vtStor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ttudoan/vtStor/statuses/{sha}","languages_url":"https://api.github.com/repos/ttudoan/vtStor/languages","stargazers_url":"https://api.github.com/repos/ttudoan/vtStor/stargazers","contributors_url":"https://api.github.com/repos/ttudoan/vtStor/contributors","subscribers_url":"https://api.github.com/repos/ttudoan/vtStor/subscribers","subscription_url":"https://api.github.com/repos/ttudoan/vtStor/subscription","commits_url":"https://api.github.com/repos/ttudoan/vtStor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ttudoan/vtStor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ttudoan/vtStor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ttudoan/vtStor/issues/comments{/number}","contents_url":"https://api.github.com/repos/ttudoan/vtStor/contents/{+path}","compare_url":"https://api.github.com/repos/ttudoan/vtStor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ttudoan/vtStor/merges","archive_url":"https://api.github.com/repos/ttudoan/vtStor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ttudoan/vtStor/downloads","issues_url":"https://api.github.com/repos/ttudoan/vtStor/issues{/number}","pulls_url":"https://api.github.com/repos/ttudoan/vtStor/pulls{/number}","milestones_url":"https://api.github.com/repos/ttudoan/vtStor/milestones{/number}","notifications_url":"https://api.github.com/repos/ttudoan/vtStor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ttudoan/vtStor/labels{/name}","releases_url":"https://api.github.com/repos/ttudoan/vtStor/releases{/id}","deployments_url":"https://api.github.com/repos/ttudoan/vtStor/deployments","created_at":"2016-02-02T01:36:09Z","updated_at":"2016-02-02T01:36:09Z","pushed_at":"2016-02-02T03:09:05Z","git_url":"git://github.com/ttudoan/vtStor.git","ssh_url":"git@github.com:ttudoan/vtStor.git","clone_url":"https://github.com/ttudoan/vtStor.git","svn_url":"https://github.com/ttudoan/vtStor","homepage":"","size":1197,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"virtium:master","ref":"master","sha":"09f95b89a184cc4d801b52d662dd0f8f434ffd7f","user":{"login":"virtium","id":11761410,"avatar_url":"https://avatars.githubusercontent.com/u/11761410?v=3","gravatar_id":"","url":"https://api.github.com/users/virtium","html_url":"https://github.com/virtium","followers_url":"https://api.github.com/users/virtium/followers","following_url":"https://api.github.com/users/virtium/following{/other_user}","gists_url":"https://api.github.com/users/virtium/gists{/gist_id}","starred_url":"https://api.github.com/users/virtium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtium/subscriptions","organizations_url":"https://api.github.com/users/virtium/orgs","repos_url":"https://api.github.com/users/virtium/repos","events_url":"https://api.github.com/users/virtium/events{/privacy}","received_events_url":"https://api.github.com/users/virtium/received_events","type":"Organization","site_admin":false},"repo":{"id":33378855,"name":"vtStor","full_name":"virtium/vtStor","owner":{"login":"virtium","id":11761410,"avatar_url":"https://avatars.githubusercontent.com/u/11761410?v=3","gravatar_id":"","url":"https://api.github.com/users/virtium","html_url":"https://github.com/virtium","followers_url":"https://api.github.com/users/virtium/followers","following_url":"https://api.github.com/users/virtium/following{/other_user}","gists_url":"https://api.github.com/users/virtium/gists{/gist_id}","starred_url":"https://api.github.com/users/virtium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/virtium/subscriptions","organizations_url":"https://api.github.com/users/virtium/orgs","repos_url":"https://api.github.com/users/virtium/repos","events_url":"https://api.github.com/users/virtium/events{/privacy}","received_events_url":"https://api.github.com/users/virtium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/virtium/vtStor","description":"This is a library (or set of libraries) to allow easy access and communication to storage devices.","fork":false,"url":"https://api.github.com/repos/virtium/vtStor","forks_url":"https://api.github.com/repos/virtium/vtStor/forks","keys_url":"https://api.github.com/repos/virtium/vtStor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/virtium/vtStor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/virtium/vtStor/teams","hooks_url":"https://api.github.com/repos/virtium/vtStor/hooks","issue_events_url":"https://api.github.com/repos/virtium/vtStor/issues/events{/number}","events_url":"https://api.github.com/repos/virtium/vtStor/events","assignees_url":"https://api.github.com/repos/virtium/vtStor/assignees{/user}","branches_url":"https://api.github.com/repos/virtium/vtStor/branches{/branch}","tags_url":"https://api.github.com/repos/virtium/vtStor/tags","blobs_url":"https://api.github.com/repos/virtium/vtStor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/virtium/vtStor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/virtium/vtStor/git/refs{/sha}","trees_url":"https://api.github.com/repos/virtium/vtStor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/virtium/vtStor/statuses/{sha}","languages_url":"https://api.github.com/repos/virtium/vtStor/languages","stargazers_url":"https://api.github.com/repos/virtium/vtStor/stargazers","contributors_url":"https://api.github.com/repos/virtium/vtStor/contributors","subscribers_url":"https://api.github.com/repos/virtium/vtStor/subscribers","subscription_url":"https://api.github.com/repos/virtium/vtStor/subscription","commits_url":"https://api.github.com/repos/virtium/vtStor/commits{/sha}","git_commits_url":"https://api.github.com/repos/virtium/vtStor/git/commits{/sha}","comments_url":"https://api.github.com/repos/virtium/vtStor/comments{/number}","issue_comment_url":"https://api.github.com/repos/virtium/vtStor/issues/comments{/number}","contents_url":"https://api.github.com/repos/virtium/vtStor/contents/{+path}","compare_url":"https://api.github.com/repos/virtium/vtStor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/virtium/vtStor/merges","archive_url":"https://api.github.com/repos/virtium/vtStor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/virtium/vtStor/downloads","issues_url":"https://api.github.com/repos/virtium/vtStor/issues{/number}","pulls_url":"https://api.github.com/repos/virtium/vtStor/pulls{/number}","milestones_url":"https://api.github.com/repos/virtium/vtStor/milestones{/number}","notifications_url":"https://api.github.com/repos/virtium/vtStor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/virtium/vtStor/labels{/name}","releases_url":"https://api.github.com/repos/virtium/vtStor/releases{/id}","deployments_url":"https://api.github.com/repos/virtium/vtStor/deployments","created_at":"2015-04-03T19:21:31Z","updated_at":"2016-01-12T01:48:35Z","pushed_at":"2016-02-02T06:22:16Z","git_url":"git://github.com/virtium/vtStor.git","ssh_url":"git@github.com:virtium/vtStor.git","clone_url":"https://github.com/virtium/vtStor.git","svn_url":"https://github.com/virtium/vtStor","homepage":"","size":1484,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/virtium/vtStor/pulls/63"},"html":{"href":"https://github.com/virtium/vtStor/pull/63"},"issue":{"href":"https://api.github.com/repos/virtium/vtStor/issues/63"},"comments":{"href":"https://api.github.com/repos/virtium/vtStor/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/virtium/vtStor/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/virtium/vtStor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/virtium/vtStor/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/virtium/vtStor/statuses/76f28edd3b10f361de22133c8fad2b560f05df77"}}}}