Fix for initialization of scalos preferences library. Library is now loaded only...
[AROS-Contrib.git] / Games / lbreakout2 / client / Makefile.am
blobe3bc50c1b1a5087eb08ac58c3b235317bfdb36ee
1 DEFS = @network_flag@ @sdlnet_flag@ @arch_flag@ @warp_flag@ @audio_flag@ @inst_flag@ @hi_inst_flag@ @locdir_flag@ @DEFS@
3 lbreakout2res.o: win32.ico 
4         @echo "1 VERSIONINFO" > $(PACKAGE).rc
5         @echo "FILEVERSION `echo $(VERSION) | $(AWK) 'ORS=""; { subs = gsub(/\./,","); print $0; for (ndx=subs; ndx < 3; ndx++) print ",0"; }'`" >> $(PACKAGE).rc
6         @echo "PRODUCTVERSION `echo $(VERSION) | $(AWK) 'ORS=""; { subs = gsub(/\./,","); print $0; for (ndx=subs; ndx < 3; ndx++) print ",0"; }'`" >> $(PACKAGE).rc
7         @echo "FILEFLAGSMASK 0" >> $(PACKAGE).rc
8         @echo "FILEOS 0x40000" >> $(PACKAGE).rc
9         @echo "FILETYPE 1" >> $(PACKAGE).rc
10         @echo "{" >> $(PACKAGE).rc
11         @echo "  BLOCK \"StringFileInfo\"" >> $(PACKAGE).rc
12         @echo "  {" >> $(PACKAGE).rc
13         @echo "    BLOCK \"040904E4\"" >> $(PACKAGE).rc
14         @echo "    {" >> $(PACKAGE).rc
15         @echo "      VALUE \"CompanyName\", \"LGames - Michael Speck\"" >> $(PACKAGE).rc
16         @echo "      VALUE \"FileDescription\", \"@appname@\"" >> $(PACKAGE).rc
17         @echo "      VALUE \"FileVersion\", \"$(VERSION)\"" >> $(PACKAGE).rc
18         @echo "      VALUE \"InternalName\", \"$(PACKAGE)\"" >> $(PACKAGE).rc
19         @echo "      VALUE \"LegalCopyright\", \"GNU Public License\"" >> $(PACKAGE).rc
20         @echo "      VALUE \"OriginalFilename\", \"$(PACKAGE)$(EXEEXT)\"" >> $(PACKAGE).rc
21         @echo "      VALUE \"ProductName\", \"@appname@\"" >> $(PACKAGE).rc
22         @echo "      VALUE \"ProductVersion\", \"$(VERSION)\"" >> $(PACKAGE).rc
23         @echo "    }" >> $(PACKAGE).rc
24         @echo "  }" >> $(PACKAGE).rc
25         @echo "}" >> $(PACKAGE).rc
26         @echo "0 ICON win32.ico" >> $(PACKAGE).rc
27         @windres -o $@ -i $(PACKAGE).rc
29 bin_PROGRAMS = lbreakout2
30 lbreakout2_SOURCES = credit.c shine.c extras.c balls.c shrapnells.c  \
31 shots.c event.c paddle.c frame.c misc.c bricks.c player.c \
32 file.c config.c setselect.c \
33 item.c menu.c manager.c value.c chart.c \
34 editor.c help.c hint.c theme.c client.c client_recv.c \
35 client_data.c client_handlers.c game.c comm.c slot.c \
36 display.c main.c win32.ico
37 lbreakout2_DEPENDENCIES = @win32_deps@
38 lbreakout2_LDADD = @win32_deps@ ../common/libcommon.a ../gui/libGui.a ../game/libgame.a @mixer_flag@ @sdlnet_lib_flag@
40 EXTRA_DIST = credit.h shine.h extras.h balls.h shrapnells.h  \
41 shots.h event.h paddle.h frame.h misc.h bricks.h player.h \
42 file.h config.h lbreakout.h setselect.h \
43 item.h menu.h manager.h value.h chart.h \
44 editor.h help.h hint.h theme.h client.h client_data.h \
45 client_handlers.h game.h comm.h slot.h \
46 display.h empty.hscr
48 SUBDIRS = gfx sounds levels gui_theme
50 install-data-local:
51         $(mkinstalldirs) $(DESTDIR)$(inst_dir)
52         $(mkinstalldirs) $(DESTDIR)$(hi_dir)
53         if ! test -f $(DESTDIR)$(hi_dir)/lbreakout2.hscr; then \
54           $(INSTALL_DATA) -m 666 $(srcdir)/empty.hscr $(DESTDIR)$(hi_dir)/lbreakout2.hscr; \
55         fi;
57 uninstall-local:
58         rm -rf $(DESTDIR)$(inst_dir)
59         rm -f $(DESTDIR)$(hi_dir)/lbreakout2.hscr
60         rm -rf $(DESTDIR)$(doc_dir)/lbreakout2
62 win32-install-script:
63         @$(STRIP) $(PACKAGE)$(EXEEXT)
64         @echo "Source: \"`pwd -W`\\$(PACKAGE)$(EXEEXT)\"; DestDir: \"{app}\"; CopyMode: alwaysoverwrite" >> @win32_inst_script@
65         @list='$(SUBDIRS)'; for subdir in $$list; do \
66           (cd $$subdir  \
67           && $(MAKE) $(AM_MAKEFLAGS) win32-install-script); \
68         done