add DESTDIR support and .PHONY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4572 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -58,11 +58,11 @@ Wall:
|
||||
$(CC) -c $(DEFS) -I../../include -I$(srcdir) -I$(srcdir)/../des $(CFLAGS) $(CPPFLAGS) $(PICFLAGS) $<
|
||||
|
||||
install: all
|
||||
$(MKINSTALLDIRS) $(libdir)
|
||||
$(INSTALL_DATA) -m 0555 $(LIB) $(libdir)
|
||||
$(MKINSTALLDIRS) $(DESTDIR)$(libdir)
|
||||
$(INSTALL_DATA) -m 0555 $(LIB) $(DESTDIR)$(libdir)/$(LIB)
|
||||
|
||||
uninstall:
|
||||
rm -f $(libdir)/$(LIB)
|
||||
rm -f $(DESTDIR)$(libdir)/$(LIB)
|
||||
|
||||
TAGS: $(SOURCES)
|
||||
etags $(SOURCES)
|
||||
@@ -95,4 +95,4 @@ $(LIBNAME).$(SHLIBEXT): $(LIB_OBJECTS)
|
||||
|
||||
$(OBJECTS): ../../include/config.h
|
||||
|
||||
.PHONY: all install uninstall check clean mostlyclean distclean realclean
|
||||
.PHONY: all Wall install uninstall check clean mostlyclean distclean realclean
|
||||
|
Reference in New Issue
Block a user