summaryrefslogtreecommitdiff
path: root/other/b-scan/modules/Makefile
blob: ccac359008b71951dd91cbd206bee9f4dd872a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CC=gcc
COPT=-Wall -ggdb -shared -fPIC -I../include
DEFS=`libnet-config --defines` -DUSE_LIBNET #-DDEBUG
LIBS=
TARGETS=mod_snmp mod_banner mod_httpd mod_ping mod_bind

# HPUX 10.20
# DEFS=`libnet-config --defines` -DUSE_LIBNET -DHP10 #-DDEBUG

all:	
	for trgt in $(TARGETS); do \
	    $(CC) $(COPT) $(DEFS) -o $$trgt.so $$trgt.c; \
	done


clean:
	for trgt in $(TARGETS); do \
	    rm -f $$trgt.so; \
        done
	rm -f core *~