comparison vamp-client/Makefile @ 84:db9a6ab618bc

Client builds; does not run
author Chris Cannam <c.cannam@qmul.ac.uk>
date Wed, 12 Oct 2016 11:59:57 +0100
parents 154e94ea84d4
children 7a77a374b6b2
comparison
equal deleted inserted replaced
83:154e94ea84d4 84:db9a6ab618bc
34 COMPRESS = gzip -9f 34 COMPRESS = gzip -9f
35 DISTNAME = client1.0.0 35 DISTNAME = client1.0.0
36 DISTDIR = /home/cannam/code/piper-cpp/o/client1.0.0 36 DISTDIR = /home/cannam/code/piper-cpp/o/client1.0.0
37 LINK = g++ 37 LINK = g++
38 LFLAGS = -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro 38 LFLAGS = -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro
39 LIBS = $(SUBLIBS) -lQt5Core -lpthread 39 LIBS = $(SUBLIBS) -lcapnp -lkj -lvamp-hostsdk -lQt5Core -lpthread
40 AR = ar cqs 40 AR = ar cqs
41 RANLIB = 41 RANLIB =
42 SED = sed 42 SED = sed
43 STRIP = strip 43 STRIP = strip
44 44
46 46
47 OBJECTS_DIR = ../o/ 47 OBJECTS_DIR = ../o/
48 48
49 ####### Files 49 ####### Files
50 50
51 SOURCES = client.cpp 51 SOURCES = client.cpp \
52 OBJECTS = ../o/client.o 52 ../vamp-capnp/piper.capnp.c++
53 OBJECTS = ../o/client.o \
54 ../o/piper.capnp.o
53 DIST = /usr/lib/qt/mkspecs/features/spec_pre.prf \ 55 DIST = /usr/lib/qt/mkspecs/features/spec_pre.prf \
54 /usr/lib/qt/mkspecs/common/unix.conf \ 56 /usr/lib/qt/mkspecs/common/unix.conf \
55 /usr/lib/qt/mkspecs/common/linux.conf \ 57 /usr/lib/qt/mkspecs/common/linux.conf \
56 /usr/lib/qt/mkspecs/common/sanitize.conf \ 58 /usr/lib/qt/mkspecs/common/sanitize.conf \
57 /usr/lib/qt/mkspecs/common/gcc-base.conf \ 59 /usr/lib/qt/mkspecs/common/gcc-base.conf \
201 /usr/lib/qt/mkspecs/features/unix/thread.prf \ 203 /usr/lib/qt/mkspecs/features/unix/thread.prf \
202 /usr/lib/qt/mkspecs/features/file_copies.prf \ 204 /usr/lib/qt/mkspecs/features/file_copies.prf \
203 /usr/lib/qt/mkspecs/features/testcase_targets.prf \ 205 /usr/lib/qt/mkspecs/features/testcase_targets.prf \
204 /usr/lib/qt/mkspecs/features/yacc.prf \ 206 /usr/lib/qt/mkspecs/features/yacc.prf \
205 /usr/lib/qt/mkspecs/features/lex.prf \ 207 /usr/lib/qt/mkspecs/features/lex.prf \
206 client.pro client.cpp 208 client.pro client.cpp \
209 ../vamp-capnp/piper.capnp.c++
207 QMAKE_TARGET = client 210 QMAKE_TARGET = client
208 DESTDIR = 211 DESTDIR =
209 TARGET = client 212 TARGET = client
210 213
211 214
538 (cd `dirname $(DISTDIR)` && $(TAR) $(DISTNAME).tar $(DISTNAME) && $(COMPRESS) $(DISTNAME).tar) && $(MOVE) `dirname $(DISTDIR)`/$(DISTNAME).tar.gz . && $(DEL_FILE) -r $(DISTDIR) 541 (cd `dirname $(DISTDIR)` && $(TAR) $(DISTNAME).tar $(DISTNAME) && $(COMPRESS) $(DISTNAME).tar) && $(MOVE) `dirname $(DISTDIR)`/$(DISTNAME).tar.gz . && $(DEL_FILE) -r $(DISTDIR)
539 542
540 distdir: FORCE 543 distdir: FORCE
541 @test -d $(DISTDIR) || mkdir -p $(DISTDIR) 544 @test -d $(DISTDIR) || mkdir -p $(DISTDIR)
542 $(COPY_FILE) --parents $(DIST) $(DISTDIR)/ 545 $(COPY_FILE) --parents $(DIST) $(DISTDIR)/
543 $(COPY_FILE) --parents client.cpp $(DISTDIR)/ 546 $(COPY_FILE) --parents client.cpp ../vamp-capnp/piper.capnp.c++ $(DISTDIR)/
544 547
545 548
546 clean: compiler_clean 549 clean: compiler_clean
547 -$(DEL_FILE) $(OBJECTS) 550 -$(DEL_FILE) $(OBJECTS)
548 -$(DEL_FILE) *~ core *.core 551 -$(DEL_FILE) *~ core *.core
581 ####### Compile 584 ####### Compile
582 585
583 ../o/client.o: client.cpp stub.h 586 ../o/client.o: client.cpp stub.h
584 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../o/client.o client.cpp 587 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o ../o/client.o client.cpp
585 588
589 ../o/piper.capnp.o: ../vamp-capnp/piper.capnp.c++ ../vamp-capnp/piper.capnp.h
590 $(CC) -c $(CFLAGS) $(INCPATH) -o ../o/piper.capnp.o ../vamp-capnp/piper.capnp.c++
591
586 ####### Install 592 ####### Install
587 593
588 install: FORCE 594 install: FORCE
589 595
590 uninstall: FORCE 596 uninstall: FORCE