aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile67
1 files changed, 0 insertions, 67 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 6313943..0000000
--- a/Makefile
+++ /dev/null
@@ -1,67 +0,0 @@
-PD_DIR = /usr/local/pd
-PDP_DIR = /usr/local/pd/pdp
-FFMPEG_SOURCE_DIR = /SOURCES/ffmpeg
-
-PDP_PIDIP_LIBS = -lbz2 -lz -ldl -lmp3lame -logg -lvorbis -lvorbisenc
-IMLIB_CFLAGS =
-IMLIB_LIBS = -L/usr/lib -lImlib2 -lfreetype -lz -L/usr/X11R6/lib -lX11 -lXext -ldl -lm
-MAGICK_CFLAGS = -I/usr/X11R6/include -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -Wall -pthread
-MAGICK_LIBS = -L/usr/X11R6/lib -lMagick -lMagick -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread -L/usr/lib -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib
-THEORA_LIBS = -ltheora -logg -lvorbis -lvorbisenc /usr/local/lib/libtheora.a /usr/lib/libogg.a /usr/local/lib/libogg.a /usr/lib/libvorbis.a /usr/local/lib/libvorbis.a /usr/lib/libvorbisenc.a /usr/local/lib/libvorbisenc.a
-PDP_PIDIP_INCLUDES = -I/usr/local/pd/src -I. -I/usr/local/pd/pdp/include -I../include -I../charmaps
-PDP_PIDIP_VERSION = 0.12.20
-MPEG4IP_CFLAGS =
-
-PDP_PIDIP_DISTRO = /mnt/c/ydegoyon.free.fr/pidip-$(PDP_PIDIP_VERSION)
-PDP_PIDIP_TARBALL = $(PDP_PIDIP_DISTRO).tar.gz
-
-
-PDP_PIDIP_CFLAGS = $(MPEG4IP_CFLAGS) $(MAGICK_CFLAGS) $(IMLIB_CFLAGS) \
- -DPD -DX_DISPLAY_MISSING -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
- -Wall -W -Wstrict-prototypes \
- -Wno-unused -Wno-parentheses -Wno-switch \
- -DPDP_PIDIP_VERSION=\"$(PDP_PIDIP_VERSION)\" -g
-
-PDP_PIDIP_CPPFLAGS = $(MPEG4IP_CFLAGS) $(MAGICK_CFLAGS) $(IMLIB_CFLAGS) \
- -DPD -DX_DISPLAY_MISSING -O2 -funroll-loops -fomit-frame-pointer -ffast-math \
- -Wall -W -Wstrict-prototypes \
- -Wno-unused -Wno-parentheses -Wno-switch \
- -DPDP_PIDIP_VERSION=\"$(PDP_PIDIP_VERSION)\" -g
-
-all: pidip.pd_linux
-
-pdp_pidip_all:
- make -C system
- make -C modules
-
-pidip.pd_linux: pdp_pidip_all
- rm -f pidip.pd_linux
- g++ -export_dynamic -shared -o pidip.pd_linux modules/*.o system/*.o $(THEORA_LIBS) $(PDP_PIDIP_LIBS) $(IMLIB_LIBS) $(MAGICK_LIBS)
- strip --strip-unneeded pidip.pd_linux
-
-clean:
- rm -f */*.o
- rm -f pidip.pd_linux
-
-install:
- if test ! -d /usr/X11R6/lib/X11/fonts/TTF; then mkdir /usr/X11R6/lib/X11/fonts/TTF; fi
- cp fonts/* /usr/X11R6/lib/X11/fonts/TTF
- cp -f --remove-destination doc/* $(PD_DIR)/doc/5.reference
-
-distro: clean all
- rm -f */*.o
- rm -rf autom4te.cache
- cd .. && cp -rf pidip /tmp/pidip-$(PDP_PIDIP_VERSION)
- cd /tmp && tar vczf $(PDP_PIDIP_TARBALL) pidip-$(PDP_PIDIP_VERSION)
- cp /mnt/c/ydegoyon.free.fr/pidip-$(PDP_PIDIP_VERSION).tar.gz /mnt/c/Yves/Software
- rm -rf /tmp/pidip-$(PDP_PIDIP_VERSION)
-
-pdp_colorgrid.o: pdp_colorgrid.c
- ./tk2c.bash < $*.tk > $*.tk2c
- PWD=`pwd`; cc -DPWD=\"$(PWD)\" $(PDP_PIDIP_CFLAGS) $(PDP_PIDIP_INCLUDES) -o $*.o -c $*.c
-
-.c.o:
- gcc $(PDP_PIDIP_CFLAGS) $(PDP_PIDIP_INCLUDES) -o $*.o -c $*.c
-
-.cpp.o:
- g++ $(PDP_PIDIP_CPPFLAGS) $(PDP_PIDIP_INCLUDES) -o $*.o -c $*.cpp