[9872] | 1 | # $Id: makefile,v 1.9 2003-02-28 10:27:00 sandervl 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 | #
|
---|
| 29 | # Clean all rule.
|
---|
| 30 | #
|
---|
| 31 | cleanall:
|
---|
| 32 | $(RM) -Rf Debug Release Profile \
|
---|
| 33 | Debug.vac36 Release.vac36 Profile.vac36 \
|
---|
| 34 | Debug.wat Release.wat Profile.wat \
|
---|
| 35 | Debug.emx Release.emx Profile.emx
|
---|
[23] | 36 |
|
---|
[4717] | 37 | #
|
---|
| 38 | # Make output director.
|
---|
| 39 | #
|
---|
| 40 | $(ODIN32_LIB):
|
---|
[6885] | 41 | @if not exist $(ODIN32_LIB) mkdir $(ODIN32_LIB)
|
---|
[23] | 42 |
|
---|
| 43 |
|
---|
[4717] | 44 | #
|
---|
| 45 | # Make our own pmwinx (Open32) import library.
|
---|
| 46 | #
|
---|
| 47 | $(ODIN32_LIB)\pmwinx.lib: pmwinx.def
|
---|
| 48 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\pmwinx.lib pmwinx.def
|
---|
[23] | 49 |
|
---|
[4909] | 50 |
|
---|
[4717] | 51 | #
|
---|
[4909] | 52 | # Make our own pmwinx (Open32) import library.
|
---|
| 53 | #
|
---|
| 54 | $(ODIN32_LIB)\wgss50.lib: wgss50.def
|
---|
| 55 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\wgss50.lib wgss50.def
|
---|
| 56 |
|
---|
| 57 |
|
---|
| 58 | #
|
---|
[4717] | 59 | # Make our own libconv (UNICODE) import library.
|
---|
| 60 | #
|
---|
| 61 | $(ODIN32_LIB)\libconv.lib: libconv.def
|
---|
| 62 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\libconv.lib libconv.def
|
---|
[23] | 63 |
|
---|
[43] | 64 |
|
---|
[4717] | 65 | #
|
---|
| 66 | # Make our own libuls (UNICODE) import library.
|
---|
| 67 | #
|
---|
| 68 | $(ODIN32_LIB)\libuls.lib: libuls.def
|
---|
| 69 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\libuls.lib libuls.def
|
---|
| 70 |
|
---|
| 71 |
|
---|
| 72 | #
|
---|
[9872] | 73 | # Make our profiler import library.
|
---|
| 74 | #
|
---|
| 75 | $(ODIN32_LIB)\kProfile.lib: kProfile.def
|
---|
| 76 | $(IMPLIB) $(IMPLIBFLAGS) $(ODIN32_LIB)\kProfile.lib kProfile.def
|
---|
| 77 |
|
---|
| 78 |
|
---|
| 79 | #
|
---|
[4717] | 80 | # Make our own libuls import library.
|
---|
| 81 | #
|
---|
[23] | 82 | clean:
|
---|
[4717] | 83 | $(RM) $(ODIN32_LIB)\*.lib
|
---|
[23] | 84 |
|
---|
| 85 |
|
---|
[4717] | 86 | #
|
---|
| 87 | # Dummy rules.
|
---|
| 88 | #
|
---|
| 89 | dep lib:
|
---|
| 90 |
|
---|
[6863] | 91 |
|
---|
| 92 | #
|
---|
| 93 | # Nothing rule used for makefile debugging.
|
---|
| 94 | #
|
---|
| 95 | nothing:
|
---|
| 96 | @echo Did nothing with makefile $(MAKEDIR)\$(MAKEFILE)
|
---|
| 97 |
|
---|