summaryrefslogtreecommitdiffstats
path: root/old-makefile
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-01 21:13:44 +0200
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-05-07 10:43:05 +0900
commitd0216842d33039ed01d8cd6429f903dd36e8ded8 (patch)
treeaba9c61d6da0e2df90d5d74332a69520ed6160d6 /old-makefile
parent527550dfe63c32ab168ac3d955bf73ddc0ec8096 (diff)
downloadmpv-d0216842d33039ed01d8cd6429f903dd36e8ded8.tar.bz2
mpv-d0216842d33039ed01d8cd6429f903dd36e8ded8.tar.xz
path: refactor
Somewhat less ifdeffery, higher flexibility. Now there are 3 separate config file resolvers for 3 platforms (unix, win, osx), and they can still interact with each other somewhat. For example, OSX for now uses most of Unix, but adds the OSX bundle path. This can be extended to resolve very specific platform paths, such as location of the desktop. Most of the Unix specific code moves to path-unix.c. The behavior should be the same - if not, it is likely a bug. (cherry picked from commit d3a3cfe54c26055c0686ea1b9a245eb7f88af521)
Diffstat (limited to 'old-makefile')
-rw-r--r--old-makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/old-makefile b/old-makefile
index 7adc45d712..d7b1f1f1dc 100644
--- a/old-makefile
+++ b/old-makefile
@@ -195,6 +195,7 @@ SOURCES = audio/audio.c \
options/parse_configfile.c \
options/path.c \
osdep/io.c \
+ osdep/path-unix.c \
osdep/semaphore_osx.c \
osdep/subprocess.c \
osdep/subprocess-posix.c \