52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
################################################################
|
|
# Build the SWI-Prolog RDF package for MS-Windows
|
|
# NOTE: This package requires the SGML package
|
|
#
|
|
# Author: Jan Wielemaker
|
|
#
|
|
# Use:
|
|
# nmake /f Makefile.mak
|
|
# nmake /f Makefile.mak install
|
|
################################################################
|
|
|
|
PLHOME=..\..
|
|
!include $(PLHOME)\src\rules.mk
|
|
|
|
all:
|
|
|
|
!IF "$(CFG)" == "rt"
|
|
install::
|
|
!ELSE
|
|
install::
|
|
copy rdf.pl "$(PLBASE)\library"
|
|
copy rdf_parser.pl "$(PLBASE)\library"
|
|
copy rdf_triple.pl "$(PLBASE)\library"
|
|
copy rewrite.pl "$(PLBASE)\library"
|
|
copy rdf_ntriples.pl "$(PLBASE)\library"
|
|
copy rdf_write.pl "$(PLBASE)\library"
|
|
$(MAKEINDEX)
|
|
!ENDIF
|
|
|
|
xpce-install::
|
|
copy rdf_diagram.pl "$(PLBASE)\xpce\prolog\lib"
|
|
$(MAKEINDEX)
|
|
|
|
html-install::
|
|
copy rdf2pl.html "$(PKGDOC)"
|
|
|
|
uninstall::
|
|
del "$(PLBASE)\library\rdf.pl"
|
|
del "$(PLBASE)\library\rdf_parser.pl"
|
|
del "$(PLBASE)\library\rdf_triple.pl"
|
|
del "$(PLBASE)\library\rewrite.pl"
|
|
del "$(PLBASE)\library\rdf_ntriples.pl"
|
|
del "$(PLBASE)\library\rdf_write.pl"
|
|
$(MAKEINDEX)
|
|
|
|
clean::
|
|
if exist *~ del *~
|
|
|
|
distclean: clean
|
|
|
|
|