]> mj.ucw.cz Git - libucw.git/commitdiff
LIBUCW needs to be declared early, because it is used by sub-Makefiles.
authorMartin Mares <mj@ucw.cz>
Sat, 25 Aug 2007 10:19:50 +0000 (12:19 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 25 Aug 2007 10:19:50 +0000 (12:19 +0200)
lib/Makefile

index 814ec251f821949b54f03925aea0fe3f2ce40fb2..a33430757c8f9463e68272ecb6d192d3329f0983 100644 (file)
@@ -2,6 +2,7 @@
 
 DIRS+=lib
 CONFIGS+=library
+LIBUCW=$(o)/lib/libucw.pc
 
 ifdef CONFIG_UCW_DBTOOL
 PROGS+=$(o)/lib/db-tool
@@ -78,7 +79,6 @@ endif
 
 include $(s)/lib/sorter/Makefile
 
-LIBUCW=$(o)/lib/libucw.pc
 LIBUCW_MOD_PATHS=$(addprefix $(o)/lib/,$(LIBUCW_MODS))
 
 $(o)/lib/libucw.a: $(addsuffix .o,$(LIBUCW_MOD_PATHS))