Browse code

rename LIBSRC to SRC_DIR, add quotes where SRC_DIR was used

Originally committed as revision 12452 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2008/03/16 04:24:03
Showing 1 changed files
... ...
@@ -2,16 +2,14 @@
2 2
 # common bits used by all libraries
3 3
 #
4 4
 
5
-LIBSRC = $(SRC_PATH_BARE)/lib$(NAME)
5
+SRC_DIR = $(SRC_PATH_BARE)/lib$(NAME)
6 6
 
7 7
 LIBVERSION = $(lib$(NAME)_VERSION)
8 8
 LIBMAJOR   = $(lib$(NAME)_VERSION_MAJOR)
9 9
 
10
-vpath %.c $(LIBSRC)
11
-vpath %.h $(LIBSRC)
12
-vpath %.S $(LIBSRC)
13
-
14
-SRC_DIR = "$(LIBSRC)"
10
+vpath %.c $(SRC_DIR)
11
+vpath %.h $(SRC_DIR)
12
+vpath %.S $(SRC_DIR)
15 13
 
16 14
 ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
17 15
 
... ...
@@ -58,7 +56,7 @@ $(SLIBNAME_WITH_MAJOR): $(OBJS)
58 58
 %.ho: %.h
59 59
 	$(CC) $(CFLAGS) $(LIBOBJFLAGS) -Wno-unused -c -o $@ -x c $<
60 60
 
61
-ALLHEADERS = $(subst $(LIBSRC)/,,$(wildcard $(LIBSRC)/*.h))
61
+ALLHEADERS = $(subst $(SRC_DIR)/,,$(wildcard $(SRC_DIR)/*.h))
62 62
 checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
63 63
 
64 64
 depend dep: $(SRCS)
... ...
@@ -98,7 +96,7 @@ INCINSTDIR = $(INCDIR)/lib$(NAME)
98 98
 install-headers:
99 99
 	install -d "$(INCINSTDIR)"
100 100
 	install -d "$(LIBDIR)/pkgconfig"
101
-	install -m 644 $(addprefix $(SRC_DIR)/,$(HEADERS)) "$(INCINSTDIR)"
101
+	install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(INCINSTDIR)"
102 102
 	install -m 644 $(BUILD_ROOT)/lib$(NAME).pc "$(LIBDIR)/pkgconfig"
103 103
 
104 104
 uninstall: uninstall-libs uninstall-headers