summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile.unix
Commit message (Collapse)AuthorAgeFilesLines
* Modifying makefiles to allow user group and install dir to be overridden so ↵ennewalker2008-07-041-3/+2
| | | | | | that 'make install' can be used to build binary packages for release. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6400 c06c8d41-db1a-0410-9941-cceddc491573
* Moved all option files to settings directory.dshaligram2008-05-261-4/+6
| | | | | | | | | Crawl loads init.txt from data file path if it can't find any other .crawlrc. makefile changes to copy settings directory to install dir. Tested only on Linux/tty. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5258 c06c8d41-db1a-0410-9941-cceddc491573
* No more -O2 for debug builds.ennewalker2008-05-091-0/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4962 c06c8d41-db1a-0410-9941-cceddc491573
* For consistency, move source/lua/ to source/dat/lua/.dolorous2008-05-041-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4867 c06c8d41-db1a-0410-9941-cceddc491573
* For now, fix [1956144] by removing hardcoded symlink.dolorous2008-05-021-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4810 c06c8d41-db1a-0410-9941-cceddc491573
* Fix installation of lua files. This should also fix [1956142].dolorous2008-05-021-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4809 c06c8d41-db1a-0410-9941-cceddc491573
* Eliminate recursive copying from the build, as it'll copy the hidden SVN dolorous2008-03-151-1/+2
| | | | | | | directories, which aren't needed. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3652 c06c8d41-db1a-0410-9941-cceddc491573
* Account for the new database directory when building. Apply evktalo's dolorous2008-03-151-2/+5
| | | | | | | | patch [1914727] to fix makefile.mgw, and apply similar changes to the other makefiles to fix the same problem (untested). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3651 c06c8d41-db1a-0410-9941-cceddc491573
* Attempt to use ndbm.h only on Mac OS.dshaligram2008-02-241-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3457 c06c8d41-db1a-0410-9941-cceddc491573
* Tweak makefile to clobber existing symlink to Crawl.dshaligram2008-01-251-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3334 c06c8d41-db1a-0410-9941-cceddc491573
* Allow UNICODE_LOCALE=. in makefile.unix to specify a setlocale(LC_ALL,"") ↵dshaligram2007-11-201-15/+20
| | | | | | call instead of forcing a specific locale (adapted from Guus' Debian patch). Also fixed some makefile.unix checks to strip variables that are prone to trailing spaces. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2885 c06c8d41-db1a-0410-9941-cceddc491573
* Added HURRY option to makefile.unix.haranp2007-11-031-2/+7
| | | | | | | Slightly changed how randart weapon/armour mimics work. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2730 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed Lua dependency for trunk.dshaligram2007-10-211-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2510 c06c8d41-db1a-0410-9941-cceddc491573
* Added -O2 -Wuninitialized to Unix makefile.dshaligram2007-10-121-3/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2446 c06c8d41-db1a-0410-9941-cceddc491573
* Unicode makefile tweak for trunk.dshaligram2007-10-071-24/+24
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2367 c06c8d41-db1a-0410-9941-cceddc491573
* Removed unnecessary conditional that may cause issues building Lua.dshaligram2007-10-051-3/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2333 c06c8d41-db1a-0410-9941-cceddc491573
* Unicode support tweak: always set locale to what's specified in ↵dshaligram2007-10-041-0/+9
| | | | | | UNICODE_LOCALE, defaulting to en_US.UTF-8. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2322 c06c8d41-db1a-0410-9941-cceddc491573
* Oops, accidently checked in my local makefiles; sorry.zelgadis2007-09-161-4/+4
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2104 c06c8d41-db1a-0410-9941-cceddc491573
* Add dump sections for branch/area details for turns andzelgadis2007-09-161-4/+4
| | | | | | | | | | | | experience/kills, with the section names being turns_by_place and kills_by_place. Also includes a "visits" dump section (included in the "misc" section") a brief description of the number of branches/levels/areas/etc you visited. Breaks savefile compatibility. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2102 c06c8d41-db1a-0410-9941-cceddc491573
* Make CLUA_BINDINGS the default for unix builds.zelgadis2007-09-161-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2100 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed broken install target in makefile.unix (cbus).dshaligram2007-09-101-0/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2062 c06c8d41-db1a-0410-9941-cceddc491573
* No txt files left in dat/ (VN).dshaligram2007-08-161-1/+0
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2006 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed lua_file not being processed correctly when Crawl is installed withdshaligram2007-08-151-0/+1
| | | | | | | | make install. Fixed makefile.unix to copy description text files to the right places. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2004 c06c8d41-db1a-0410-9941-cceddc491573
* Implemented .des file caching (speeds startup a fair bit): .des files aredshaligram2007-06-241-2/+1
| | | | | | | | | | parsed only once (unless they're modified again). Crawl also keeps only map stubs in memory (name, place, orient, tags) and loads the map body only when it is actually selected by the dungeon builder. This probably breaks the Windows build, will be fixed soonish. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1637 c06c8d41-db1a-0410-9941-cceddc491573
* Pull c_macro out of the code and into clua/macro.lua.dshaligram2007-06-221-5/+7
| | | | | | | | User-script dofile and loadfile check for "clua" anywhere in the file name and refuse to load the file in that case; only core Crawl code can load Lua files from clua/*. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1622 c06c8d41-db1a-0410-9941-cceddc491573
* Tweaks to build with Unicode support on Mac OS. Unfortunately none of thedshaligram2007-06-101-0/+9
| | | | | | | | widely-used Mac terminal emulators has a clue on how to handle Unicode block characters (Terminal.app, iTerm, Terminator,...; they all suck), so Mac Unicode lovers will probably need to run X and urxvt or something along those lines. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1567 c06c8d41-db1a-0410-9941-cceddc491573
* Added support for Unicode characters in the map display with ncursesw (enableddshaligram2007-06-071-3/+15
| | | | | | | | | | | | by setting UNICODE_GLYPHS=y in makefile.unix). Removed the (1,1) offset between map and grid. Both map and grid are now in sync. Store object indexes instead of raw characters in env.map so that players can change charsets and have the display update immediately. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1552 c06c8d41-db1a-0410-9941-cceddc491573
* Drop -Wconversion; it complains about implicit signed->unsigned conversions ondshaligram2007-06-051-1/+1
| | | | | | newer gccs. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1536 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed silly type-conversion bugs I introduced, added -Wconversion todshaligram2007-06-021-1/+1
| | | | | | makefile.unix to catch these problems sooner. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1513 c06c8d41-db1a-0410-9941-cceddc491573
* Added Lemuel's mines minivaults.dshaligram2007-05-091-1/+1
| | | | | | | Extended map DEPTH: attribute to support branch specifiers and negated depth specifiers. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1442 c06c8d41-db1a-0410-9941-cceddc491573
* Allow Mac users to double-click to launch Crawl:dshaligram2007-05-041-2/+4
| | | | | | | | | - Use argv[0] to figure out where Crawl lives and where to find data files. The Mac Finder sets the working directory to / and the full path to the executable is available in argv[0] when the user double-clicks. - Converted some of the old char*s to std::string. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1407 c06c8d41-db1a-0410-9941-cceddc491573
* Older MinGW don't seem to typedef int64_t, hacked.dshaligram2007-04-221-2/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1343 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed trunk build for DOS and Windows. DOS and Windows builds use a SQLite db,dshaligram2007-04-221-15/+50
| | | | | | | | | | with a dbm-like wrapper so database.cc builds unchanged. Added SQLite to the source tree. Only DOS and Windows builds use it at the moment, but it can be added to Unix builds easily (and will be added automatically if a suitable db.h or ndbm.h is not found). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1342 c06c8d41-db1a-0410-9941-cceddc491573
* Refix build for Mac OS.dshaligram2007-04-201-1/+7
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1339 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed source to build on Linux. Should still build on Mac OS, but this isdshaligram2007-04-201-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | untested. Will probably not build out-of-the-box on other BSDs (we need an autoconf script to use the right dbm headers). DOS and Windows builds are still broken pending adding Berkeley DB 1.x sources to the Crawl tree, which I'll probably do sometime tomorrow. Renamed descriptions.txt -> descript.txt to fit into DOS filename limits. The descript.txt -> descript.db conversion is now performed automatically by Crawl on startup if descript.txt is newer than descript.db (or descript.db does not exist). descript.db is saved in the save directory which is a convenient directory that is guaranteed writable by Crawl. The makedb.pl script is no longer necessary (and is unreliable anyway, because it's easy to have multiple dbm versions with incompatible db formats and have the installed Perl link with one while Crawl uses the other, leading to nasty segfaults). Some .des file changes (Erik). Deep elf sorcerers are M_EVIL. Ghosts get mephitic cloud. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1337 c06c8d41-db1a-0410-9941-cceddc491573
* Included Lua 5.1.2 source tree in crawl-ref/source/util. This is so we can usedshaligram2007-04-141-6/+24
| | | | | | | | | | | | | | | | | | | | | | Lua in core Crawl code without making Crawl harder to build (than it is already). Crawl's makefiles will call the Lua makefile if necessary (i.e., if liblua.a doesn't already exist). CLUA_BINDINGS is still not enabled by default (and will not be enabled by default in the source tree). Crawl will use two different Lua interpreter instances - one for user scripts (if CLUA_BINDINGS is defined), the other (not #ifdef conditionalised) for core game Lua glue. Lua is statically linked by default. We could change this if necessary, although the added size is only 200k. The Lua sources are almost unmodified; I've only added new targets for Crawl's platform-specific makefiles to call into to build liblua.a; I've not modified any existing targets, and all Lua READMEs and copyright notices are intact. Needs integration with Xcode build. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1305 c06c8d41-db1a-0410-9941-cceddc491573
* Updated build instructions for DOS, Windows, Linux.dshaligram2007-04-051-1/+1
| | | | | | | | | | | | | | | | | Fixed targeting for Sandblast, Bone Shards, verified that targeting works okay for all spells (woof). Updated level layouts with more random features (David). Made makefile.unix default to using flex instead of lex. Tweaked beam names for dragon breath. s/Paralyze/Paralyse/ Don't show current target for direction-only targeting. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1222 c06c8d41-db1a-0410-9941-cceddc491573
* Updated makefile version number detection.dshaligram2007-04-011-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1162 c06c8d41-db1a-0410-9941-cceddc491573
* Fixed distclean for trunk.dshaligram2007-04-011-1/+1
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1160 c06c8d41-db1a-0410-9941-cceddc491573
* Updated makefile.dos and makefile.mgw to use dependencies if available.dshaligram2007-02-091-1/+1
| | | | | | Renamed dependency file to makefile.dep for DOS. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@943 c06c8d41-db1a-0410-9941-cceddc491573
* [1638394] Added support for portal vaults.dshaligram2007-02-071-1/+0
| | | | | | Included David's portal vaults for the Mines, Lair and Vaults. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@930 c06c8d41-db1a-0410-9941-cceddc491573
* Removed USE_NEW_RANDOM, USE_MACROS.dshaligram2007-01-251-10/+18
| | | | | | | | | | | | | Removed DOS_TERM, PLAIN_TERM special casery - all platforms get PLAIN_TERM. Better end-of-greedy-explore reporting for items on traps (Erik). Cleaned up find_travel_pos - moved guts of travel pathfinding to travel_pathfind class. Miscellaneous other stuff. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@882 c06c8d41-db1a-0410-9941-cceddc491573
* Added a basic depend target. Maybe we should do full autodependency building?dshaligram2007-01-171-1/+16
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@860 c06c8d41-db1a-0410-9941-cceddc491573
* SAVEDIR and DATADIR should be commented out by default.dshaligram2007-01-111-2/+2
| | | | git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@832 c06c8d41-db1a-0410-9941-cceddc491573
* Handle morgue_dir option better (create dir if it doesn't exist), updateddshaligram2007-01-111-2/+15
| | | | | | | | | makefile.unix to copy docs to the data directory for make install. Added SAVEDIR variable to the makefile so the user doesn't need to edit AppHdr.h for SAVE_DIR_PATH. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@831 c06c8d41-db1a-0410-9941-cceddc491573
* Greedy-explore tweaks: speedup by not double-floodfilling, and handle inabilitydshaligram2006-12-021-2/+2
| | | | | | to pick stuff up gracefully. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@541 c06c8d41-db1a-0410-9941-cceddc491573
* Merged stone_soup r15:451 into trunk.dshaligram2006-11-221-0/+198
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@452 c06c8d41-db1a-0410-9941-cceddc491573