summaryrefslogtreecommitdiff
blob: 96b94095e3492f0e5c2d96513cac72dab29b932d (plain)
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
Index: mimd-0.30.1/Makefile.in
===================================================================
--- mimd-0.30.1.orig/Makefile.in
+++ mimd-0.30.1/Makefile.in
@@ -1,10 +1,12 @@
 LIVEDIR=@LIVEDIR@
-XERCESDIR=@XERCESDIR@
+#XERCESDIR=@XERCESDIR@
+XERCESDIR=/usr
 PREFIX=@PREFIX@
 
-CXXFLAGS += -I$(LIVEDIR)/BasicUsageEnvironment/include -I$(LIVEDIR)/groupsock/include -I$(LIVEDIR)/liveMedia/include -I$(LIVEDIR)/UsageEnvironment/include -I$(XERCESDIR)/include -Isrc/include -DVERSION="0301"
+#CXXFLAGS += -I$(LIVEDIR)/BasicUsageEnvironment/include -I$(LIVEDIR)/groupsock/include -I$(LIVEDIR)/liveMedia/include -I$(LIVEDIR)/UsageEnvironment/include -I$(XERCESDIR)/include -Isrc/include -DVERSION="0301"
+CPPFLAGS += -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -Isrc/include -DVERSION="0301"
 
-LDFLAGS=-L$(LIVEDIR)/BasicUsageEnvironment -L$(LIVEDIR)/groupsock -L$(LIVEDIR)/liveMedia -L$(LIVEDIR)/UsageEnvironment -L$(XERCESDIR)/lib
+#LDFLAGS=-L$(LIVEDIR)/BasicUsageEnvironment -L$(LIVEDIR)/groupsock -L$(LIVEDIR)/liveMedia -L$(LIVEDIR)/UsageEnvironment -L$(XERCESDIR)/lib
 
 LDLIBS=-lxerces-c -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock -lliveMedia -lpthread
 
@@ -32,7 +34,7 @@ OBJS= src/MediaStreamer.o\
       src/parser.o
 
 mimd: $(OBJS)
-	g++ -o mimd $(LDFLAGS) $(OBJS) $(LDLIBS)
+	$(CXX) -o mimd $(LDFLAGS) $(OBJS) $(LDLIBS)
 
 install: mimd
 	mkdir -p $(PREFIX)/doc $(PREFIX)/etc $(PREFIX)/bin $(PREFIX)/man/man1 > /dev/null