Merge branch 'release-2.140.101'
[feisty_meow.git] / nucleus / applications / bundler / makefile.unpacker_stub
1 CONSOLE_MODE = true
2
3 include cpp/variables.def
4
5 PROJECT = app_bundle_stub
6 TYPE = application
7 SOURCE = common_bundle.cpp
8 ifeq "$(OMIT_VERSIONS)" ""
9   SOURCE += bundler_version.rc
10 endif
11 DEFINITIONS += __BUILD_STATIC_APPLICATION__=t
12 TARGETS = unpacker_stub.exe
13
14 LAST_TARGETS = show_makefilename
15 OTHER_CLEANS = mocko
16
17 #hmmm: why on earth is this gunk not already available
18 #  in some specialized vcpp variable?  yuck!
19 ifeq "$(COMPILER)" "VISUAL_CPP"
20   LIBS_USED += libcmt.lib shlwapi.lib zlib.lib
21   LOAD_FLAG_PREFIX += -nodefaultlib:msvcrt.lib 
22   COMPILER_FLAGS += -MT
23   LOCAL_HEADERS += $(THIRD_PARTY_DIR)/zlib/include
24   LOCAL_LIBRARIES += $(THIRD_PARTY_DIR)/zlib/lib
25 else
26   LIBS_USED += z
27 endif
28
29 include cpp/rules.def
30
31 show_makefilename:
32         echo hey the makeflags are $(MAKEFLAGS)
33
34
35 mocko:
36         echo got to other cleans
37