diff --git a/bin/makefile-freebsd.aarch64-x b/bin/makefile-freebsd.aarch64-x new file mode 100644 index 0000000..6e263f8 --- /dev/null +++ b/bin/makefile-freebsd.aarch64-x @@ -0,0 +1,27 @@ +# Options for FreeBSD, ARMv7 and X-Windows + +CC = clang -m64 $(CLANG_CFLAGS) + +XFILES = $(OBJECTDIR)xmkicon.o \ + $(OBJECTDIR)xbbt.o \ + $(OBJECTDIR)dspif.o \ + $(OBJECTDIR)xinit.o \ + $(OBJECTDIR)xscroll.o \ + $(OBJECTDIR)xcursor.o \ + $(OBJECTDIR)xlspwin.o \ + $(OBJECTDIR)xrdopt.o \ + $(OBJECTDIR)xwinman.o + + +XFLAGS = -I/usr/local/include -DXWINDOW -DLOCK_X_UPDATES + +# OPTFLAGS is normally -O2. +OPTFLAGS = -O2 -g +DFLAGS = $(XFLAGS) -DRELEASE=351 + +LDFLAGS = -L/usr/local/lib -lX11 -lc -lm +LDELDFLAGS = -L/usr/local/lib -lX11 -lc -lm + +OBJECTDIR = ../$(RELEASENAME)/ + +default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex diff --git a/bin/makefile-freebsd.x86_64-x b/bin/makefile-freebsd.x86_64-x new file mode 100644 index 0000000..208bc2e --- /dev/null +++ b/bin/makefile-freebsd.x86_64-x @@ -0,0 +1,27 @@ +# Options for FreeBSD, Intel x86_64 and X-Windows + +CC = clang -m64 $(CLANG_CFLAGS) + +XFILES = $(OBJECTDIR)xmkicon.o \ + $(OBJECTDIR)xbbt.o \ + $(OBJECTDIR)dspif.o \ + $(OBJECTDIR)xinit.o \ + $(OBJECTDIR)xscroll.o \ + $(OBJECTDIR)xcursor.o \ + $(OBJECTDIR)xlspwin.o \ + $(OBJECTDIR)xrdopt.o \ + $(OBJECTDIR)xwinman.o + + +XFLAGS = -I/usr/local/include -DXWINDOW -DLOCK_X_UPDATES + +# OPTFLAGS is normally -O2. +OPTFLAGS = -O2 -g +DFLAGS = $(XFLAGS) -DRELEASE=351 + +LDFLAGS = -L/usr/local/lib -lX11 -lc -lm +LDELDFLAGS = -L/usr/local/lib -lX11 -lc -lm + +OBJECTDIR = ../$(RELEASENAME)/ + +default : ../$(OSARCHNAME)/lde ../$(OSARCHNAME)/ldex diff --git a/bin/makefile-init-freebsd.aarch64 b/bin/makefile-init-freebsd.aarch64 new file mode 100644 index 0000000..e39644c --- /dev/null +++ b/bin/makefile-init-freebsd.aarch64 @@ -0,0 +1,27 @@ +# Options for FreeBSD, ARMv7 and X-Windows + +CC = clang -m64 $(CLANG_CFLAGS) + +XFILES = $(OBJECTDIR)xmkicon.o \ + $(OBJECTDIR)xbbt.o \ + $(OBJECTDIR)dspif.o \ + $(OBJECTDIR)xinit.o \ + $(OBJECTDIR)xscroll.o \ + $(OBJECTDIR)xcursor.o \ + $(OBJECTDIR)xlspwin.o \ + $(OBJECTDIR)xrdopt.o \ + $(OBJECTDIR)xwinman.o + + +XFLAGS = -I/usr/local/include -DXWINDOW -DLOCK_X_UPDATES + +# OPTFLAGS is normally -O0 for init +OPTFLAGS = -O0 -g +DFLAGS = $(XFLAGS) -DRELEASE=351 -DNOVERSION -DINIT + +LDFLAGS = -L/usr/local/lib -lX11 -lc -lm +LDELDFLAGS = -L/usr/local/lib -lX11 -lc -lm + +OBJECTDIR = ../$(RELEASENAME)/ + +default : ../$(OSARCHNAME)/ldeinit diff --git a/bin/makefile-init-freebsd.x86_64 b/bin/makefile-init-freebsd.x86_64 new file mode 100644 index 0000000..2c3d9ce --- /dev/null +++ b/bin/makefile-init-freebsd.x86_64 @@ -0,0 +1,27 @@ +# Options for FreeBSD, Intel x86_64 and X-Windows + +CC = clang -m64 $(CLANG_CFLAGS) + +XFILES = $(OBJECTDIR)xmkicon.o \ + $(OBJECTDIR)xbbt.o \ + $(OBJECTDIR)dspif.o \ + $(OBJECTDIR)xinit.o \ + $(OBJECTDIR)xscroll.o \ + $(OBJECTDIR)xcursor.o \ + $(OBJECTDIR)xlspwin.o \ + $(OBJECTDIR)xrdopt.o \ + $(OBJECTDIR)xwinman.o + + +XFLAGS = -I/usr/local/include -DXWINDOW -DLOCK_X_UPDATES + +# OPTFLAGS is normally -O0 for init +OPTFLAGS = -O0 -g +DFLAGS = $(XFLAGS) -DRELEASE=351 -DNOVERSION -DINIT + +LDFLAGS = -L/usr/local/lib -lX11 -lc -lm +LDELDFLAGS = -L/usr/local/lib -lX11 -lc -lm + +OBJECTDIR = ../$(RELEASENAME)/ + +default : ../$(OSARCHNAME)/ldeinit