Skip to content

Commit

Permalink
dump from agiladi
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.code.sf.net/p/h264bitstream/code/trunk@26 bc2f0a9b-661e-0410-ac89-ff65b7b8b7c4
  • Loading branch information
aizvorski committed Feb 11, 2012
1 parent 91691c0 commit ebf37e8
Show file tree
Hide file tree
Showing 7 changed files with 1,292 additions and 856 deletions.
27 changes: 12 additions & 15 deletions h264bitstream/Makefile
Original file line number Diff line number Diff line change
@@ -1,43 +1,40 @@
VERSION = 0.1.7
VERSION = 0.1.8

INCLUDES =
INCLUDES = -I../common
LIBS =

CC = gcc
CFLAGS += -std=c99 -pedantic -Wall -W -Wshadow -Wwrite-strings -Wno-unused -g $(INCLUDES)
CFLAGS += -std=c99 -Wall -W -Wshadow -Wwrite-strings -Wno-unused -g -O3 $(INCLUDES)

LD = gcc
LDFLAGS += $(LIBS)

AR = ar
ARFLAGS = rsc

BINARIES = h264_analyze

all: libh264bitstream.a h264_analyze
all: libh264bitstream.a $(BINARIES)


h264_analyze: h264_analyze.c libh264bitstream.a
$(CC) $(CFLAGS) -c -o h264_analyze.o h264_analyze.c
$(LD) $(LDFLAGS) -o h264_analyze h264_analyze.o -L. -lm -lh264bitstream
h264_analyze: h264_analyze.o libh264bitstream.a
$(LD) $(LDFLAGS) -o h264_analyze h264_analyze.o -L. -lh264bitstream -lm


libh264bitstream.a: h264_stream.c h264_stream.h h264_sei.c h264_sei.h bs.c bs.h
$(CC) $(CFLAGS) -c -o bs.o bs.c
libh264bitstream.a: h264_stream.c h264_stream.h h264_sei.c h264_sei.h
$(CC) $(CFLAGS) -c -o h264_stream.o h264_stream.c
$(CC) $(CFLAGS) -c -o h264_sei.o h264_sei.c
$(AR) $(ARFLAGS) libh264bitstream.a h264_stream.o h264_sei.o bs.o
$(AR) $(ARFLAGS) libh264bitstream.a h264_stream.o h264_sei.o


clean:
rm -f *.o libh264bitstream.a h264_analyze
rm -f *.o libh264bitstream.a $(BINARIES)

dox: h264_stream.c h264_stream.h bs.c bs.h Doxyfile
doxygen Doxyfile

dist: clean
mkdir h264bitstream-$(VERSION)
tar c --files-from=MANIFEST -f tmp.tar ; cd h264bitstream-$(VERSION) ; tar xf ../tmp.tar ; rm -f ../tmp.tar
tar czf ../h264bitstream-$(VERSION).tar.gz h264bitstream-$(VERSION)
rm -rf h264bitstream-$(VERSION)


dox: h264_stream.c h264_stream.h bs.c bs.h Doxyfile
doxygen Doxyfile
Loading

0 comments on commit ebf37e8

Please sign in to comment.