Added support for scan.
[simpleserver-moved-to-github.git] / Makefile
index fa47120..b4d3a3b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -37,7 +37,7 @@ LIBC =
 LIB_EXT = .a
 OBJ_EXT = .o
 OSNAME = linux
-OSVERS = 2.2.5-22smp
+OSVERS = 2.2.1-ac1
 RANLIB = :
 SO = so
 EXE_EXT = 
@@ -106,7 +106,8 @@ C_FILES = SimpleServer.c
 O_FILES = SimpleServer.o
 H_FILES = 
 MAN1PODS = 
-MAN3PODS = SimpleServer.pm
+MAN3PODS = GRS1.pm \
+       SimpleServer.pm
 INST_MAN1DIR = blib/man1
 INSTALLMAN1DIR = $(PREFIX)/man/man1
 MAN1EXT = 1
@@ -147,20 +148,20 @@ EXPORT_LIST =
 
 PERL_ARCHIVE = 
 
-TO_INST_PM = OID.pm \
-       SQL.pm \
-       SQL_test.pl \
+TO_INST_PM = GRS1.pm \
+       OID.pm \
        SimpleServer.pm \
+       grs_test.pl \
        ztest.pl
 
-PM_TO_BLIB = SQL_test.pl \
-       $(INST_LIBDIR)/SQL_test.pl \
-       SQL.pm \
-       $(INST_LIBDIR)/SQL.pm \
+PM_TO_BLIB = GRS1.pm \
+       $(INST_LIBDIR)/GRS1.pm \
        ztest.pl \
        $(INST_LIBDIR)/ztest.pl \
        SimpleServer.pm \
        $(INST_LIBDIR)/SimpleServer.pm \
+       grs_test.pl \
+       $(INST_LIBDIR)/grs_test.pl \
        OID.pm \
        $(INST_LIBDIR)/OID.pm
 
@@ -258,7 +259,7 @@ DIST_DEFAULT = tardist
 # --- MakeMaker cflags section:
 
 CCFLAGS = -Dbool=char -DHAS_BOOL -I/usr/local/include
-OPTIMIZE = -O2 -m486 -fno-strength-reduce
+OPTIMIZE = -O2
 PERLTYPE = 
 LARGE = 
 SPLIT = 
@@ -465,8 +466,11 @@ POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
 -e 'system(qq[$$^X ].q["-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
 -e 'chmod(oct($(PERM_RW))), $$m{$$_} or warn "chmod $(PERM_RW) $$m{$$_}: $$!\n";}'
 
-manifypods : pure_all SimpleServer.pm
+manifypods : pure_all GRS1.pm \
+       SimpleServer.pm
        @$(POD2MAN) \
+       GRS1.pm \
+       $(INST_MAN3DIR)/Net::Z3950::GRS1.$(MAN3EXT) \
        SimpleServer.pm \
        $(INST_MAN3DIR)/Net::Z3950::SimpleServer.$(MAN3EXT)
 
@@ -497,7 +501,7 @@ realclean purge ::  clean
        rm -rf $(INST_AUTODIR) $(INST_ARCHAUTODIR)
        rm -f $(INST_DYNAMIC) $(INST_BOOT)
        rm -f $(INST_STATIC)
-       rm -f $(INST_LIBDIR)/SQL_test.pl $(INST_LIBDIR)/SQL.pm $(INST_LIBDIR)/ztest.pl $(INST_LIBDIR)/SimpleServer.pm $(INST_LIBDIR)/OID.pm
+       rm -f $(INST_LIBDIR)/GRS1.pm $(INST_LIBDIR)/ztest.pl $(INST_LIBDIR)/SimpleServer.pm $(INST_LIBDIR)/grs_test.pl $(INST_LIBDIR)/OID.pm
        rm -rf Makefile Makefile.old