diff options
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 | |||
