Ensure that the modules get re-built if the server header files
authoraland <aland>
Mon, 31 Jan 2000 17:37:47 +0000 (17:37 +0000)
committeraland <aland>
Mon, 31 Jan 2000 17:37:47 +0000 (17:37 +0000)
change.

src/modules/rules.mak

index 4c38fb6..acb82dd 100644 (file)
@@ -41,6 +41,17 @@ CFLAGS               += -I../../include
 
 #######################################################################
 #
+# Ensure that the modules get re-built if the server header files
+# change.
+#
+#######################################################################
+SERVER_HEADERS = ../../include/radiusd.h ../../include/radius.h ../../include/modules.h
+$(STATIC_OBJS):  $(SERVER_HEADERS)
+$(DYNAMIC_OBJS): $(SERVER_HEADERS)
+
+
+#######################################################################
+#
 # define new rules
 #
 #######################################################################