git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.8.0_beta2_5.1@401
b64f7644-9d1e-0410-96f1-
a4d463321fa5
HB_BUILD = $(shell date "+%Y%m%d")00
HB_VERSION = "0.8.0b2"
+HB_DEFPPC = $(shell uname -a | grep ppc > /dev/null ; echo RES$$?)
+ifeq ($(HB_DEFPPC), RES0)
+HB_DEFPPC = "-DWORDS_BIGENDIAN"
+else
+HB_DEFPPC = " "
+endif
+
endif
ifeq ($(SYSTEM),Linux)
- SYSDEF = -DSYS_LINUX
+ SYSDEF = -DSYS_LINUX $(HB_DEFPPC)
LDFLAGS += -lpthread -lm -ldl
endif
all: libhb.a libhb.dll
else
all: libhb.a libhb.so
+
endif
libhb.a: $(OBJS)