Sat, 03 Aug 2019 11:20:29 +0200
fix unnamed dependency make code template
test/config.mk | file | annotate | diff | comparison | revisions | |
test/configure | file | annotate | diff | comparison | revisions | |
test/make/configure.vm | file | annotate | diff | comparison | revisions |
--- a/test/config.mk Sat Aug 03 11:15:03 2019 +0200 +++ b/test/config.mk Sat Aug 03 11:20:29 2019 +0200 @@ -12,3 +12,11 @@ CFLAGS += -I/usr/include/libxml2 LDFLAGS += -lxml2 -lssl -lcrypto +# platform dependend source files +PLATFORM_DAEMONOBJ = event_linux.o + +# platform dependend vars +OBJ_EXT = .o +LIB_EXT = .so +APP_EXT = +
--- a/test/configure Sat Aug 03 11:15:03 2019 +0200 +++ b/test/configure Sat Aug 03 11:20:29 2019 +0200 @@ -296,6 +296,16 @@ CFLAGS+="-DLINUX" LDFLAGS+="-lpthread -ldl -lm -lldap" + cat >> $TEMP_DIR/make.mk << __EOF__ +# platform dependend source files +PLATFORM_DAEMONOBJ = event_linux.o + +# platform dependend vars +OBJ_EXT = .o +LIB_EXT = .so +APP_EXT = + +__EOF__ break done @@ -315,6 +325,16 @@ CFLAGS+="-DBSD" LDFLAGS+="-lpthread -lm -lldap" + cat >> $TEMP_DIR/make.mk << __EOF__ +# platform dependend source files +PLATFORM_DAEMONOBJ = event_bsd.o + +# platform dependend vars +OBJ_EXT = .o +LIB_EXT = .so +APP_EXT = + +__EOF__ break done @@ -331,6 +351,16 @@ CFLAGS+="-DSOLARIS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" LDFLAGS+="-lsocket -lnsl -lsendfile -lposix4 -lpthread -ldl -lm -lmd -lldap" + cat >> $TEMP_DIR/make.mk << __EOF__ +# platform dependend source files +PLATFORM_DAEMONOBJ = event_solaris.o + +# platform dependend vars +OBJ_EXT = .o +LIB_EXT = .so +APP_EXT = + +__EOF__ break done
--- a/test/make/configure.vm Sat Aug 03 11:15:03 2019 +0200 +++ b/test/make/configure.vm Sat Aug 03 11:20:29 2019 +0200 @@ -360,9 +360,9 @@ $flags.varName+="$flags.value" #end #end - #if ( $sub.make.length() > 0 ) + #if ( $dependency.make.length() > 0 ) cat >> $TEMP_DIR/make.mk << __EOF__ -$sub.make +$dependency.make __EOF__ #end