Makefile
changeset 1476 abbcea18a01c
parent 1435 89d0c6a56a9b
child 1479 3bb687fbe344
equal deleted inserted replaced
1475:b5cf1fc28304 1476:abbcea18a01c
    96 # DEST_DIR:	make install will use this directory instead of the filesystem
    96 # DEST_DIR:	make install will use this directory instead of the filesystem
    97 # 		root to install its files. This should normally not be used by
    97 # 		root to install its files. This should normally not be used by
    98 # 		ordinary users, currently it is only used for the debian
    98 # 		ordinary users, currently it is only used for the debian
    99 # 		packaging. This value should only be set when calling `make
    99 # 		packaging. This value should only be set when calling `make
   100 # 		install' and is not saved in Makefile.config
   100 # 		install' and is not saved in Makefile.config
       
   101 #               (Note that DESTDIR is checked if DEST_DIR is not set.)
   101 #
   102 #
   102 # STATIC: link statically
   103 # STATIC: link statically
   103 # CYGWIN: build in Cygwin environment
   104 # CYGWIN: build in Cygwin environment
   104 # MINGW: build with MingW compiler, link with MingW libraries
   105 # MINGW: build with MingW compiler, link with MingW libraries
   105 #
   106 #
   510 endif
   511 endif
   511 
   512 
   512 ifdef WIN32
   513 ifdef WIN32
   513 LIBS += -lws2_32 -lwinmm -lgdi32 -ldxguid -lole32 -lstdc++
   514 LIBS += -lws2_32 -lwinmm -lgdi32 -ldxguid -lole32 -lstdc++
   514 TTDLDFLAGS += -Wl,--subsystem,windows
   515 TTDLDFLAGS += -Wl,--subsystem,windows
       
   516 endif
       
   517 
       
   518 ifndef DEST_DIR
       
   519 DEST_DIR = $(DESTDIR)
   515 endif
   520 endif
   516 
   521 
   517 # sets up the paths for use for make install
   522 # sets up the paths for use for make install
   518 ifdef INSTALL
   523 ifdef INSTALL
   519 # We use _PREFIXED vars here, so the paths are recalculated every time, and
   524 # We use _PREFIXED vars here, so the paths are recalculated every time, and