blob: 729e400b183301f10213c540e54cb6cde1b12a86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
srcdir = @srcdir@
VPATH = @srcdir@
include ../config.mk
OBJS = @LIBOBJS@
SOURCES = $(OBJS:.o=.c)
ALL_SOURCES = getopt.c getopt1.c
ALL_HEADERS = getopt.h
OTHERFILES = Makefile.in
DISTFILES = $(ALL_SOURCES) $(ALL_HEADERS) $(OTHERFILES)
.PHONY: all
all: @SUPPORTLIB@
support.a: $(OBJS)
$(MAKELIB) $@ $(OBJS)
.PHONY: install uninstall
install:
uninstall:
CLEANABLE += $(OBJS) support.a
DISTCLEANABLE += Makefile
include $(FRAGDIR)/dist.mk
include $(FRAGDIR)/targets.mk
|