2a8fabf4ad
-Convert the include directory over to using bsdmake syntax -Update/add mkfiles -Modify install(1) so that it can create symlinks -Update makefiles to use new install(1) options -Rename /usr/include/ibm to /usr/include/i386 -Create /usr/include/machine symlink to arch header files -Move vm_i386.h to its new home in the /usr/include/i386 -Update source files to #include the header files at their new homes. -Add new gnu-includes target for building GCC headers
31 lines
583 B
Makefile
31 lines
583 B
Makefile
# Makefile for commands/i386.
|
|
|
|
CFLAGS = -D_MINIX -D_POSIX_SOURCE
|
|
CCLD = $(CC) -i $(CFLAGS)
|
|
MAKE = exec make -$(MAKEFLAGS)
|
|
CC = exec cc
|
|
|
|
all:: acd
|
|
|
|
acd: acd.c
|
|
$(CCLD) -o $@ -DARCH=\"`arch`\" -DDESCR=\"/usr/lib/descr\" $?
|
|
install -S 50kw $@
|
|
|
|
install:: /usr/bin/acd /usr/bin/cc /usr/bin/m2 /usr/bin/pc \
|
|
/usr/lib/descr
|
|
|
|
/usr/bin/acd: acd
|
|
install -cs -o bin $? $@
|
|
|
|
/usr/bin/cc /usr/bin/m2 /usr/bin/pc: /usr/bin/acd
|
|
install -l h $? $@
|
|
|
|
/usr/lib/descr: acd.descr
|
|
install $? $@
|
|
|
|
clean::
|
|
rm -rf a.out core acd
|
|
|
|
all install clean::
|
|
cd asmconv && $(MAKE) $@
|
|
cd gas2ack && $(MAKE) $@
|