1 | # $Id: makefile,v 1.10 2003-08-15 15:07:34 bird Exp $
|
---|
2 |
|
---|
3 | #
|
---|
4 | # Odin32 API
|
---|
5 | #
|
---|
6 | # support libraries makefile
|
---|
7 | #
|
---|
8 |
|
---|
9 |
|
---|
10 | #
|
---|
11 | # Include makefile.
|
---|
12 | #
|
---|
13 | !include ../makefile.inc
|
---|
14 |
|
---|
15 |
|
---|
16 | #
|
---|
17 | # All rule.
|
---|
18 | #
|
---|
19 | all: $(ODIN32_LIB) \
|
---|
20 | $(ODIN32_LIB)\pmwinx.lib \
|
---|
21 | $(ODIN32_LIB)\libconv.lib \
|
---|
22 | $(ODIN32_LIB)\libuls.lib \
|
---|
23 | !if !defined(DEBUG) && defined(PROFILE)
|
---|
24 | $(ODIN32_LIB)\kProfile.lib \
|
---|
25 | !endif
|
---|
26 | $(ODIN32_LIB)\wgss50.lib
|
---|
27 |
|
---|
28 | #
|
---|
29 | # lib is all.
|
---|
30 | #
|
---|
31 | lib: all
|
---|
32 |
|
---|
33 |
|
---|
34 | #
|
---|
35 | # Clean all rule.
|
---|
36 | #
|
---|
37 | cleanall:
|
---|
38 | $(RM) -Rf Debug Release Profile \
|
---|
39 | Debug.vac36 Release.vac36 Profile.vac36 \
|
---|
40 | Debug.wat Release.wat Profile.wat \
|
---|
41 | Debug.emx Release.emx Profile.emx
|
---|
42 |
|
---|
43 | #
|
---|
44 | # Make output director.
|
---|
45 | #
|
---|
46 | $(ODIN32_LIB):
|
---|
47 | @if not exist $(ODIN32_LIB) mkdir $(ODIN32_LIB)
|
---|
48 |
|
---|
49 |
|
---|
50 | #
|
---|
51 | # Make our own pmwinx (Open32) import library.
|
---|
52 | #
|
---|
53 | $(ODIN32_LIB)\pmwinx.lib: pmwinx.def
|
---|
54 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\pmwinx.lib pmwinx.def
|
---|
55 |
|
---|
56 |
|
---|
57 | #
|
---|
58 | # Make our own pmwinx (Open32) import library.
|
---|
59 | #
|
---|
60 | $(ODIN32_LIB)\wgss50.lib: wgss50.def
|
---|
61 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\wgss50.lib wgss50.def
|
---|
62 |
|
---|
63 |
|
---|
64 | #
|
---|
65 | # Make our own libconv (UNICODE) import library.
|
---|
66 | #
|
---|
67 | $(ODIN32_LIB)\libconv.lib: libconv.def
|
---|
68 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\libconv.lib libconv.def
|
---|
69 |
|
---|
70 |
|
---|
71 | #
|
---|
72 | # Make our own libuls (UNICODE) import library.
|
---|
73 | #
|
---|
74 | $(ODIN32_LIB)\libuls.lib: libuls.def
|
---|
75 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\libuls.lib libuls.def
|
---|
76 |
|
---|
77 |
|
---|
78 | #
|
---|
79 | # Make our profiler import library.
|
---|
80 | #
|
---|
81 | $(ODIN32_LIB)\kProfile.lib: kProfile.def
|
---|
82 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\kProfile.lib kProfile.def
|
---|
83 |
|
---|
84 |
|
---|
85 | #
|
---|
86 | # Make our own libuls import library.
|
---|
87 | #
|
---|
88 | clean:
|
---|
89 | $(RM) $(ODIN32_LIB)\*.lib
|
---|
90 |
|
---|
91 |
|
---|
92 | #
|
---|
93 | # Dummy rules.
|
---|
94 | #
|
---|
95 | dep:
|
---|
96 |
|
---|
97 |
|
---|
98 | #
|
---|
99 | # Nothing rule used for makefile debugging.
|
---|
100 | #
|
---|
101 | nothing:
|
---|
102 | @echo Did nothing with makefile $(MAKEDIR)\$(MAKEFILE)
|
---|
103 |
|
---|