X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=Makefile;h=b4d3a3bb63b8a3d77704444fd7f8ce52ee5d464c;hb=f5104d99254281ab1a4dc221fe45e805cdee306d;hp=a678b8470f792e87a7bf1f453ff1a7d4dfddefd8;hpb=76c6d9aa7b7671681fdb7f85f68d45201c080899;p=simpleserver-moved-to-github.git diff --git a/Makefile b/Makefile index a678b84..b4d3a3b 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ # DEFINE => q[] # INC => q[] -# LIBS => [q[-L/usr/local/lib -lyaz -lpthread -L/lib -lwrap -lnsl]] +# LIBS => [q[-L/usr/local/lib -lyaz]] # NAME => q[Net::Z3950::SimpleServer] # VERSION_FROM => q[SimpleServer.pm] @@ -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,14 +148,20 @@ EXPORT_LIST = PERL_ARCHIVE = -TO_INST_PM = OID.pm \ +TO_INST_PM = GRS1.pm \ + OID.pm \ SimpleServer.pm \ + grs_test.pl \ ztest.pl -PM_TO_BLIB = ztest.pl \ +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 @@ -252,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 = @@ -263,10 +270,10 @@ SPLIT = # Net::Z3950::SimpleServer might depend on some other libraries: # See ExtUtils::Liblist for details # -EXTRALIBS = -L/usr/local/lib -lyaz -lpthread -L/lib -lwrap -lnsl -LDLOADLIBS = -L/usr/local/lib -lyaz -lpthread -L/lib -lwrap -lnsl +EXTRALIBS = -L/usr/local/lib -lyaz +LDLOADLIBS = -L/usr/local/lib -lyaz BSLOADLIBS = -LD_RUN_PATH = /usr/local/lib:/lib:/usr/lib +LD_RUN_PATH = /usr/local/lib # --- MakeMaker const_cccmd section: @@ -459,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) @@ -491,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)/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