/usr/share/puredata/doc/6.externs/makefile is in puredata-doc 0.46.7-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | current:
echo make pd_linux, pd_nt, pd_irix5, or pd_irix6
clean: ; rm -f *.pd_linux *.o
# ----------------------- Windows-----------------------
# note; you will certainly have to edit the definition of VC to agree with
# whatever you've got installed on your machine:
VC="D:\Program Files\Microsoft Visual Studio\Vc98"
pd_nt: obj1.dll obj2.dll obj3.dll obj4.dll obj5.dll dspobj~.dll
.SUFFIXES: .obj .dll
PDNTCFLAGS = /W3 /WX /DNT /DPD /nologo
PDNTINCLUDE = /I. /I\tcl\include /I..\..\src /I$(VC)\include
PDNTLDIR = $(VC)\lib
PDNTLIB = $(PDNTLDIR)\libc.lib \
$(PDNTLDIR)\oldnames.lib \
$(PDNTLDIR)\kernel32.lib \
..\..\bin\pd.lib
.c.dll:
cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
link /dll /export:$*_setup $*.obj $(PDNTLIB)
# override explicitly for tilde objects like this:
dspobj~.dll: dspobj~.c;
cl $(PDNTCFLAGS) $(PDNTINCLUDE) /c $*.c
link /dll /export:dspobj_tilde_setup $*.obj $(PDNTLIB)
# ----------------------- LINUX i386 -----------------------
pd_linux: obj1.l_ia64 obj2.l_ia64 obj3.l_ia64 obj4.l_ia64 \
obj5.l_ia64 dspobj~.l_ia64
pd_linux32: obj1.l_i386 obj2.l_i386 obj3.l_i386 obj4.l_i386 \
obj5.l_i386 dspobj~.l_i386
.SUFFIXES: .l_i386 .l_ia64
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wshadow -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch
LINUXINCLUDE = -I../../src
.c.l_i386:
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
ld -shared -o $*.l_i386 $*.o -lc -lm
strip --strip-unneeded $*.l_i386
rm $*.o
.c.l_ia64:
cc $(LINUXCFLAGS) $(LINUXINCLUDE) -fPIC -o $*.o -c $*.c
ld -shared -o $*.l_ia64 $*.o -lc -lm
strip --strip-unneeded $*.l_ia64
rm $*.o
# ----------------------- Mac OSX -----------------------
pd_darwin: obj1.pd_darwin obj2.pd_darwin \
obj3.pd_darwin obj4.pd_darwin obj5.pd_darwin dspobj~.pd_darwin
.SUFFIXES: .pd_darwin
DARWINCFLAGS = -DPD -O2 -Wall -W -Wshadow -Wstrict-prototypes \
-Wno-unused -Wno-parentheses -Wno-switch -arch i386 -arch x86_64
.c.pd_darwin:
cc $(DARWINCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
cc -bundle -undefined suppress -arch i386 -arch x86_64 \
-flat_namespace -o $*.pd_darwin $*.o
rm -f $*.o
|