-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.in
140 lines (123 loc) · 3.39 KB
/
Makefile.in
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# Makefile source for abcm2ps
VERSION = @VERSION@
CC = @CC@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
CPPFLAGS = @CPPFLAGS@ -I.
CPPPANGO = @CPPPANGO@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@ -lm
prefix = @prefix@
exec_prefix = @exec_prefix@
srcdir = @srcdir@
VPATH = @srcdir@
bindir = @bindir@
libdir = @libdir@
datadir = @datarootdir@
docdir = @docdir@
# unix
OBJECTS=abcm2ps.o \
abcparse.o buffer.o deco.o draw.o format.o front.o glyph.o music.o parse.o \
subs.o svg.o syms.o
abcm2ps: $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $(OBJECTS) $(LDFLAGS)
$(OBJECTS): config.h Makefile
abcparse.o abcm2ps.o buffer.o deco.o draw.o format.o front.o glyph.o \
music.o parse.o subs.o svg.o syms.o: abcm2ps.h
subs.o: subs.c
$(CC) $(CFLAGS) $(CPPFLAGS) $(CPPPANGO) -c -o $@ $<
DOCFILES=$(addprefix $(srcdir)/,Changes README *.abc *.eps *.txt)
install: abcm2ps
mkdir -p $(bindir); \
mkdir -p $(datadir)/abcm2ps; \
mkdir -p $(docdir)/abcm2ps; \
$(INSTALL_PROGRAM) abcm2ps $(bindir)
for f in $(srcdir)/*.fmt; do \
$(INSTALL_DATA) $$f $(datadir)/abcm2ps; \
done
for f in $(DOCFILES); do \
$(INSTALL_DATA) $$f $(docdir)/abcm2ps; \
done
uninstall:
echo "uninstalling..."; \
rm -f $(bindir)/abcm2ps; \
rm -rf $(datadir)/abcm2ps; \
rm -rf $(docdir)/abcm2ps
DIST_FILES = \
abcm2ps-$(VERSION)/Changes \
abcm2ps-$(VERSION)/INSTALL \
abcm2ps-$(VERSION)/Makefile \
abcm2ps-$(VERSION)/Makefile.in \
abcm2ps-$(VERSION)/README \
abcm2ps-$(VERSION)/abcm2ps.c \
abcm2ps-$(VERSION)/abcm2ps.h \
abcm2ps-$(VERSION)/abcparse.c \
abcm2ps-$(VERSION)/accordion.abc \
abcm2ps-$(VERSION)/bravura.abc \
abcm2ps-$(VERSION)/build.ninja \
abcm2ps-$(VERSION)/buffer.c \
abcm2ps-$(VERSION)/chinese.abc \
abcm2ps-$(VERSION)/configure \
abcm2ps-$(VERSION)/config.h \
abcm2ps-$(VERSION)/config.h.in \
abcm2ps-$(VERSION)/deco.c \
abcm2ps-$(VERSION)/deco.abc \
abcm2ps-$(VERSION)/draw.c \
abcm2ps-$(VERSION)/flute.fmt \
abcm2ps-$(VERSION)/format.c \
abcm2ps-$(VERSION)/free.abc \
abcm2ps-$(VERSION)/front.c \
abcm2ps-$(VERSION)/glyph.c \
abcm2ps-$(VERSION)/glyphs.abc \
abcm2ps-$(VERSION)/landscape.fmt \
abcm2ps-$(VERSION)/music.c \
abcm2ps-$(VERSION)/musicfont.fmt \
abcm2ps-$(VERSION)/newfeatures.abc \
abcm2ps-$(VERSION)/options.txt \
abcm2ps-$(VERSION)/parse.c \
abcm2ps-$(VERSION)/sample.abc \
abcm2ps-$(VERSION)/sample2.abc \
abcm2ps-$(VERSION)/sample3.abc \
abcm2ps-$(VERSION)/sample3.eps \
abcm2ps-$(VERSION)/sample4.abc \
abcm2ps-$(VERSION)/sample5.abc \
abcm2ps-$(VERSION)/sample8.html \
abcm2ps-$(VERSION)/subs.c \
abcm2ps-$(VERSION)/svg.c \
abcm2ps-$(VERSION)/syms.c \
abcm2ps-$(VERSION)/voices.abc
dist: Changes
ln -s . abcm2ps-$(VERSION); \
tar -zcvf abcm2ps-$(VERSION).tar.gz $(DIST_FILES); \
rm abcm2ps-$(VERSION)
zip-dist:
ln -s . abcm2ps-$(VERSION); \
zip -r abcm2ps-$(VERSION).zip $(DIST_FILES); \
rm abcm2ps-$(VERSION)
zip: abcm2ps.exe
strip abcm2ps.exe; \
cd ..; zip -r abcm2ps-$(VERSION).zip \
abcm2ps-$(VERSION)/abcm2ps.exe \
abcm2ps-$(VERSION)/License \
abcm2ps-$(VERSION)/Changes \
abcm2ps-$(VERSION)/INSTALL \
abcm2ps-$(VERSION)/sample3.eps \
abcm2ps-$(VERSION)/*.abc \
abcm2ps-$(VERSION)/*.fmt \
abcm2ps-$(VERSION)/*.txt ; cd -
EXAMPLES = accordion.ps \
chinese.ps \
deco.ps \
newfeatures.ps \
sample.ps \
sample2.ps \
sample3.ps \
sample4.ps \
sample5.ps \
voices.ps
test: $(EXAMPLES)
%.ps: %.abc
./abcm2ps -O $@ $<
clean:
rm -f *.o $(EXAMPLES) # *.obj