forked from rockfireredmoon/iceee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
49 lines (45 loc) · 2.46 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = asset SOURCE AIScript Data Instance ItemMod Loot Packages QuestScripts SpawnPackages Scenery Etc
EXTRA_DIST = autogen.sh
if DEBUG
AM_CFLAGS = -g3 -O0
AM_CXXFLAGS = -g3 -O0
else
AM_CFLAGS = -O2
AM_CXXFLAGS = -O2
endif
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool
install-exec-hook:
mkdir -p $(DESTDIR)$(sysconfdir)/tawd ; \
cp -n ServerConfig.txt.sample $(DESTDIR)$(sysconfdir)/tawd/ServerConfig.txt ; \
cp -n LogConfig.txt.sample $(DESTDIR)$(sysconfdir)/tawd/LogConfig.txt ; \
\
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd ; \
ln -sf $(DESTDIR)$(sysconfdir)/tawd/LogConfig.txt $(DESTDIR)$(localstatedir)/lib/tawd/LogConfig.txt ; \
ln -sf $(DESTDIR)$(sysconfdir)/tawd/ServerConfig.txt $(DESTDIR)$(localstatedir)/lib/tawd/ServerConfig.txt ; \
ln -sf $(DESTDIR)$(datarootdir)/tawd/AIScript $(DESTDIR)$(localstatedir)/lib/tawd/AIScript ; \
ln -sf $(DESTDIR)$(datarootdir)/tawd/Data $(DESTDIR)$(localstatedir)/lib/tawd/Data ; \
ln -sf $(DESTDIR)$(datarootdir)/tawd/ItemMod $(DESTDIR)$(localstatedir)/lib/tawd/ItemMod ; \
ln -sf $(DESTDIR)$(datarootdir)/tawd/Loot $(DESTDIR)$(localstatedir)/lib/tawd/Loot ; \
ln -sf $(DESTDIR)$(datarootdir)/tawd/Packages $(DESTDIR)$(localstatedir)/lib/tawd/Packages ; \
ln -sf $(DESTDIR)$(datarootdir)/tawd/QuestScripts $(DESTDIR)$(localstatedir)/lib/tawd/QuestScripts ; \
ln -sf $(DESTDIR)$(datarootdir)/tawd/Scenery $(DESTDIR)$(localstatedir)/lib/tawd/Scenery ; \
ln -sf $(DESTDIR)$(datarootdir)/tawd/SpawnPackages $(DESTDIR)$(localstatedir)/lib/tawd/SpawnPackages ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/Accounts ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/Audit ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/AuctionHouse ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/Characters ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/Clan ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/Logs ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/CreditShop ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/Dynamic ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/Grove ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/IGForum ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/Petitions ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/VirtualItems ; \
mkdir -p $(DESTDIR)$(localstatedir)/lib/tawd/ZoneDef ; \
mkdir -p $(DESTDIR)$(localstatedir)/log/tawd ; \
ln -sf $(DESTDIR)$(localstatedir)/log/tawd $(DESTDIR)$(localstatedir)/lib/tawd/Logs ; \
echo Done ;