summaryrefslogtreecommitdiff
path: root/Makefile.in
AgeCommit message (Collapse)AuthorFilesLines
2024-06-07Use -ggdb everywhereFreeyorp1-1/+1
-fvar-tracking and -fvar-tracking-assignments are enabled by default when available, so are not explicitly set here.
2024-06-05real.make: rank-fwd: Allow src/conf specificationFreeyorp1-1/+1
Previously, only ../conf style includes were excluded from expecting a fwd.hpp file to be provided for the directory. Permit src/conf style includes too.
2024-06-05DTEST: Provide LD_LIBRARY_PATHFreeyorp1-1/+1
How did this ever work before? Did it expect there to be a previously installed libtmwa-shared.so and run tests against that, rather than what was just built?
2024-06-05real.make: Permit existant SRC_DIR relative pathsFreeyorp1-2/+6
This allows files that already exist to be specified relative to SRC_DIR, rather than just relative to the current file. This is used in tests, though it appears not to be used in main tmwa.
2024-06-05Create generated files in the build directoryFreeyorp1-7/+3
Also, just require the use of full paths when #including a generated file. This fixes fresh out-of-tree builds using attoconf, and gets rid of a lot of annoying terminal output when attoconf is tracing dependencies.
2024-06-05real.make: Fix out-of-tree buildsFreeyorp1-2/+8
I appreciate and respect how densely packed Makefile code can be. hahahaahahahaaa
2024-06-05real.make: Allow generated files not in conf-rawFreeyorp1-1/+4
2024-06-05real.make: Split dependency sanitization stepFreeyorp1-4/+12
If we want to be able to filter specific other entries, such as for the sake of more generated files, we'll want to be doing this over a list that has already been made relative and simplified.
2024-06-05real.make: Document dependency sanitization stepFreeyorp1-1/+32
A little indentation and formatting, and quite a lot of commenting, goes a long way. This doesn't change any code, it only reformats it.
2024-06-05Fix up .d generation for generated filesFreeyorp1-0/+8
2024-06-05version.mk: Always generate version.hppFreeyorp1-1/+2
2024-06-05Generate {install,version}.hpp through attoconfFreeyorp1-0/+1
Or more specifically, in the attoconf buildchain. attoconf itself directly generates src/conf/install.hpp alongside Makefile, but version inforation is only available later. To generate version.hpp, I extended version.mk slightly to provide the recipe. It's not anywhere near as generic as real.make tends to be, but with any luck we'll soon be doing all builds through cmake going forward. The template for install.hpp has been changed to use variables actually provided by attoconf. PACKAGE{SYSCONF,LOCALSTATE}DIR are actually only defined in real.make, and then only in terms of SYSCONFDIR and LOCALSTATEDIR, adding `/tmwa`. It's simpler to just use the attoconf variable and adjust the template, which conveniently also simplifies the construction in CMakeLists.txt, too.
2024-06-04Rename .make to .mkFreeyorp1-7/+7
.mk is more widely understood than .make, for IDE usage.
2024-06-04real.make: Use C++11Freeyorp1-2/+2
C++0x was released as C++11 nearly a decade and a half ago. My version of cmake doesn't recognize it in CMAKE_CXX_STANDARD, which makes before/after comparison difficult.
2024-03-08Correct issue with GTEST_DIR not being passed properly.Fedja Beader1-2/+9
Note how gcc uses /usr/include/gtest (default search path) as the -I for GTEST_DIR is not on the gcc command line: System-wide gtest is 1.14 and requires C++14 while provided one is 1.8.1. GTEST_DIR="$PWD/deps/googletest/googletest" ./configure --user make[1]: Leaving directory '/data/users/tmwa/proj/tmw/classic/tmwa' find: ‘doc-gen/’: No such file or directory g++ -std=c++0x -I . -I ./include -DGENERATING_DEPENDENCIES -O2 -g -fstack-protector -fno-strict-aliasing -fvisibility=hidden -fvisibility=hidden -MG -MM \ -MT 'ast/item_test := ' \ -MF obj/ast/item_test.d src/ast/item_test.cpp In file included from /usr/include/gtest/gtest-message.h:57, from /usr/include/gtest/gtest-assertion-result.h:46, from /usr/include/gtest/gtest.h:64, from src/ast/item_test.cpp:21: /usr/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported. 270 | #error C++ versions less than C++14 are not supported. | ^~~~~ Makefile:331: obj/ast/item_test.d: No such file or directory
2019-08-28add support for busybox-install (Alpine)gumi1-1/+1
2018-03-05gcc works just fine with clanggumi1-5/+0
2018-03-05fix gdb tests for python3gumi1-1/+1
2018-03-05explicitly use python 2.7 in the makefilegumi1-1/+1
2015-05-25Fix fabi gcc traviswushin1-3/+3
2015-04-30Remove tmwa-monitorwushin1-1/+1
2015-01-22Generate most config parsersBen Longbons1-0/+1
2015-01-03Make makefile more reliableBen Longbons1-24/+28
2015-01-03Document every network packet's pre, post, and descBen Longbons1-0/+13
With pretty pictures (not a submodule because large images). Part of this commit was originally made by Rawng.
2014-11-11Fix a funny ASAN bugv14.11.11Ben Longbons1-1/+1
2014-11-04Use the new ASTsBen Longbons1-5/+10
2014-10-26Fix header rankingBen Longbons1-0/+24
2014-10-16Split tests a lotBen Longbons1-41/+69
This probably takes longer for a from-scratch compile, but saves big on incremental recompiles.
2014-10-15Remove the need for empty source files to check headersBen Longbons1-0/+7
2014-10-08Split script.cppBen Longbons1-0/+1
2014-09-29Support static libraries since clang is retardedBen Longbons1-6/+33
2014-09-18Update for cross-compilationBen Longbons1-1/+2
2014-08-29Wow, it was really this easy?Ben Longbons1-1/+1
2014-08-28Stuff that's necessary for travis to debug debugBen Longbons1-0/+5
2014-08-28Oops, debug-debug tests were not being run on travisBen Longbons1-1/+1
2014-08-27cleanup installBen Longbons1-34/+55
2014-08-27fix testsBen Longbons1-1/+1
2014-08-27Yes, I doBen Longbons1-0/+2
2014-08-27Debug debuggingBen Longbons1-11/+31
2014-08-25Optimize string literals in refcounted stringsBen Longbons1-1/+3
2014-08-05Re-add some old make shortcutsBen Longbons1-0/+4
2014-07-18Fix travisBen Longbons1-2/+5
2014-07-17Add dir annoyancesBen Longbons1-33/+127
2014-07-17Add 'make bindist'Ben Longbons1-2/+22
2014-06-27This is more reliableBen Longbons1-0/+3
2014-06-26Stick everything in a namespaceBen Longbons1-0/+6
2014-04-26Stricter grep checksBen Longbons1-0/+4
2014-04-24Implement "make clean-deps" and "make clean-obj"Ben Longbons1-3/+10
2014-04-24Conform magic headers to the decl/def ruleBen Longbons1-2/+2
2014-04-23Significantly improve makefile speedBen Longbons1-28/+62