William Kent
3e52a0e02d
Fix property manipulation in add_firstpass_library
2021-07-28 20:46:28 -04:00
William Kent
b27e9bde41
Disable all built-in rpath handling
2021-07-28 19:09:43 -04:00
William Kent
04cce0b5b9
Fix include path handling in add_firstpass_library()
2021-07-28 19:09:42 -04:00
William Kent
687a7c6e24
Typo fix
2021-07-28 19:09:42 -04:00
William Kent
63324f2346
Fix CMake warning
...
INSTALL_NAME_DIR must still be set,
even if it is unused.
2021-07-28 19:09:42 -04:00
William Kent
3a16908a02
Fix generation of shared library install names
...
Without these changes, the firstpass libraries
would not be fully fungible with their real
counterparts. This would break the firstpass
system, as a different filename would be embedded
in the linker binaries.
2021-07-28 19:09:42 -04:00
William Kent
49cf97156a
Fix dependency cycle
2021-07-28 19:09:42 -04:00
William Kent
9cbddbc2bd
Disable dyld shared cache integration
...
PureDarwin does not use this feature, because it
is primary an obfuscation tactic intended to impede
people from disassembling Apple's libraries. Since we
are an open-source project, this is not a concern.
2021-07-28 19:09:42 -04:00
William Kent
df2e4f1fb1
Add firstpass_libraries.cmake
2021-07-28 19:09:42 -04:00
William Kent
0d6f180c0c
Set the INSTALL_NAME_DIR property
2021-07-28 19:09:42 -04:00
William Kent
a1b5d9e5b3
Greatly simplify MiG invocation
2021-07-28 12:09:44 -04:00
William Kent
8bc9c078ec
Define __PUREDARWIN__ on all targets
2021-07-20 19:51:27 -04:00
William Kent
69c6c6dd7a
Change CMake template to have .in extension
2021-07-20 18:45:19 -04:00
William Kent
8561992fc6
Add bundle_resources.cmake
2021-07-05 14:28:44 -04:00
William Kent
a66cb740d4
Don't pass -fapple-kext to the linker
...
This is not needed and does nothing.
2021-07-05 12:59:46 -04:00
William Kent
8fd594aa43
Add -fapple-kext only for C++ sources
...
clang will emit a non-suppressible warning otherwise.
2021-07-05 12:59:46 -04:00
William Kent
a7bab30d4d
Call add_kmod_info() from add_kext_bundle()
...
This change was made because a kext without a
kmod_info.c file will not load in the kernel.
2021-07-04 18:36:36 -04:00
William Kent
6b63cb2af2
Add MAIN_FUNCTION and ANTIMAIN_FUNCTION to add_kmod_info()
2021-07-04 18:36:36 -04:00
William Kent
f64021fdc6
Typo fix
2021-07-04 18:36:36 -04:00
William Kent
00cf6ffb19
Create add_kmod_info() function
2021-07-04 18:36:36 -04:00
William Kent
9f1565ff13
Split add_kext_bundle() into its own file
2021-07-04 18:36:36 -04:00
William Kent
da46083839
Add KERNEL define
2021-07-04 18:36:35 -04:00
William Kent
4a108c38e0
Add add_kext_bundle() CMake function
2021-07-04 18:36:35 -04:00
William Kent
076139663d
Use shell syntax for -rpath flags
2021-07-03 15:55:16 -04:00
William Kent
2f59855923
Add -install_name flag
2021-07-03 15:54:54 -04:00
William Kent
aa94c7ae64
Enable compilation of assembler sources
2021-07-03 14:40:06 -04:00
William Kent
cf119235cb
Update mig.cmake
2021-06-05 22:37:38 -04:00
William Kent
22b4150d6c
Update crosscompile.cmake
...
I added the INSTALL_NAME_DIR parameter to add_darwin_shared_library,
and fixed an error regarding a missing -nostdlib parameter.
2021-06-05 22:36:31 -04:00
William Kent
808cd63d46
Add remaining add_darwin_* CMake functions
2021-04-16 23:24:42 -04:00
William Kent
22f600f9f1
Redefine cross-compiler targets as aliases
2021-03-29 19:21:13 -04:00
William Kent
3956299f5e
Rename DARWIN_CROSS linker language to just CROSS
2021-01-24 22:18:41 -05:00
William Kent
0e12629b7c
Add add_darwin_static_library() function
...
More add_darwin_*() functions will come as needed.
2021-01-24 16:47:42 -05:00
William Kent
7d163a0390
Add install_manpage function
2021-01-24 14:15:26 -05:00
William Kent
15ab3ded17
Update syntax in mig.cmake
2021-01-23 14:54:44 -05:00
William Kent
9c2c874109
Allow calling target_add_mig_sources() without SERVER or CLIENT
...
In this case, the files will be generated,
but not added to any target. This is useful
when the generated files are to be installed,
not compiled.
2021-01-23 14:43:25 -05:00
William Kent
55a4e4e3d4
Add mig.cmake
2021-01-22 18:32:59 -05:00
William Kent
d8e573ba44
Add and use CMake install_symlink() function
2021-01-22 17:43:29 -05:00
Aladin Quet
c4da05811a
Fixed fdesc mount in pd_installer' (each time launchd' respawned `pd_installer', an additional fdesc was mounted in /dev).
...
Disabled load/unload of diskarbitrationd.plist in case the file is not present.
Added -u (--update) for gnutar: only append files that are newer than the existing in archive.
Minor cosmectic.
2010-01-11 21:24:21 +01:00
Aladin Quet
dfcfedd06b
Added PureDarwin releases choice.
...
Fixed adduser choice.
2010-01-11 02:39:45 +01:00
Aladin Quet
3592893f7d
Minor updates, temporarly removed "add user".
2009-12-30 00:34:26 +01:00
Aladin Quet
a91a2932ce
Generate image from given graph file (Graphviz) via `dot'.
2009-12-29 23:11:07 +01:00
Aladin Quet
a9d8c5bf37
Added bash and/or zsh choice.
...
Minor fixes.
2009-12-14 05:37:27 +01:00
Aladin Quet
811066aeaa
Moved `pd_installer_1' from the "setup/" to the "scripts/" folder.
2009-12-14 04:09:38 +01:00
Aladin Quet
3062172bb7
Fixed typo (wrong PATH) which prevented `pd_ascii_hexley_nano' to be spawned in the "nano" release.
2009-12-14 04:04:24 +01:00
Aladin Quet
52c2b78f09
Using thinned binaryroots for extra binaryroots.
...
Self-deployement improved and live in /usr/local/share/puredarwin.
More path problems fixed.
2009-12-14 01:44:32 +01:00
Aladin Quet
9b2871d9b0
Removing `tput' which does not behave the same from term to OS via shell.
...
Typo fix in sed.
2009-12-14 01:32:36 +01:00
Aladin Quet
3a7223d00e
Removed perl dependency replaced by sed.
...
Fixed "binary not found" problems with absolute default path.
Added (u)mount of devfs in /dev needed by OpenSSL.
2009-12-14 01:23:37 +01:00
Aladin Quet
b8d2cb3b9a
Minimalization of pd_installer.
2009-12-13 15:57:05 +01:00
Aladin Quet
8d6c889b5b
Added a switch for login prompt (getty launchd plist).
...
Removed some launchd plists in the "bootstrap" scenario.
Move IDE cd-rom in vmware from secondary to primary master.
2009-12-13 13:26:52 +01:00
Aladin Quet
788e6a925b
Added pseudo-installer script which should be run by launchd.
2009-12-13 10:48:25 +01:00