annotate recpt1/Makefile.in @ 120:8e438d2a1529

add tiny lipsync code.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Sun, 25 Apr 2010 18:26:32 +0900
parents 3eccf1ef4853
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
1 DESTDIR =
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
2 prefix = @prefix@
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
3 exec_prefix = @exec_prefix@
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
4 bindir = @bindir@
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
5 CC = @CC@
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
6
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
7 TARGET = recpt1
78
5a0126d8af17 landed ipc control functionality branch
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 76
diff changeset
8 TARGET2 = recpt1ctl
113
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
9 TARGET3 = checksignal
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
10 TARGETS = $(TARGET) $(TARGET2) $(TARGET3)
92
1086bec1a684 should use double quotation
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 91
diff changeset
11 RELEASE_VERSION = "1.1.0"
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
12
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
13 CPPFLAGS = -I../driver -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
14 CFLAGS = -O2 -g -pthread
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
15
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
16 LIBS = @LIBS@
114
3eccf1ef4853 improve checksignal command:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 113
diff changeset
17 LIBS2 =
3eccf1ef4853 improve checksignal command:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 113
diff changeset
18 LIBS3 = -lpthread -lm
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
19 LDFLAGS =
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
20
113
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
21 OBJS = recpt1.o decoder.o mkpath.o tssplitter_lite.o
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
22 OBJS2 = recpt1ctl.o
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
23 OBJS3 = checksignal.o
114
3eccf1ef4853 improve checksignal command:
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 113
diff changeset
24 OBJALL = $(OBJS) $(OBJS2) $(OBJS3)
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
25 DEPEND = .deps
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
26
78
5a0126d8af17 landed ipc control functionality branch
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 76
diff changeset
27 all: $(TARGETS)
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
28
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
29 clean:
113
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
30 rm -f $(OBJALL) $(TARGETS) $(DEPEND) version.h
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
31
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
32 distclean: clean
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
33 rm -f Makefile config.h config.log config.status
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
34
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
35 maintainer-clean: distclean
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
36 rm -fr configure config.h.in aclocal.m4 autom4te.cache *~
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
37
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
38 $(TARGET): $(OBJS)
78
5a0126d8af17 landed ipc control functionality branch
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 76
diff changeset
39 $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
5a0126d8af17 landed ipc control functionality branch
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 76
diff changeset
40
5a0126d8af17 landed ipc control functionality branch
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 76
diff changeset
41 $(TARGET2): $(OBJS2)
5a0126d8af17 landed ipc control functionality branch
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 76
diff changeset
42 $(CC) $(LDFLAGS) -o $@ $(OBJS2) $(LIBS2)
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
43
113
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
44 $(TARGET3): $(OBJS3)
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
45 $(CC) $(LDFLAGS) -o $@ $(OBJS3) $(LIBS3)
e7b786c42ca0 add an utility to check signal strength.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 96
diff changeset
46
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
47 $(DEPEND): version.h
78
5a0126d8af17 landed ipc control functionality branch
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 76
diff changeset
48 $(CC) -MM $(OBJS:.o=.c) $(OBJS2:.o=.c) $(CPPFLAGS) > $@
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
49
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
50 version.h:
91
2b55985bbb4c - adapt date format to driver's one
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 78
diff changeset
51 revh=`hg parents --template 'const char *version = "r{rev}:{node|short} ({date|shortdate})";\n' 2>/dev/null`; \
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
52 if [ -n "$$revh" ] ; then \
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
53 echo "$$revh" > $@; \
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
54 else \
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
55 echo "const char *version = \"$(RELEASE_VERSION)\";" > $@; \
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
56 fi
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
57
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
58 install: $(TARGET)
78
5a0126d8af17 landed ipc control functionality branch
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents: 76
diff changeset
59 install -m 755 $(TARGETS) $(DESTDIR)$(bindir)
74
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
60
b6607f6e2851 good citizens never use gray code. wise people never watch TV.
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
diff changeset
61 -include .deps