forked from mirrors/tftp-hpa-google

bsd_signal() may not be defined, and there is really no reason to even try to use it if sigaction() is avaiable; using sigaction() guarantees the semantics we really want. Replace uses of common variables with explicit instantiation and extern declarations in a header file. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
27 lines
329 B
Makefile
27 lines
329 B
Makefile
#
|
|
# Extra functions which may not be available everywhere
|
|
#
|
|
|
|
SRCROOT = ..
|
|
|
|
-include ../MCONFIG
|
|
include ../MRULES
|
|
|
|
ifeq ($(LIBOBJS),)
|
|
all:
|
|
else
|
|
all: libxtra.a
|
|
endif
|
|
|
|
install:
|
|
|
|
clean:
|
|
-rm -f *.a *.o *.obj *.exe
|
|
|
|
distclean: clean
|
|
-rm -f *~
|
|
|
|
libxtra.a: $(LIBOBJS)
|
|
-rm -f libxtra.a
|
|
$(AR) libxtra.a $(LIBOBJS)
|
|
$(RANLIB) libxtra.a
|