2003-01-17 Ken Raeburn <raeburn@mit.edu>
- * Makefile.in ($(EHDRDIR)$(S)gssapi.h): Depend on includes-unix,
+ * Makefile.in ($(EHDRDIR)$(S)gssapi.h): Depend on create-ehdrdir,
to make sure the directory is created before installation of the
file.
($(EHDRDIR)$(S)gssapi_generic.h): Likewise.
+ (create-ehdrdir): New target on UNIX. Renamed from $(EHDRDIR) on
+ Windows and changed to check for an existing directory.
2003-01-10 Ken Raeburn <raeburn@mit.edu>
HDRS= $(EHDRDIR)$(S)gssapi.h \
$(EHDRDIR)$(S)gssapi_generic.h
-$(EHDRDIR)$(S)gssapi.h: gssapi.h includes-unix
+$(EHDRDIR)$(S)gssapi.h: gssapi.h create-ehdrdir
$(CP) gssapi.h $@
-$(EHDRDIR)$(S)gssapi_generic.h: $(srcdir)$(S)gssapi_generic.h includes-unix
+$(EHDRDIR)$(S)gssapi_generic.h: $(srcdir)$(S)gssapi_generic.h create-ehdrdir
$(CP) $(srcdir)$(S)gssapi_generic.h $@
$(OUTPRE)gssapi_err_generic.$(OBJEXT): gssapi_err_generic.c
##DOS##LIBOBJS = $(OBJS)
-all-windows:: $(EHDRDIR) $(HDRS)
+all-windows:: create-ehdrdir $(HDRS)
-##DOS##$(EHDRDIR):
-##DOS## mkdir $(EHDRDIR)
+##DOS##create-ehdrdir:
+##DOS## if not exist $(EHDRDIR)\nul mkdir $(EHDRDIR)
+##DOS##!if 0
+create-ehdrdir: includes-unix
+##DOS##!endif
clean-unix:: clean-libobjs
$(RM) $(ETHDRS) $(ETSRCS) $(HDRS) $(EXPORTED_BUILT_HEADERS)