File: Makefile.linux-x86-32

package info (click to toggle)
avbin 7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 452 kB
  • ctags: 198
  • sloc: ansic: 366; sh: 96; makefile: 41
file content (16 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SONAME=libavbin.so.$(AVBIN_VERSION)
LIBNAME=$(OUTDIR)/$(SONAME)

CFLAGS += -fPIC -fno-stack-protector -O3 -m32
LDFLAGS += -shared -soname $(SONAME) -melf_i386

STATIC_LIBS = -whole-archive \
              $(FFMPEG)/libavformat/libavformat.a \
              $(FFMPEG)/libavcodec/libavcodec.a \
              $(FFMPEG)/libavutil/libavutil.a \
              -no-whole-archive

LIBS = 

$(LIBNAME) : $(OBJNAME) $(OUTDIR)
	$(LD) $(LDFLAGS) -o $@ $< $(STATIC_LIBS) $(LIBS)