/[enigma]/enigma/src/Makefile.am
ViewVC logotype

Diff of /enigma/src/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by dheck, Fri Jan 24 20:04:38 2003 UTC revision 1.8 by dheck, Thu Jan 30 20:27:57 2003 UTC
# Line 2  Line 2 
2  # Makefile prototype for Enigma.  # Makefile prototype for Enigma.
3  #  #
4  SUBDIRS = px  SUBDIRS = px
5    
6  bin_PROGRAMS = enigma  bin_PROGRAMS = enigma
7    
8  # Build font converter only if SDL_ttf library is present  # Build font converter only if SDL_ttf library is present
9  if BUILDTTF2BMF  if BUILDTTF2BMF
10  noinst_PROGRAMS = ttf2bmf  noinst_PROGRAMS = ttf2bmf
11  ttf2bmf_SOURCES = ttf2bmf.cc getopt.c getopt1.c getopt.h  ttf2bmf_SOURCES = ttf2bmf.cc getopt.c getopt1.c getopt.h
12    ttf2bmf_CXXFLAGS = @SDL_CFLAGS@
13  ttf2bmf_LDADD = -lSDL_ttf  ttf2bmf_LDADD = -lSDL_ttf
14  endif  endif
15    
# Line 21  LUA_IF_SOURCES =                       \ Line 23  LUA_IF_SOURCES =                       \
23          enigma-lua.cc enigma-lua.hh     \          enigma-lua.cc enigma-lua.hh     \
24          px-lua.cc px-lua.hh          px-lua.cc px-lua.hh
25    
26    LIBS = @SDL_LIBS@
27    
28  enigma_SOURCES =                        \  enigma_SOURCES =                        \
29          $(LUA_IF_SOURCES)               \          $(LUA_IF_SOURCES)               \
30          SDL_gfxPrimitives.c             \          SDL_gfxPrimitives.c             \
# Line 52  enigma_SOURCES =                       \ Line 56  enigma_SOURCES =                       \
56          world.cc world.hh          world.cc world.hh
57    
58  if MINGW32  if MINGW32
59  enigma_LDADD = px/libpx.a enigma_ico.o -llua -llualib \  wingw_ldadd = enigma_ico.o
                 ../lib-src/libtolua/libtolua.a \  
                 ../lib-src/oxydlib/liboxyd.a  
   
60  enigma_ico.o: enigma.rc enigma.ico  enigma_ico.o: enigma.rc enigma.ico
61          $(WINDRES) enigma.rc -O coff -o enigma_ico.o          $(WINDRES) enigma.rc -O coff -o enigma_ico.o
62  else  else
63  enigma_LDADD = px/libpx.a -llua -llualib \  mingw_ldadd =
64    endif
65    
66    enigma_LDADD = $(mingw_ldadd) \
67                   @SDL_LIBS@ px/libpx.a -llua -llualib \
68                  ../lib-src/libtolua/libtolua.a \                  ../lib-src/libtolua/libtolua.a \
69                  ../lib-src/oxydlib/liboxyd.a                  ../lib-src/oxydlib/liboxyd.a
70  endif  
71    enigma_CXXFLAGS = @SDL_CFLAGS@
72    enigma_CFLAGS = @SDL_CFLAGS@
73    
74  # Rule for creating Lua interfaces from package descriptions using 'tolua'  # Rule for creating Lua interfaces from package descriptions using 'tolua'
75  %-lua.cc %-lua.hh: %-lua.pkg  %-lua.cc %-lua.hh: %-lua.pkg

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26