diff src/Makefile @ 164:7d8a5bb874ad

EXPERIMENTAL: Change phisical channel by mq_recv(). KNOWN ISSUE: Cannnot split BS-TBS(BS1_1). enable compile recpt1ctl. SID can specified by recpt1ctl.
author Naoya OYAMA <naoya.oyama@gmail.com>
date Mon, 01 Oct 2012 21:52:05 +0900
parents 036ae90f1b01
children 061ef2cd98f0
line wrap: on
line diff
--- a/src/Makefile	Mon Sep 24 20:49:17 2012 +0900
+++ b/src/Makefile	Mon Oct 01 21:52:05 2012 +0900
@@ -6,6 +6,7 @@
 PROG = recpt1
 PROG2 = checksignal
 PROG3 = pt1_lnbd
+PROG4 = recpt1ctl
 
 EXTRADIST = ushare.1 \
 	cds.h \
@@ -35,6 +36,7 @@
 	upnp_device.h \
 	upnp_main.h \
 	version.h \
+        pt1_common.h \
 
 SRCS = \
         cds.c \
@@ -65,15 +67,19 @@
 SRCS3 = \
         pt1_lnbd.c
 
+SRCS4 = \
+        recpt1ctl.c
+
 LIBS2 = -lpthread -lm
 
 OBJS = $(SRCS:.c=.o)
 OBJS2 = $(SRCS2:.c=.o)
 OBJS3 = $(SRCS3:.c=.o)
+OBJS4 = $(SRCS4:.c=.o)
 
 .SUFFIXES: .c .o
 
-all: depend $(PROG) $(PROG2) $(PROG3)
+all: depend $(PROG) $(PROG2) $(PROG3) $(PROG4)
 
 .c.o:
 	$(CC) -c $(CFLAGS) -g $(OPTFLAGS) -o $@ $<
@@ -87,22 +93,27 @@
 $(PROG3): $(OBJS3)
 	$(CC) $(OBJS3) $(LDFLAGS) $(EXTRALIBS) -o $@
 
+$(PROG4): $(OBJS4)
+	$(CC) $(OBJS3) $(LDFLAGS) $(EXTRALIBS) -o $@
+
 clean:
-	-$(RM) -f *.o $(PROG) $(PROG2) $(PROG3)
+	-$(RM) -f *.o $(PROG) $(PROG2) $(PROG3) $(PROG4)
 	-$(RM) -f .depend
 
 distclean:
 
-install: $(PROG) $(PROG2) $(PROG3)
+install: $(PROG) $(PROG2) $(PROG3) $(PROG4)
 	$(INSTALL) -d $(bindir)
 	$(INSTALL) $(PROG) $(bindir)
 	$(INSTALL) $(PROG2) $(bindir)
 	$(INSTALL) $(PROG3) $(bindir)
+	$(INSTALL) $(PROG4) $(bindir)
 	$(INSTALL) channelscan_pt1.sh $(bindir)
 	$(INSTALL) epgdump_xml_parse.pl $(bindir)
 	$(STRIP) $(INSTALLSTRIP) $(bindir)/$(PROG)
 	$(STRIP) $(INSTALLSTRIP) $(bindir)/$(PROG2)
 	$(STRIP) $(INSTALLSTRIP) $(bindir)/$(PROG3)
+	$(STRIP) $(INSTALLSTRIP) $(bindir)/$(PROG4)
 
 depend:
 	$(CC) -I.. -MM $(CFLAGS) $(SRCS) 1>.depend