Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
11a04dce
Commit
11a04dce
authored
Dec 11, 2018
by
Jonathan Wilkes
Browse files
hook up flatgui to ship the knob binary
parent
ac7f08b3
Pipeline
#1419
failed with stage
in 341 minutes and 51 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
externals/Makefile
View file @
11a04dce
...
...
@@ -134,11 +134,9 @@ ifeq ($(LIGHT),yes)
lib_targets
=
loaders-libdir pddp
INCREMENTAL
=
yes
else
lib_targets
=
adaptive arraysize autotune bassemu boids bsaylor comport creb cxc cyclone disis earplug ekext ext13 fftease fluid freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-libdir lyonpotpourri mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdlua pdogg plugin pmpd rjlib sigpack smlib tof unauthorized vbap windowing zexy
lib_targets
=
adaptive arraysize autotune bassemu boids bsaylor comport creb cxc cyclone disis earplug ekext ext13 fftease
flatgui
fluid freeverb ggee hcs iem_ambi iem_bin_ambi iemlib iemgui iemguts iem_adaptfilt iemmatrix iemxmlrpc iem_delay iem_roomsim iem_spec2 iem_tab jasch_lib loaders-libdir lyonpotpourri mapping markex maxlib mjlib moocow moonlib motex mrpeach oscx pan pdcontainer pddp pdlua pdogg plugin pmpd rjlib sigpack smlib tof unauthorized vbap windowing zexy
endif
# DISABLED: flatgui
# NEW (IN-PROGRESS): flext
# this is for libraries that don't compile (yet) on all platforms
...
...
@@ -538,16 +536,21 @@ fftease_clean:
#------------------------------------------------------------------------------#
# FLATGUI
#
# Right now we're just building footils/knob and throwing it in the flatgui
# external directory for compatibility
#
flatgui
:
make
-C
$(externals_src)
/flatgui
CFLAGS
=
"
$(CFLAGS)
"
\
PD_PATH
=
$(pd_src)
PD_INCLUDE
=
$(pd_src)
/src
make
-C
$(externals_src)
/footils/knob
CFLAGS
=
"
$(CFLAGS)
"
\
PD_PATH
=
$(pd_src)
pdbinpath
=
$
(
pd_src/src
)
\
PD_INCLUDE
=
$(pd_src)
/src
flatgui_install
:
make
-C
$(externals_src)
/f
latgui
STRIP
=
"
$(STRIP)
"
\
make
-C
$(externals_src)
/f
ootils/knob
STRIP
=
"
$(STRIP)
"
\
DESTDIR
=
"
$(DESTDIR)
"
objectsdir
=
"
$(objectsdir)
"
install
flatgui_clean
:
make
-C
$(externals_src)
/f
latgui
clean
make
-C
$(externals_src)
/f
ootils/knob
clean
#------------------------------------------------------------------------------#
# FLEXT and FLEXT externals
...
...
externals/footils/knob/Makefile.pdlibbuilder.revised
0 → 100644
View file @
11a04dce
This diff is collapsed.
Click to expand it.
externals/footils/knob/makefile
View file @
11a04dce
NAME
=
knob
CSYM
=
knob
# !!!
# change these two
PD_DIR
=
../../../pd
#current: pd_nt pd_linux
current
:
pd_linux
# ----------------------- NT -----------------------
pd_nt
:
$(NAME).dll
.SUFFIXES
:
.dll
PDNTCFLAGS
=
/W3 /WX /O2 /G6 /DNT /DPD /nologo
# where is VC++ ???
VC
=
"C:
\P
rogramme
\M
icrosoft Visual Studio
\V
C98"
# where is your m_pd.h ???
PDNTINCLUDE
=
/I. /Ic:
\p
d
\t
cl
\i
nclude /Ic:
\p
d
\s
rc /I
$(VC)
\i
nclude /Iinclude
PDNTLDIR
=
$(VC)
\L
ib
PDNTLIB
=
$(PDNTLDIR)
\l
ibc.lib
\
$(PDNTLDIR)\oldnames.lib
\
$(PDNTLDIR)\kernel32.lib
\
$(PDNTLDIR)\user32.lib
\
$(PDNTLDIR)\uuid.lib
\
$(PDNTLDIR)\ws2_32.lib
\
c
:
\p
d
\b
in
\p
d.lib
.c.dll
:
cl
$(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
-O2
-funroll-loops
-fomit-frame-pointer
\
-Wall
-W
-Wshadow
-Wstrict-prototypes
-Werror
\
-Wno-unused
-Wno-parentheses
-Wno-switch
# where is your m_pd.h ???
LINUXINCLUDE
=
-I
../../src
-I
$(PD_DIR)
/src
.c.pd_linux
:
cc
-O2
-Wall
-DPD
-fPIC
$(LINUXINCLUDE)
-c
$*
.c
ld
--export-dynamic
-shared
-o
$*
.pd_linux
$*
.o
-lc
strip
$*
.pd_linux
# ----------------------------------------------------------
install
:
cp
help-
*
.pd ../../doc/5.reference
clean
:
rm
-f
*
.o
*
.pd_
*
so_locations
# Makefile for mylib
lib.name
=
flatgui
class.sources
=
knob.c
# ldlibs = -lfluidsynth
datafiles
=
knob-help.pd clock.pd README
externalsdir
=
../../
include
Makefile.pdlibbuilder.revised
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment