/usr/share/doc/enfuse/examples/Makefile.userweight is in enfuse 4.2-3.
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 | # -*- makefile -*-
CXX := g++
CXXFLAGS := -I/usr/include/OpenEXR -g -O2 -fdebug-prefix-map=/build/enblend-enfuse-KnFk1H/enblend-enfuse-4.2=. -fstack-protector-strong -Wformat -Werror=format-security -pipe -O2 -DNDEBUG -fopenmp -fpic
LD := $(CXX)
LDFLAGS := -Wl,--as-needed -Wl,--no-copy-dt-needed-entries -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -shared
SOURCES := linear.cc fixed_power.cc templated_power.cc variable_power.cc sinc.cc
OBJECTS := $(patsubst %.cc,%.o,$(SOURCES))
SHARED_OBJECTS := $(patsubst %.cc,%.so,$(SOURCES))
.PHONY: all
all: $(SHARED_OBJECTS)
.PHONY: clean
clean:
$(RM) *.so *.o
.PHONY: distclean
distclean: clean
$(RM) *~
%.so: %.o
$(LD) $(LDFLAGS) -Wl,-soname,$@ -o $@ $^
%.o: %.cc
$(CXX) $(CXXFLAGS) -c $<
# All-in-one library
userweights.so: $(OBJECTS)
sinc.o: sinc.cc root_finding.hh
# User-weight `tabular' is not part of SOURCES, because it relies on a
# GSL header, which may not available on every system.
tabular.so: tabular.o interpolator.o
tabular.o: tabular.cc interpolator.hh
interpolator.cc: interpolator.hh
|