2016-07-05 21:52:03 +02:00
|
|
|
# $Id: GNUmakefile,v 1.8 2016-07-05 19:52:03 hjp Exp $
|
1998-05-31 03:20:06 +02:00
|
|
|
# $Log: GNUmakefile,v $
|
2016-07-05 21:52:03 +02:00
|
|
|
# Revision 1.8 2016-07-05 19:52:03 hjp
|
|
|
|
# Add target distclean
|
|
|
|
#
|
2011-01-30 20:41:15 +01:00
|
|
|
# Revision 1.7 2011-01-30 19:41:15 hjp
|
|
|
|
# Replaced GNUmakerules.sh with GNUmakerules.pl because Debian now uses a
|
|
|
|
# /bin/sh which doesn't understand echo -e.
|
|
|
|
#
|
2011-01-30 20:33:28 +01:00
|
|
|
# Revision 1.6 2011-01-30 19:33:28 hjp
|
|
|
|
# removed duplicate rules
|
|
|
|
#
|
2011-01-30 20:32:33 +01:00
|
|
|
# Revision 1.5 2011-01-30 19:32:33 hjp
|
|
|
|
# create GNUmakerules and GNUmakevars
|
|
|
|
#
|
2008-04-05 12:04:53 +02:00
|
|
|
# Revision 1.4 2008-04-05 10:04:53 hjp
|
|
|
|
# added GNUmake*.sh
|
|
|
|
#
|
|
|
|
# Revision 1.3 2003/02/14 11:59:43 hjp
|
2003-02-14 12:59:43 +01:00
|
|
|
# Added list of #defines from HP-UX.
|
|
|
|
#
|
|
|
|
# Revision 1.2 1998/05/31 01:20:06 hjp
|
1998-05-31 03:20:06 +02:00
|
|
|
# GNUmakerules split into GNUmakerules and GNUmakevars.
|
|
|
|
#
|
|
|
|
|
|
|
|
include GNUmakevars
|
1997-12-05 09:39:46 +01:00
|
|
|
|
|
|
|
all: errno
|
|
|
|
|
2003-02-14 12:59:43 +01:00
|
|
|
errno: errno.o errno_list.o
|
|
|
|
errno_list.c: errno.list make_errno_list
|
|
|
|
./make_errno_list
|
|
|
|
|
1997-12-05 09:39:46 +01:00
|
|
|
clean:
|
|
|
|
rm errno
|
2008-04-05 12:04:53 +02:00
|
|
|
|
2016-07-05 21:52:03 +02:00
|
|
|
distclean: clean
|
|
|
|
rm -f GNUmakevars GNUmakerules errno_list.c
|
|
|
|
|
1997-12-05 09:39:46 +01:00
|
|
|
install: $(BINDIR)/errno
|
2008-04-05 12:04:53 +02:00
|
|
|
|
2011-01-30 20:32:33 +01:00
|
|
|
GNUmakevars: GNUmakevars.sh
|
|
|
|
sh ./$^ > $@
|
2011-01-30 20:41:15 +01:00
|
|
|
GNUmakerules: GNUmakerules.pl
|
|
|
|
perl ./$^ > $@
|
2011-01-30 20:32:33 +01:00
|
|
|
|
2008-04-05 12:04:53 +02:00
|
|
|
include GNUmakerules
|
2011-01-30 20:32:33 +01:00
|
|
|
-include *.d
|