Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
YARAMALA SIVA SAI VARDHAN REDDY
purr-data
Commits
89b39764
Commit
89b39764
authored
8 years ago
by
Albert Gräf
Browse files
Options
Downloads
Patches
Plain Diff
Make sure that pd/src can still be compiled on its own.
parent
d4daacdc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pd/src/makefile.in
+9
-4
9 additions, 4 deletions
pd/src/makefile.in
pd/src/makefile.mingw
+5
-3
5 additions, 3 deletions
pd/src/makefile.mingw
with
14 additions
and
7 deletions
pd/src/makefile.in
+
9
−
4
View file @
89b39764
...
...
@@ -100,8 +100,10 @@ endif
# AG: Pd-l2ork version number
PD_L2ORK_VERSION
:=
$(
shell
grep
PD_L2ORK_VERSION m_pd.h |
\
sed
's|^.define *PD_L2ORK_VERSION *"\(.*\)".*|\1|'
)
PD_BUILD_VERSION
:=
$(
shell
grep
PD_BUILD_VERSION s_stuff.h |
\
sed
's|^.define *PD_BUILD_VERSION *"\(.*\)".*|\1|'
)
# This is replicated from packages/Makefile.buildlayout. XXXFIXME: Right now
# you have to manually keep these two definitions in sync; if you edit one of
# them, you should also edit the other.
PD_BUILD_VERSION
:=
$(
shell git log
-1
--format
=
%cd
--date
=
short |
sed
-e
's/-//g'
)
-rev
.
$(
shell git rev-parse
--short
HEAD
)
#
# ------------------ targets ------------------------------------
...
...
@@ -241,7 +243,7 @@ extra-clean:
clean
:
extra-clean local-clean
distclean
:
clean
-
rm
-f
config.cache config.log config.status makefile tags
\
-
rm
-f
s_stuff.h
config.cache config.log config.status makefile tags
\
autom4te.cache/output.
*
autom4te.cache/traces.
*
autom4te.cache/requests
-
rmdir
autom4te.cache
-
rm
-rf
autom4te-
*
.cache
...
...
@@ -250,9 +252,12 @@ tags: $(SRC); ctags *.[ch]
depend
:
makefile.dependencies
makefile.dependencies
:
makefile
makefile.dependencies
:
makefile
s_stuff.h
$(
CC
)
$(
CPPFLAGS
)
-M
$(
SRC
)
>
makefile.dependencies
s_stuff.h
:
s_stuff.h.in
sed
's|^\(#define PD_BUILD_VERSION "\).*"|\1
$(
PD_BUILD_VERSION
)
"|'
$<
>
$@
uninstall
:
rm
-f
-r
$(
DESTDIR
)$(
libpddir
)
rm
-f
$(
DESTDIR
)$(
bindir
)
/@PDEXEC@
...
...
This diff is collapsed.
Click to expand it.
pd/src/makefile.mingw
+
5
−
3
View file @
89b39764
...
...
@@ -151,8 +151,7 @@ endif
# AG: Pd-l2ork version number
PD_L2ORK_VERSION
:=
$(
shell
grep
PD_L2ORK_VERSION m_pd.h |
\
sed
's|^.define *PD_L2ORK_VERSION *"\(.*\)".*|\1|'
)
PD_BUILD_VERSION
:=
$(
shell
grep
PD_BUILD_VERSION s_stuff.h |
\
sed
's|^.define *PD_BUILD_VERSION *"\(.*\)".*|\1|'
)
PD_BUILD_VERSION
:=
$(
shell git log
-1
--format
=
%cd
--date
=
short |
sed
-e
's/-//g'
)
-rev
.
$(
shell git rev-parse
--short
HEAD
)
#
...
...
@@ -166,6 +165,9 @@ all: config.h $(PDDLL) $(PDEXEC) pdsend.exe pdreceive.exe pd.com externs
config.h
:
config.h.in
cp
config.h.in config.h
s_stuff.h
:
s_stuff.h.in
sed
's|^\(#define PD_BUILD_VERSION "\).*"|\1
$(
PD_BUILD_VERSION
)
"|'
$<
>
$@
$(OBJ)
:
%.o : %.c
$(
CC
)
$(
CFLAGS
)
$(
GFLAGS
)
$(
INCLUDE
)
-c
-o
$*
.o
$*
.c
...
...
@@ -323,7 +325,7 @@ clean:
-
rm
-f
makefile.dependencies
distclean
:
clean
rm
-rf
--
config.cache config.log config.status makefile tags
\
rm
-rf
--
s_stuff.h
config.cache config.log config.status makefile tags
\
autom4te-
*
.cache
tags
:
$(SRC) $(GSRC); ctags *.[ch]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment