[10236] | 1 | # $Id: makefile,v 1.10 2003-08-15 15:07:34 bird Exp $
|
---|
[23] | 2 |
|
---|
| 3 | #
|
---|
[4717] | 4 | # Odin32 API
|
---|
[23] | 5 | #
|
---|
| 6 | # support libraries makefile
|
---|
| 7 | #
|
---|
| 8 |
|
---|
| 9 |
|
---|
[4717] | 10 | #
|
---|
| 11 | # Include makefile.
|
---|
| 12 | #
|
---|
| 13 | !include ../makefile.inc
|
---|
[23] | 14 |
|
---|
| 15 |
|
---|
[4717] | 16 | #
|
---|
| 17 | # All rule.
|
---|
| 18 | #
|
---|
| 19 | all: $(ODIN32_LIB) \
|
---|
| 20 | $(ODIN32_LIB)\pmwinx.lib \
|
---|
| 21 | $(ODIN32_LIB)\libconv.lib \
|
---|
[4909] | 22 | $(ODIN32_LIB)\libuls.lib \
|
---|
[9872] | 23 | !if !defined(DEBUG) && defined(PROFILE)
|
---|
| 24 | $(ODIN32_LIB)\kProfile.lib \
|
---|
| 25 | !endif
|
---|
[4909] | 26 | $(ODIN32_LIB)\wgss50.lib
|
---|
[23] | 27 |
|
---|
[9872] | 28 | #
|
---|
[10236] | 29 | # lib is all.
|
---|
| 30 | #
|
---|
| 31 | lib: all
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | #
|
---|
[9872] | 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
|
---|
[23] | 42 |
|
---|
[4717] | 43 | #
|
---|
| 44 | # Make output director.
|
---|
| 45 | #
|
---|
| 46 | $(ODIN32_LIB):
|
---|
[6885] | 47 | @if not exist $(ODIN32_LIB) mkdir $(ODIN32_LIB)
|
---|
[23] | 48 |
|
---|
| 49 |
|
---|
[4717] | 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
|
---|
[23] | 55 |
|
---|
[4909] | 56 |
|
---|
[4717] | 57 | #
|
---|
[4909] | 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 | #
|
---|
[4717] | 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
|
---|
[23] | 69 |
|
---|
[43] | 70 |
|
---|
[4717] | 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 | #
|
---|
[9872] | 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 | #
|
---|
[4717] | 86 | # Make our own libuls import library.
|
---|
| 87 | #
|
---|
[23] | 88 | clean:
|
---|
[4717] | 89 | $(RM) $(ODIN32_LIB)\*.lib
|
---|
[23] | 90 |
|
---|
| 91 |
|
---|
[4717] | 92 | #
|
---|
| 93 | # Dummy rules.
|
---|
| 94 | #
|
---|
[10236] | 95 | dep:
|
---|
[4717] | 96 |
|
---|
[6863] | 97 |
|
---|
| 98 | #
|
---|
| 99 | # Nothing rule used for makefile debugging.
|
---|
| 100 | #
|
---|
| 101 | nothing:
|
---|
| 102 | @echo Did nothing with makefile $(MAKEDIR)\$(MAKEFILE)
|
---|
| 103 |
|
---|