|
Last change
on this file since 306 was 243, checked in by umoeller, 23 years ago |
|
New build system, multimedia, other misc fixes.
|
-
Property svn:eol-style
set to
CRLF
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
1.4 KB
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | #
|
|---|
| 3 | # makefile_dll:
|
|---|
| 4 | # makefile for src/helpers directory.
|
|---|
| 5 | #
|
|---|
| 6 | # See "makefile" for remarks.
|
|---|
| 7 | #
|
|---|
| 8 | # This is used with WarpIN for preparing the runtime
|
|---|
| 9 | # DLL which is shared between the WarpIN executables.
|
|---|
| 10 | #
|
|---|
| 11 | # As opposed to "makefile", this does not create
|
|---|
| 12 | # helpers.lib, but only the objects files, which are
|
|---|
| 13 | # then linked with the other shared components into
|
|---|
| 14 | # the runtime DLL.
|
|---|
| 15 | #
|
|---|
| 16 | # Edit "setup.in" to set up the make process.
|
|---|
| 17 | #
|
|---|
| 18 |
|
|---|
| 19 | # Say hello to yourself.
|
|---|
| 20 | !if [@echo +++++ Entering $(MAKEDIR)\makefile_dll]
|
|---|
| 21 | !endif
|
|---|
| 22 |
|
|---|
| 23 | # set up shared environment variables
|
|---|
| 24 | !include ..\..\make\helpers.in
|
|---|
| 25 | # define $(OBJ), which contains all object targets
|
|---|
| 26 | !include helpers_pre.in
|
|---|
| 27 |
|
|---|
| 28 | # The main target:
|
|---|
| 29 | # If we're called from the main makefile, MAINMAKERUNNING is defined,
|
|---|
| 30 | # and we'll set $(OBJS) as our targets (which will go on).
|
|---|
| 31 | # Otherwise, we call the main makefile, which will again call ourselves later.
|
|---|
| 32 | all: \
|
|---|
| 33 | !ifndef MAINMAKERUNNING
|
|---|
| 34 | callmainmake
|
|---|
| 35 | @echo ----- Leaving $(MAKEDIR)
|
|---|
| 36 | !else
|
|---|
| 37 | makedll
|
|---|
| 38 | #$(OBJS)
|
|---|
| 39 | @echo ----- Leaving $(MAKEDIR)
|
|---|
| 40 | !endif
|
|---|
| 41 |
|
|---|
| 42 | callmainmake:
|
|---|
| 43 | @echo $(MAKEDIR)\makefile: Recursing to main makefile.
|
|---|
| 44 | @cd $(PROJECT_BASE_DIR)
|
|---|
| 45 | @nmake
|
|---|
| 46 | @echo $(MAKEDIR)\makefile: Returned from main makefile. Done.
|
|---|
| 47 |
|
|---|
| 48 | #
|
|---|
| 49 | # new target "makedll":
|
|---|
| 50 | # this simply produces all the object files.
|
|---|
| 51 | #
|
|---|
| 52 |
|
|---|
| 53 | makedll: $(OBJS)
|
|---|
| 54 | @echo ----- Leaving $(MAKEDIR)
|
|---|
| 55 |
|
|---|
| 56 | !include helpers_post.in
|
|---|
| 57 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.