From c4762fbcb2842bee90076a2d4631d22311254843 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 7 Sep 2002 19:50:26 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r114, which included commits to RCS files with non-trunk default branches. svn path=/trunk/externals/olafmatt/; revision=115 --- shoutcast~/makefile.intel | 93 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 shoutcast~/makefile.intel (limited to 'shoutcast~/makefile.intel') diff --git a/shoutcast~/makefile.intel b/shoutcast~/makefile.intel new file mode 100644 index 0000000..f306f60 --- /dev/null +++ b/shoutcast~/makefile.intel @@ -0,0 +1,93 @@ +NAME=shoutcast~ +CSYM=shoutcast_tilde + +current: pd_nt pd_linux + +# ----------------------- NT ----------------------- + +pd_nt: $(NAME).dll + +.SUFFIXES: .dll + +PDNTCFLAGS = /W3 /WX /O3 /G7 /QaxW /DNT /DPD /nologo +VC="C:\Programme\Microsoft Visual Studio\VC98" +IC="C:\Programme\Intel\Compiler60\IA32" + +PDNTINCLUDE = /I. /Ic:\pd\tcl\include /Ic:\pd\src /I$(VC)\include + +PDNTLDIR = $(VC)\Lib +PDNTINTELLDIR = $(IC)\Lib +PDNTLIB = $(PDNTLDIR)\libc.lib \ + $(PDNTLDIR)\oldnames.lib \ + $(PDNTLDIR)\kernel32.lib \ + $(PDNTLDIR)\user32.lib \ + $(PDNTLDIR)\uuid.lib \ + $(PDNTLDIR)\ws2_32.lib \ + $(PDNTLDIR)\pthreadVC.lib \ + $(PDNTINTELLDIR)\libm.lib \ + $(PDNTINTELLDIR)\libm_chk.lib \ + $(PDNTINTELLDIR)\libirc.lib \ + $(PDNTINTELLDIR)\svml_disp.lib \ + c:\pd\bin\pd.lib \ + lame\libmp3lame.lib + +.c.dll: + icl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c + link /dll /export:$(CSYM)_setup $*.obj $(PDNTLIB) + +# ----------------------- IRIX 5.x ----------------------- + +pd_irix5: $(NAME).pd_irix5 + +.SUFFIXES: .pd_irix5 + +SGICFLAGS5 = -o32 -DPD -DUNIX -DIRIX -O2 + +SGIINCLUDE = -I../../src + +.c.pd_irix5: + cc $(SGICFLAGS5) $(SGIINCLUDE) -o $*.o -c $*.c + ld -elf -shared -rdata_shared -o $*.pd_irix5 $*.o + rm $*.o + +# ----------------------- IRIX 6.x ----------------------- + +pd_irix6: $(NAME).pd_irix6 + +.SUFFIXES: .pd_irix6 + +SGICFLAGS6 = -n32 -DPD -DUNIX -DIRIX -DN32 -woff 1080,1064,1185 \ + -OPT:roundoff=3 -OPT:IEEE_arithmetic=3 -OPT:cray_ivdep=true \ + -Ofast=ip32 + +.c.pd_irix6: + cc $(SGICFLAGS6) $(SGIINCLUDE) -o $*.o -c $*.c + ld -n32 -IPA -shared -rdata_shared -o $*.pd_irix6 $*.o + rm $*.o + +# ----------------------- LINUX i386 ----------------------- + +pd_linux: $(NAME).pd_linux + +.SUFFIXES: .pd_linux + +LINUXCFLAGS = -DPD -DUNIX -DICECAST -O2 -funroll-loops -fomit-frame-pointer \ + -Wall -W -Wshadow -Wstrict-prototypes -Werror \ + -Wno-unused -Wno-parentheses -Wno-switch + +LINUXINCLUDE = -I../../src + +.c.pd_linux: + cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c + ld -export_dynamic -shared -o $*.pd_linux $*.o -lc -lm -L/usr/local/lib -lmp3lame + strip --strip-unneeded $*.pd_linux + rm -f $*.o ../$*.pd_linux + ln -s $*/$*.pd_linux .. + +# ---------------------------------------------------------- + +install: + cp help-*.pd ../../doc/5.reference + +clean: + rm -f *.o *.pd_* so_locations -- cgit v1.2.1