This file is indexed.

/usr/share/doc/liblqr-1-0-dev/examples/Makefile is in liblqr-1-0-dev 0.4.1-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#
# Makefile example for liquidrescale (lqr) library
# 
# This is thought for exemplification purposes.
# It will only work if you have already installed
# the lqr library, the pngwriter and all their 
# required dependencies (glib, z, png, freetype).
#
# It does not perform any kind of check on the system,
# and won't report any sensible error message.
#


# set the sources file name
tt1 = liquidrescale
tt2 = liquidrescale-basic
# objects to build
tt1obj = $(tt1).o
tt2obj = $(tt2).o
# executable names
tt1out = liquidrescale
tt2out = liquidrescale-basic


# collect flags for the compiler for lqr library
LQR_CFLAGS = `pkg-config --cflags lqr-1`

LQR_LIBS = `pkg-config --libs lqr-1`

LQR_LIBDIR = `pkg-config --variable=libdir lqr-1`

# collect flags for pngwriter library
PNGWRITER_CFLAGS = `freetype-config --cflags` 

PNGWRITER_LIBS = -lpng -lpngwriter -lz -lfreetype 

# collect flags for the compiler for glib thread support
GTHREAD_LIBS = `pkg-config --libs gthread-2.0`

# join the flags collected above
INCLUDES = \
	$(LQR_CFLAGS) \
	$(PNGWRITER_CFLAGS)

LIBDIRS = \
	  -L$(LQR_LIBDIR)

LIBS = \
       $(LQR_LIBS) \
       $(PNGWRITER_LIBS) \
       $(GTHREAD_LIBS)

# define the flags to use in the various compilation steps
BASE_FLAGS = -Winline -O2 -Wall
OBJ_BUILD_FLAGS = $(BASE_FLAGS) $(INCLUDES) $(LIBDIRS) 
LINKING_FLAGS = $(OBJ_BUILD_FLAGS) $(LIBS) 

# compilation rules

.PHONY : all clean

all: $(tt1out) $(tt2out)

# linking
$(tt1out) : $(tt1obj)
	g++ $(LINKING_FLAGS) -o $(tt1out) $(tt1obj)

$(tt2out) : $(tt2obj)
	g++ $(LINKING_FLAGS) -o $(tt2out) $(tt2obj)

# object building
$(tt1).o : $(tt1).cpp $(tt1).h
	g++ -c $(OBJ_BUILD_FLAGS) $(tt1).cpp

$(tt2).o : $(tt2).cpp
	g++ -c $(OBJ_BUILD_FLAGS) $(tt2).cpp

#cleanup
clean:
	rm -f *~ ctags $(tt1obj) $(tt2obj) $(tt1out) $(tt2out)