1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

some more minor makefile changes; removed useless dist target.

This commit is contained in:
Gunter Knauf 2008-02-26 21:41:19 +00:00
parent 79aa6c841e
commit 724ad15dad
2 changed files with 6 additions and 12 deletions

View File

@ -239,10 +239,6 @@ $(OBJDIR)/version.inc: ../include/curl/curlver.h $(OBJDIR)
@echo Creating $@
@$(AWK) -f ../packages/NetWare/get_ver.awk $< > $@
dist: all
-$(RM) $(OBJDIR)/*.o $(OBJDIR)/$(TARGET).map $(OBJDIR)/$(TARGET).ncv
-$(RM) $(OBJDIR)/$(TARGET).def $(OBJDIR)/version.inc $(XDCDATA)
install: $(INSTDIR) all $(INSTDEP)
@$(CP) $(TARGET).nlm $(INSTDIR)
@$(CP) $(TARGET).$(LIBEXT) $(INSTDIR)
@ -259,7 +255,8 @@ clean:
-$(RM) -r $(OBJDIR)
distclean: clean
-$(RM) -r $(TARGET).$(LIBEXT) $(TARGET).nlm
-$(RM) $(TARGET).$(LIBEXT) $(TARGET).nlm
-$(RM) certdata.txt ca-bundle.crt
$(INSTDIR):
@mkdir $@

View File

@ -75,6 +75,7 @@ ifdef METROWERKS
else
CC = gcc
endif
PERL = perl
# a native win32 awk can be downloaded from here:
# http://www.gknw.net/development/prgtools/awk-20070501.zip
AWK = awk
@ -231,10 +232,6 @@ $(OBJDIR)/version.inc: $(CURL_INC)/curl/curlver.h $(OBJDIR)
@echo Creating $@
@$(AWK) -f ../packages/NetWare/get_ver.awk $< > $@
dist: all
-$(RM) $(OBJDIR)/*.o $(OBJDIR)/$(TARGET).map $(OBJDIR)/$(TARGET).ncv
-$(RM) $(OBJDIR)/$(TARGET).def $(OBJDIR)/version.inc $(XDCDATA)
install: $(INSTDIR) all
@-$(CP) ../docs/$(TARGET).pdf $(INSTDIR)
@$(CP) $(TARGET).nlm $(INSTDIR)
@ -247,13 +244,13 @@ endif
-$(RM) -r $(OBJDIR)
distclean: clean
-$(RM) -r $(TARGET).nlm
-$(RM) $(TARGET).nlm
$(INSTDIR):
@mkdir $(INSTDIR)
@mkdir $@
$(OBJDIR):
@mkdir $(OBJDIR)
@mkdir $@
$(TARGET).nlm: $(OBJS) $(OBJX) $(OBJDIR)/$(TARGET).def $(XDCDATA)
@echo Linking $@