Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nocache
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Danil Mikhailov
nocache
Commits
7006ae20
Commit
7006ae20
authored
Feb 06, 2012
by
Julius Plenz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restructure Makefile
parent
bc787ab4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
Makefile
Makefile
+16
-2
nocache.global
nocache.global
+3
-0
No files found.
Makefile
View file @
7006ae20
default
:
default
:
all
all
:
cachestats cachedel nocache.so
cachestats
:
cachestats.c
gcc
-Wall
-o
cachestats cachestats.c
cachedel
:
cachedel.c
gcc
-Wall
-o
cachedel cachedel.c
nocache.o
:
nocache.c
gcc
-Wall
-fPIC
-c
-o
nocache.o nocache.c
fcntl_helpers.o
:
fcntl_helpers.c
gcc
-Wall
-fPIC
-c
-o
fcntl_helpers.o fcntl_helpers.c
gcc
-Wall
-shared
-Wl
,-soname,nocache.so.1
-ldl
-o
nocache.so nocache.o fcntl_helpers.o
nocache.so
:
nocache.o fcntl_helpers.o
gcc
-Wall
-shared
-Wl
,-soname,nocache.so
-ldl
-o
nocache.so nocache.o fcntl_helpers.o
install
:
all
install
-m
0644 nocache.so /usr/local/lib
install
-m
0755 nocache.global /usr/local/bin/nocache
clean
:
rm
-f
cachestats cachedel fcntl_helpers.o nocache.o nocache.so
nocache.global
0 → 100755
View file @
7006ae20
#!/bin/sh
export
LD_PRELOAD
=
"/usr/local/lib/nocache.so"
exec
"
$@
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment