streamlet-examples/Makefile
branchv_0
changeset 92 cf4971342380
parent 89 25a11859975b
equal deleted inserted replaced
91:cb1adcd17d0c 92:cf4971342380
    13 # GNU General Public License for more details.
    13 # GNU General Public License for more details.
    14 #
    14 #
    15 # You should have received a copy of the GNU General Public License
    15 # You should have received a copy of the GNU General Public License
    16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
    16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
    17 
    17 
    18 all: xpath pid qr-decode jar_info zip_info
    18 all: xpath pid barcode-reader jar_info zip_info
    19 	
    19 	
    20 .PHONY: all clean
    20 .PHONY: all clean
    21 
    21 
    22 xpath: xpath.cpp streamlet-common.h
    22 xpath: xpath.cpp streamlet-common.h
    23 	g++ -g -fno-omit-frame-pointer -fsanitize=address $(<) -o $(@) $(shell pkg-config --libs --cflags libxml++-2.6)
    23 	g++ -g -fno-omit-frame-pointer -fsanitize=address $(<) -o $(@) $(shell pkg-config --libs --cflags libxml++-2.6)
    24 
    24 
    25 pid: pid.cpp streamlet-common.h
    25 pid: pid.cpp streamlet-common.h
    26 	g++ -g -fno-omit-frame-pointer -fsanitize=address $(<) -o $(@)
    26 	g++ -g -fno-omit-frame-pointer -fsanitize=address $(<) -o $(@)
    27 
    27 
    28 qr-decode: qr-decode.cpp streamlet-common.h
    28 barcode-reader: barcode-reader.cpp streamlet-common.h
    29 	g++ -g -fno-omit-frame-pointer -fsanitize=address $(<) -o $(@) $(shell pkg-config --libs --cflags relpipe-lib-xmlwriter.cpp zbar Magick++)
    29 	g++ -g -fno-omit-frame-pointer -fsanitize=address $(<) -o $(@) $(shell pkg-config --libs --cflags relpipe-lib-xmlwriter.cpp zbar Magick++)
    30 
    30 
    31 jar_info: JarInfo.java Streamlet.java
    31 jar_info: JarInfo.java Streamlet.java
    32 	javac $(<)
    32 	javac $(<)
    33 	jar cfe jar_info JarInfo Streamlet*.class JarInfo.class
    33 	jar cfe jar_info JarInfo Streamlet*.class JarInfo.class
    37 	ln -s jar_info $(@)
    37 	ln -s jar_info $(@)
    38 
    38 
    39 clean:
    39 clean:
    40 	rm -f xpath
    40 	rm -f xpath
    41 	rm -f pid
    41 	rm -f pid
       
    42 	rm -f barcode-reader
    42 	rm -f jar_info
    43 	rm -f jar_info
    43 	rm -f zip_info
    44 	rm -f zip_info
    44 	rm -f *.class
    45 	rm -f *.class