3 # Warning: This is an automatically generated file, do not edit!
8 include $(top_srcdir
)/Makefile.
include
9 include $(top_srcdir
)/config.make
11 ifeq ($(CONFIG
),DEBUG
)
12 ASSEMBLY_COMPILER_COMMAND
= mcs
13 ASSEMBLY_COMPILER_FLAGS
= -noconfig
-codepage
:utf8
-warn
:4 -optimize
+ -debug
-define:DEBUG
14 ASSEMBLY
= bin
/Debug
/GameServer.exe
15 ASSEMBLY_MDB
= $(ASSEMBLY
).mdb
20 DB4OBJECTS_DB4O_DLL_SOURCE
=dll
/Db4objects.Db4o.dll
24 ifeq ($(CONFIG
),RELEASE
)
25 ASSEMBLY_COMPILER_COMMAND
= mcs
26 ASSEMBLY_COMPILER_FLAGS
= -noconfig
-codepage
:utf8
-warn
:4 -optimize
+
27 ASSEMBLY
= bin
/Release
/GameServer.exe
31 BUILD_DIR
= bin
/Release
33 DB4OBJECTS_DB4O_DLL_SOURCE
=dll
/Db4objects.Db4o.dll
39 $(DB4OBJECTS_DB4O_DLL
)
46 GAMESERVER
= $(BUILD_DIR
)/gameserver
47 DB4OBJECTS_DB4O_DLL
= $(BUILD_DIR
)/Db4objects.Db4o.dll
54 GameComponents
/Character.cs \
55 GameComponents
/Item.cs \
56 GameComponents
/MOB.cs \
57 GameComponents
/Magic.cs \
58 GameComponents
/Skill.cs
65 GameServer.userprefs \
66 GameServer.usertasks \
77 bin
/Debug
/GameServer.exe.mdb \
78 bin
/Debug
/gameserver \
86 dll
/Db4objects.Db4o.dll
88 CLEANFILES
+= $(PROGRAMFILES
) $(BINARIES
)
91 all-local
: $(ASSEMBLY
) $(PROGRAMFILES
) $(BINARIES
) $(top_srcdir
)/config.make
93 $(GAMESERVER
): gameserver
98 $(DB4OBJECTS_DB4O_DLL
): $(DB4OBJECTS_DB4O_DLL_SOURCE
)
104 gameserver
: gameserver.in
$(top_srcdir
)/config.make
105 sed
-e
"s,@prefix@,$(prefix)," -e
"s,@PACKAGE@,$(PACKAGE)," < gameserver.in
> gameserver
108 $(build_xamlg_list
): %.xaml.g.cs
: %.xaml
111 $(build_resx_resources
) : %.resources
: %.resx
116 $(ASSEMBLY
) $(ASSEMBLY_MDB
): $(build_sources
) $(build_resources
) $(build_datafiles
) $(DLL_REFERENCES
) $(PROJECT_REFERENCES
) $(build_xamlg_list
)
117 make pre-all-local-hook
prefix=$(prefix)
118 mkdir
-p
$(dir $(ASSEMBLY
))
119 make
$(CONFIG
)_BeforeBuild
120 $(ASSEMBLY_COMPILER_COMMAND
) $(ASSEMBLY_COMPILER_FLAGS
) -out
:$(ASSEMBLY
) -target
:$(COMPILE_TARGET
) $(build_sources_embed
) $(build_resources_embed
) $(build_references_ref
)
121 make
$(CONFIG
)_AfterBuild
122 make post-all-local-hook
prefix=$(prefix)
125 install-local
: $(ASSEMBLY
) $(ASSEMBLY_MDB
) $(GAMESERVER
) $(DB4OBJECTS_DB4O_DLL
)
126 make pre-install-local-hook
prefix=$(prefix)
127 mkdir
-p
$(prefix)/lib
/$(PACKAGE
)
128 cp
$(ASSEMBLY
) $(ASSEMBLY_MDB
) $(prefix)/lib
/$(PACKAGE
)
129 mkdir
-p
$(prefix)/bin
130 test -z
'$(GAMESERVER)' || cp
$(GAMESERVER
) $(prefix)/bin
131 test -z
'$(DB4OBJECTS_DB4O_DLL)' || cp
$(DB4OBJECTS_DB4O_DLL
) $(prefix)/lib
/$(PACKAGE
)
132 make post-install-local-hook
prefix=$(prefix)
134 uninstall-local
: $(ASSEMBLY
) $(ASSEMBLY_MDB
) $(GAMESERVER
) $(DB4OBJECTS_DB4O_DLL
)
135 make pre-uninstall-local-hook
prefix=$(prefix)
136 rm -f
$(prefix)/lib
/$(PACKAGE
)/$(notdir $(ASSEMBLY
))
137 test -z
'$(ASSEMBLY_MDB)' ||
rm -f
$(prefix)/lib
/$(PACKAGE
)/$(notdir $(ASSEMBLY_MDB
))
138 test -z
'$(GAMESERVER)' ||
rm -f
$(prefix)/bin
/$(notdir $(GAMESERVER
))
139 test -z
'$(DB4OBJECTS_DB4O_DLL)' ||
rm -f
$(prefix)/lib
/$(PACKAGE
)/$(notdir $(DB4OBJECTS_DB4O_DLL
))
140 make post-uninstall-local-hook
prefix=$(prefix)