diff options
| author | Root THC | 2026-02-24 12:42:47 +0000 |
|---|---|---|
| committer | Root THC | 2026-02-24 12:42:47 +0000 |
| commit | c9cbeced5b3f2bdd7407e29c0811e65954132540 (patch) | |
| tree | aefc355416b561111819de159ccbd86c3004cf88 /other/b-scan/tmp/modules/Makefile | |
| parent | 073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff) | |
initial
Diffstat (limited to 'other/b-scan/tmp/modules/Makefile')
| -rw-r--r-- | other/b-scan/tmp/modules/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/other/b-scan/tmp/modules/Makefile b/other/b-scan/tmp/modules/Makefile new file mode 100644 index 0000000..ccac359 --- /dev/null +++ b/other/b-scan/tmp/modules/Makefile | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | CC=gcc | ||
| 2 | COPT=-Wall -ggdb -shared -fPIC -I../include | ||
| 3 | DEFS=`libnet-config --defines` -DUSE_LIBNET #-DDEBUG | ||
| 4 | LIBS= | ||
| 5 | TARGETS=mod_snmp mod_banner mod_httpd mod_ping mod_bind | ||
| 6 | |||
| 7 | # HPUX 10.20 | ||
| 8 | # DEFS=`libnet-config --defines` -DUSE_LIBNET -DHP10 #-DDEBUG | ||
| 9 | |||
| 10 | all: | ||
| 11 | for trgt in $(TARGETS); do \ | ||
| 12 | $(CC) $(COPT) $(DEFS) -o $$trgt.so $$trgt.c; \ | ||
| 13 | done | ||
| 14 | |||
| 15 | |||
| 16 | clean: | ||
| 17 | for trgt in $(TARGETS); do \ | ||
| 18 | rm -f $$trgt.so; \ | ||
| 19 | done | ||
| 20 | rm -f core *~ | ||
| 21 | |||
| 22 | |||
