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
36 lines
600 B
Makefile
36 lines
600 B
Makefile
# Makefile for urlget
|
|
#
|
|
# 07/02/96 Initial Release Michael Temari, <temari@ix.netcom.com>
|
|
#
|
|
|
|
CFLAGS= -D_MINIX $(OPT)
|
|
LDFLAGS=-fnone
|
|
BINDIR= /usr/bin
|
|
PROG= urlget
|
|
LINK1= httpget
|
|
LINK2= ftpget
|
|
CC=exec cc
|
|
|
|
OBJS= urlget.o net.o
|
|
|
|
all: $(PROG)
|
|
|
|
$(PROG): $(OBJS)
|
|
$(CC) $(LDFLAGS) -o $@ $(OBJS)
|
|
install -S 4kw $@
|
|
|
|
clean:
|
|
rm -f $(PROG) $(OBJS)
|
|
|
|
tar:
|
|
tar cvf urlget.tar Makefile urlget.c net.c net.h
|
|
|
|
install: $(BINDIR)/$(PROG) $(BINDIR)/$(LINK1) $(BINDIR)/$(LINK2)
|
|
|
|
$(BINDIR)/$(PROG): $(PROG)
|
|
install -c $? $@
|
|
|
|
$(BINDIR)/$(LINK1) $(BINDIR)/$(LINK2): $(BINDIR)/$(PROG)
|
|
install -l h $? $@
|
|
|
|
$(OBJS): net.h
|