1 DEFS
= @DLLFLAGS@
-DSTRICT
-DNONAMELESSUNION
-DNONAMELESSSTRUCT
2 LDDLLFLAGS
= @LDDLLFLAGS@
3 TOPSRCDIR
= @top_srcdir@
8 PROGRAMS
= expand hello hello2 hello3 hello4 hello5 new rolex volinfo
9 ALL_LIBS
= $(LIBWINE
) $(LIBS
)
36 all: $(PROGRAMS
) $(PROGRAMS
:%=%.so
)
40 expand.spec.c
: expand.spec expand.o
$(WINEBUILD
)
41 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym expand.o
-o expand.spec.c
-spec expand.spec
42 expand.so
: expand.o expand.spec.o
43 $(LDSHARED
) $(LDDLLFLAGS
) -o expand.so
$+ $(ALL_LIBS
)
45 hello.spec.c
: hello.spec hello.o
$(WINEBUILD
)
46 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello.o
-o hello.spec.c
-spec hello.spec
47 hello.so
: hello.o hello.spec.o
48 $(LDSHARED
) $(LDDLLFLAGS
) -o hello.so
$+ $(ALL_LIBS
)
50 hello2.spec.c
: hello2.spec hello2.o
$(WINEBUILD
)
51 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello2.o
-o hello2.spec.c
-spec hello2.spec
52 hello2.so
: hello2.o hello2.spec.o
53 $(LDSHARED
) $(LDDLLFLAGS
) -o hello2.so
$+ $(ALL_LIBS
)
55 hello3.spec.c
: hello3.spec hello3.o hello3res.res
$(WINEBUILD
)
56 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello3.o
-o hello3.spec.c
-spec hello3.spec
57 hello3.so
: hello3.o hello3.spec.o
58 $(LDSHARED
) $(LDDLLFLAGS
) -o hello3.so
$+ $(ALL_LIBS
)
60 hello4.spec.c
: hello4.spec hello4.o
$(WINEBUILD
)
61 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello4.o
-o hello4.spec.c
-spec hello4.spec
62 hello4.so
: hello4.o hello4.spec.o
63 $(LDSHARED
) $(LDDLLFLAGS
) -o hello4.so
$+ $(ALL_LIBS
)
65 hello5.spec.c
: hello5.spec hello5.o
$(WINEBUILD
)
66 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym hello5.o
-o hello5.spec.c
-spec hello5.spec
67 hello5.so
: hello5.o hello5.spec.o
68 $(LDSHARED
) $(LDDLLFLAGS
) -o hello5.so
$+ $(ALL_LIBS
)
70 new.spec.c
: new.spec new.o
$(WINEBUILD
)
71 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym new.o
-o new.spec.c
-spec new.spec
72 new.so
: new.o new.spec.o
73 $(LDSHARED
) $(LDDLLFLAGS
) -o new.so
$+ $(ALL_LIBS
)
75 rolex.spec.c
: rolex.spec rolex.o
$(WINEBUILD
)
76 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym rolex.o
-o rolex.spec.c
-spec rolex.spec
77 rolex.so
: rolex.o rolex.spec.o
78 $(LDSHARED
) $(LDDLLFLAGS
) -o rolex.so
$+ $(ALL_LIBS
)
80 volinfo.spec.c
: volinfo.spec volinfo.o
$(WINEBUILD
)
81 $(LDPATH
) $(WINEBUILD
) @DLLFLAGS@
-L
$(DLLDIR
) -sym volinfo.o
-o volinfo.spec.c
-spec volinfo.spec
82 volinfo.so
: volinfo.o volinfo.spec.o
83 $(LDSHARED
) $(LDDLLFLAGS
) -o volinfo.so
$+ $(ALL_LIBS
)
86 $(LN_S
) $(TOPOBJDIR
)/wine
$@
88 $(PROGRAMS
:%=%.so
/_checklink_
): $(PROGRAMS
:%=%.so
)
89 $(CC
) -o checklink
$(TOPSRCDIR
)/library
/checklink.c
`dirname $@` $(ALL_LIBS
) && $(RM
) checklink
91 checklink
:: $(PROGRAMS
:%=%.so
/_checklink_
)