Pull from CVS head:
authornbk <nbk>
Wed, 25 Jan 2006 18:05:13 +0000 (18:05 +0000)
committernbk <nbk>
Wed, 25 Jan 2006 18:05:13 +0000 (18:05 +0000)
Undelete lines which were needed to build a static binary.

src/main/Makefile.in

index 42db09e..e0e7fa3 100644 (file)
@@ -46,6 +46,9 @@ endif
 MODULE_LIBS    += $(shell for x in $(MODULES);do test -f ../modules/$$x/$$x.la && echo -dlpreopen ../modules/$$x/$$x.la;done)
 MODULE_LIBS    += $(shell for x in $(SUB_MODULES);do test -f ../modules/*/types/$$x/$$x.la && echo -dlpreopen ../modules/*/types/$$x/$$x.la;done)
 MODULE_LIBS    += $(shell for x in $(SUB_MODULES);do test -f ../modules/*/drivers/$$x/$$x.la && echo -dlpreopen ../modules/*/drivers/$$x/$$x.la;done)
+MODULE_OBJS     += $(shell for x in $(MODULES);do test -f ../modules/$$x/$$x.la && echo ../modules/$$x/$$x.la;done)     
+MODULE_OBJS     += $(shell for x in $(SUB_MODULES);do test -f ../modules/*/types/$$x/$$x.la && echo ../modules/*/types/$$x/$$x.la;done)         
+MODULE_OBJS     += $(shell for x in $(SUB_MODULES);do test -f ../modules/*/drivers/$$x/$$x.la && echo ../modules/*/drivers/$$x/$$x.la;done)
 endif
 
 LIBS           += ../lib/libradius.la
@@ -55,7 +58,7 @@ all: $(BINARIES)
 
 $(SERVER_OBJS): $(INCLUDES)
 
-radiusd: $(SERVER_OBJS) $(MODULE_LIBS) ../lib/libradius.la
+radiusd: $(SERVER_OBJS) $(MODULE_OBJS) ../lib/libradius.la
        $(LIBTOOL) --mode=link $(CC) -export-dynamic -dlopen self \
                $(LDFLAGS) $(LINK_MODE) -o $@ $(SERVER_OBJS)      \
                $(MODULE_LIBS) $(LIBS) $(SNMP_LIBS) $(PTHREADLIB) \