File: Makefile.darwin-ppc-32

package info (click to toggle)
avbin 7-1.3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 448 kB
  • sloc: ansic: 396; sh: 96; makefile: 39
file content (22 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LIBNAME=$(OUTDIR)/libavbin.$(AVBIN_VERSION).dylib

CFLAGS += -O3 -arch ppc -force_cpusubtype_ALL -mmacosx-version-min=10.3.9
LDFLAGS += -dylib \
           -read_only_relocs suppress \
           -single_module \
           -arch ppc \
           -install_name /usr/local/lib/libavbin.dylib

STATIC_LIBS = \
              $(FFMPEG)/libavformat/libavformat.a \
              $(FFMPEG)/libavcodec/libavcodec.a \
              $(FFMPEG)/libavutil/libavutil.a \

LIBS = -lSystem \
       -lz \
       -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 -lgcc \
       -lSystemStubs \
       /usr/lib/dylib1.o

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