Remove symlinks

This commit is contained in:
Sergio R. Caprile committed 2026-11-12 10:59:35 -03:00
1 parent 3a4f044e41
commit 5b0675584c
132 files changed
+303 -165

No files matched your search

+2 -2
View File
@@ -29,8 +29,8 @@ web_root/bundle.js:
curl -s https://npm.reversehttp.com/preact,preact/hooks,htm/preact,preact-router -o $@
# Generate packed filesystem for serving Web UI
packed_fs.c: $(wildcard web_root/*) $(wildcard certs/*) Makefile web_root/bundle.js
node pack.js $(addsuffix ::gzip, $(wildcard web_root/*)) certs/* > $@
packed_fs.c: $(wildcard web_root/*) $(wildcard certs/*) Makefile ../../../test/pack.js web_root/bundle.js
node ../../../test/pack.js $(addsuffix ::gzip, $(wildcard web_root/*)) certs/* > $@
mbedtls:
git clone --depth 1 -b v2.28.2 https://github.com/mbed-tls/mbedtls $@
-1
View File
@@ -1 +0,0 @@
../../../test/pack.js
+6 -2
View File
@@ -24,8 +24,12 @@ endif
all: $(PROG) # Default target. Build and run program
$(RUN) ./$(PROG) $(ARGS)
$(PROG): $(SOURCES) # Build program from sources
$(PROG): $(SOURCES) certs/ca.pem # Build program from sources
$(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT)
certs/ca.pem: ../../../test/data/ca.pem
mkdir -p certs
cp $< $@
clean: # Cleanup. Delete built program and all build artifacts
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls $(PACK)
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls $(PACK) certs/ca.pem
-1
View File
@@ -1 +0,0 @@
../../../../test/data/ca.pem
+4 -1
View File
@@ -27,8 +27,11 @@ all: $(PROG) # Default target. Build and run program
$(PROG): $(SOURCES) # Build program from sources
$(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT)
packed_fs.c: ../http-client/packed_fs.c
cp $< $@
clean: # Cleanup. Delete built program and all build artifacts
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls packed_fs.c
# see https://mongoose.ws/tutorials/tls/#how-to-build for TLS build options
@@ -1 +0,0 @@
../http-client/packed_fs.c
+4 -1
View File
@@ -24,8 +24,11 @@ all: $(PROG) # Default target. Build and run program
$(PROG): $(SOURCES) # Build program from sources
$(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT)
packed_fs.c: ../http-client/packed_fs.c
cp $< $@
clean: # Cleanup. Delete built program and all build artifacts
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls packed_fs.c
# see https://mongoose.ws/tutorials/tls/#how-to-build for TLS build options
@@ -1 +0,0 @@
../http-client/packed_fs.c
+10 -2
View File
@@ -20,14 +20,22 @@ ifeq ($(OS),Windows_NT) # Windows settings. Assume MinGW compiler. To use VC:
OUT ?= -o $(PROG) # Build output
endif
all: $(PROG) # Default target. Build and run program
CERTS = certs/ca.crt certs/ca.key certs/ca.srl certs/client.crt certs/client.csr \
certs/client.key certs/generate.sh certs/server.crt certs/server.csr \
certs/server.key
all: $(CERTS) $(PROG) # Default target. Build and run program
$(RUN) ./$(PROG) $(ARGS)
certs/%: ../../../test/certs/%
mkdir -p certs
cp $< $@
$(PROG): $(SOURCES) # Build program from sources
$(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT)
clean: # Cleanup. Delete built program and all build artifacts
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM certs/*
vc98: CC = cl
-1
View File
@@ -1 +0,0 @@
../../../test/certs
@@ -24,8 +24,11 @@ all: $(PROG) # Default target. Build and run program
$(PROG): $(SOURCES) # Build program from sources
$(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT)
packed_fs.c: ../http-client/packed_fs.c
cp $< $@
clean: # Cleanup. Delete built program and all build artifacts
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls
$(DELETE) $(PROG) *.o *.obj *.exe *.dSYM mbedtls packed_fs.c
# see https://mongoose.ws/tutorials/tls/#how-to-build for TLS build options
@@ -1 +0,0 @@
../http-client/packed_fs.c
+14 -5
View File
@@ -20,14 +20,23 @@ endif
all: $(PROG) # Default target. Build and run program
$(RUN) $(PROG) $(ARGS)
web_root/bundle.js:
curl -s https://npm.reversehttp.com/preact,preact/hooks,htm/preact,preact-router -o $@
web_root/bundle.js: ../device-dashboard/web_root/bundle.js
cp $< $@
packed_fs.c: $(wildcard web_root/*) Makefile web_root/bundle.js
node pack.js $(addsuffix ::gzip, $(wildcard web_root/*)) > $@
web_root/components.js: ../device-dashboard/web_root/components.js
cp $< $@
web_root/history.min.js: ../device-dashboard/web_root/history.min.js
cp $< $@
web_root/index.html: ../device-dashboard/web_root/index.html
cp $< $@
packed_fs.c: $(wildcard web_root/*) Makefile ../../../test/pack.js web_root/bundle.js web_root/components.js web_root/history.min.js web_root/index.html
node ../../../test/pack.js $(addsuffix ::gzip, $(wildcard web_root/*)) > $@
$(PROG): $(SOURCES) # Build program from sources
$(CC) $(SOURCES) $(CFLAGS) $(CFLAGS_MONGOOSE) $(CFLAGS_EXTRA) $(OUT)
clean: # Cleanup. Delete built program and all build artifacts
$(DELETE) $(PROG) $(PACK) *.o *.obj *.exe *.dSYM
$(DELETE) $(PROG) $(PACK) *.o *.obj *.exe *.dSYM web_root/bundle.js web_root/components.js web_root/history.min.js web_root/index.html
@@ -1 +0,0 @@
../../../test/pack.js
@@ -1 +0,0 @@
../../device-dashboard/web_root/bundle.js
@@ -1 +0,0 @@
../../device-dashboard/web_root/components.js
@@ -1 +0,0 @@
../../device-dashboard/web_root/history.min.js
@@ -1 +0,0 @@
../../device-dashboard/web_root/index.html