Build the utilities on static && dynamic targets, instead of 'all'
authoraland <aland>
Fri, 26 Oct 2001 19:04:42 +0000 (19:04 +0000)
committeraland <aland>
Fri, 26 Oct 2001 19:04:42 +0000 (19:04 +0000)
src/modules/rules.mak

index 912fe08..e8377dc 100644 (file)
@@ -22,7 +22,7 @@
 
 include $(RLM_DIR)../../../Make.inc
 
-all: static dynamic $(RLM_UTILS)
+all: static dynamic
 
 #######################################################################
 #
@@ -105,11 +105,11 @@ $(TARGET).la: $(DYNAMIC_OBJS)
 # a level, to the 'src/modules' directory, for general consumption.
 #
 #######################################################################
-static: $(TARGET).a
+static: $(TARGET).a  $(RLM_UTILS)
        @[ "x$(RLM_SUBDIRS)" = "x" ] || $(MAKE) $(MFLAGS) WHAT_TO_MAKE=static common
        @cp $< ../lib
 
-dynamic: $(TARGET).la
+dynamic: $(TARGET).la $(RLM_UTILS)
        @[ "x$(RLM_SUBDIRS)" = "x" ] || $(MAKE) $(MFLAGS) WHAT_TO_MAKE=dynamic common
        @cp $< ../lib