/usr/share/doc/libestraier-dev/examples/Makefile is in libestraier-dev 1.4.13-14ubuntu2.
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 | # Makefile for sample programs of Hyper Estraier
#================================================================
# Setting Variables
#================================================================
# Generic settings
SHELL = /bin/sh
# Targets
MYBINS = coreexample001 coreexample002 nodeexample001 nodeexample002
# Building binaries
CC = gcc
CFLAGS = -I. -I.. `../estconfig --cflags`
LDFLAGS = `../estconfig --ldflags`
LIBS = -L. -L.. `../estconfig --libs`
LDENV = LD_RUN_PATH=/lib:/usr/lib:$(HOME)/lib:/usr/local/lib:.:..
#================================================================
# Suffix rules
#================================================================
.SUFFIXES :
.SUFFIXES : .c .o
.c.o :
$(CC) -c $(CFLAGS) $<
#================================================================
# Actions
#================================================================
all : $(MYBINS)
clean :
rm -rf $(MYBINS) *.exe *.o a.out check.out gmon.out leak.log casket *~
.PHONY : all clean
#================================================================
# Building binaries
#================================================================
coreexample001 : coreexample001.o
$(LDENV) $(CC) $(CFLAGS) -o $@ coreexample001.o $(LDFLAGS) $(LIBS)
coreexample002 : coreexample002.o
$(LDENV) $(CC) $(CFLAGS) -o $@ coreexample002.o $(LDFLAGS) $(LIBS)
nodeexample001 : nodeexample001.o
$(LDENV) $(CC) $(CFLAGS) -o $@ nodeexample001.o $(LDFLAGS) $(LIBS)
nodeexample002 : nodeexample002.o
$(LDENV) $(CC) $(CFLAGS) -o $@ nodeexample002.o $(LDFLAGS) $(LIBS)
# END OF FILE
|