1 {- use File::Spec::Functions qw/catdir catfile/; -}
4 cryptlib.c mem.c mem_dbg.c cversion.c ex_data.c cpt_err.c \
5 ebcdic.c uid.c o_time.c o_str.c o_dir.c o_fopen.c \
6 threads_pthread.c threads_win.c threads_none.c \
7 o_init.c o_fips.c mem_sec.c init.c {- $target{cpuid_asm_src} -} \
8 {- $target{uplink_aux_src} -}
9 EXTRA= ../ms/uplink-x86.pl ../ms/uplink.c ../ms/applink.c \
10 x86cpuid.pl x86_64cpuid.pl ia64cpuid.S \
11 ppccpuid.pl pariscid.pl alphacpuid.pl arm64cpuid.pl armv4cpuid.pl
13 DEPEND[cversion.o]=buildinf.h
14 GENERATE[buildinf.h]=../util/mkbuildinf.pl "$(CC) $(CFLAGS_Q)" "$(PLATFORM)"
15 DEPEND[buildinf.h]=../configdata.pm
17 GENERATE[uplink-x86.s]=../ms/uplink-x86.pl $(PERLASM_SCHEME)
18 GENERATE[uplink-x86_64.s]=../ms/uplink-x86_64.pl $(PERLASM_SCHEME)
19 GENERATE[uplink-ia64.s]=../ms/uplink-ia64.pl $(PERLASM_SCHEME)
21 GENERATE[x86cpuid.s]=x86cpuid.pl $(PERLASM_SCHEME) $(CFLAGS) $(LIB_CFLAGS) $(PROCESSOR)
22 DEPEND[x86cpuid.s]=perlasm/x86asm.pl
24 GENERATE[x86_64cpuid.s]=x86_64cpuid.pl $(PERLASM_SCHEME)
26 GENERATE[ia64cpuid.s]=ia64cpuid.S
27 GENERATE[ppccpuid.s]=ppccpuid.pl $(PERLASM_SCHEME)
28 GENERATE[pariscid.s]=pariscid.pl $(PERLASM_SCHEME)
29 GENERATE[alphacpuid.s]=alphacpuid.pl
30 GENERATE[arm64cpuid.S]=arm64cpuid.pl $(PERLASM_SCHEME)
31 INCLUDE[arm64cpuid.o]=.
32 GENERATE[armv4cpuid.S]=armv4cpuid.pl $(PERLASM_SCHEME)
33 INCLUDE[armv4cpuid.o]=.
35 IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
36 SHARED_SOURCE[../libcrypto]=dllmain.c