Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / contrib / dlz / modules / perl / Makefile
blobff2da39fda71236635ac83ee94c3ec49502ac84e
1 # For building the dlz_perl_driver driver we don't use
2 # the bind9 build structure as the aim is to provide an
3 # perl_driver that is separable from the bind9 source tree
5 CFLAGS += -fPIC -O2 -I../include
6 FLAGS_PERL ?= perl
7 LIBNAME = dlz_perl_driver.so
9 all: $(LIBNAME)
11 dlz_perl_driver.o: dlz_perl_driver.c
12 $(CC) $(CFLAGS) `${FLAGS_PERL} -MExtUtils::Embed -e ccopts` -c -o dlz_perl_driver.o dlz_perl_driver.c
15 dlz_perl_callback_clientinfo.c: dlz_perl_callback_clientinfo.xs
16 ${FLAGS_PERL} `${FLAGS_PERL} -MConfig -le 'print $$Config{privlibexp}'`/ExtUtils/xsubpp -prototypes -typemap `${FLAGS_PERL} -MConfig -le 'print $$Config{privlibexp}'`/ExtUtils/typemap dlz_perl_callback_clientinfo.xs > dlz_perl_callback_clientinfo.c
18 dlz_perl_callback_clientinfo.o: dlz_perl_callback_clientinfo.c
19 $(CC) $(CFLAGS) `${FLAGS_PERL} -MExtUtils::Embed -e ccopts` -c -o dlz_perl_callback_clientinfo.o dlz_perl_callback_clientinfo.c
22 dlz_perl_callback.c: dlz_perl_callback.xs
23 ${FLAGS_PERL} `${FLAGS_PERL} -MConfig -le 'print $$Config{privlibexp}'`/ExtUtils/xsubpp -prototypes -typemap `${FLAGS_PERL} -MConfig -le 'print $$Config{privlibexp}'`/ExtUtils/typemap dlz_perl_callback.xs > dlz_perl_callback.c
25 dlz_perl_callback.o: dlz_perl_callback.c
26 $(CC) $(CFLAGS) `${FLAGS_PERL} -MExtUtils::Embed -e ccopts` -c -o dlz_perl_callback.o dlz_perl_callback.c
29 $(LIBNAME): dlz_perl_driver.o dlz_perl_callback_clientinfo.o dlz_perl_callback.o
30 $(CC) $(LDFLAGS) -shared -o $(LIBNAME) dlz_perl_driver.o dlz_perl_callback_clientinfo.o dlz_perl_callback.o `${FLAGS_PERL} -MExtUtils::Embed -e ldopts`
32 clean:
33 rm -f dlz_perl_driver.o dlz_perl_driver.so dlz_perl_callback_clientinfo.c dlz_perl_callback_clientinfo.o dlz_perl_callback.c dlz_perl_callback.o