1 DEFS
= @DLLFLAGS@
-DSTRICT
2 LDDLLFLAGS
= @LDDLLFLAGS@
3 TOPSRCDIR
= @top_srcdir@
8 PROGRAMS
= expand hello hello2 hello3 hello4 hello5 new rolex vartest volinfo
9 ALL_LIBS
= -L
$(TOPOBJDIR
) -lwine
$(LIBS
)
38 all: $(PROGRAMS
) $(PROGRAMS
:%=%.so
)
42 expand.spec.c
: expand.spec expand.o
$(WINEBUILD
)
43 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym expand.o
-o expand.spec.c
-spec expand.spec
44 expand.so
: expand.o expand.spec.o
45 $(LDSHARED
) $(LDDLLFLAGS
) -o expand.so
$+ $(ALL_LIBS
)
47 hello.spec.c
: hello.spec hello.o
$(WINEBUILD
)
48 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello.o
-o hello.spec.c
-spec hello.spec
49 hello.so
: hello.o hello.spec.o
50 $(LDSHARED
) $(LDDLLFLAGS
) -o hello.so
$+ $(ALL_LIBS
)
52 hello2.spec.c
: hello2.spec hello2.o
$(WINEBUILD
)
53 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello2.o
-o hello2.spec.c
-spec hello2.spec
54 hello2.so
: hello2.o hello2.spec.o
55 $(LDSHARED
) $(LDDLLFLAGS
) -o hello2.so
$+ $(ALL_LIBS
)
57 hello3.spec.c
: hello3.spec hello3.o hello3res.res
$(WINEBUILD
)
58 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello3.o
-o hello3.spec.c
-spec hello3.spec
59 hello3.so
: hello3.o hello3.spec.o
60 $(LDSHARED
) $(LDDLLFLAGS
) -o hello3.so
$+ $(ALL_LIBS
)
62 hello4.spec.c
: hello4.spec hello4.o
$(WINEBUILD
)
63 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello4.o
-o hello4.spec.c
-spec hello4.spec
64 hello4.so
: hello4.o hello4.spec.o
65 $(LDSHARED
) $(LDDLLFLAGS
) -o hello4.so
$+ $(ALL_LIBS
)
67 hello5.spec.c
: hello5.spec hello5.o
$(WINEBUILD
)
68 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello5.o
-o hello5.spec.c
-spec hello5.spec
69 hello5.so
: hello5.o hello5.spec.o
70 $(LDSHARED
) $(LDDLLFLAGS
) -o hello5.so
$+ $(ALL_LIBS
)
72 new.spec.c
: new.spec new.o
$(WINEBUILD
)
73 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym new.o
-o new.spec.c
-spec new.spec
74 new.so
: new.o new.spec.o
75 $(LDSHARED
) $(LDDLLFLAGS
) -o new.so
$+ $(ALL_LIBS
)
77 rolex.spec.c
: rolex.spec rolex.o
$(WINEBUILD
)
78 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym rolex.o
-o rolex.spec.c
-spec rolex.spec
79 rolex.so
: rolex.o rolex.spec.o
80 $(LDSHARED
) $(LDDLLFLAGS
) -o rolex.so
$+ $(ALL_LIBS
)
82 vartest.spec.c
: vartest.spec vartest.o
$(WINEBUILD
)
83 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym vartest.o
-o vartest.spec.c
-spec vartest.spec
84 vartest.so
: vartest.o vartest.spec.o
85 $(LDSHARED
) $(LDDLLFLAGS
) -o vartest.so
$+ $(ALL_LIBS
)
87 volinfo.spec.c
: volinfo.spec volinfo.o
$(WINEBUILD
)
88 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym volinfo.o
-o volinfo.spec.c
-spec volinfo.spec
89 volinfo.so
: volinfo.o volinfo.spec.o
90 $(LDSHARED
) $(LDDLLFLAGS
) -o volinfo.so
$+ $(ALL_LIBS
)
93 $(LN_S
) $(TOPOBJDIR
)/wine
$@
95 $(PROGRAMS
:%=%.so
/_checklink_
): $(PROGRAMS
:%=%.so
)
96 $(CC
) -o checklink
$(TOPSRCDIR
)/library
/checklink.c
`dirname $@` $(ALL_LIBS
) && $(RM
) checklink
98 checklink
:: $(PROGRAMS
:%=%.so
/_checklink_
)