1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

VMS compilation fixes.

This commit is contained in:
Bruno Haible
2003-05-27 20:26:02 +00:00
parent 99036bd5fc
commit cb1c880393
2 changed files with 11 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
2003-05-27 Bruno Haible <bruno@clisp.org>
* Makefile.vms (CC): Correct value.
(getopt.obj, getopt1.obj, getline.obj, hash.obj): Don't set
HAVE_CONFIG_H.
2003-05-17 Bruno Haible <bruno@clisp.org> 2003-05-17 Bruno Haible <bruno@clisp.org>
* Makefile.msvc (DEBUGFLAGS): New variable. * Makefile.msvc (DEBUGFLAGS): New variable.

View File

@@ -33,7 +33,7 @@ docdir = $(datadir).doc.gperf
# Programs used by "make": # Programs used by "make":
CC = cl CC = cc
CXX = cxx CXX = cxx
# These flags affect binary compatibility. GNU gperf does not need them, # These flags affect binary compatibility. GNU gperf does not need them,
@@ -71,16 +71,16 @@ all : gperf.exe
$(LN) [.src]config.h_vms [.src]config.h $(LN) [.src]config.h_vms [.src]config.h
[.lib]getopt.obj : [.lib]getopt.c [.lib]getopt.obj : [.lib]getopt.c
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [.lib]getopt.c /obj=[.lib]getopt.obj $(CC) $(INCLUDES) $(CFLAGS) /define=("VMS=1") [.lib]getopt.c /obj=[.lib]getopt.obj
[.lib]getopt1.obj : [.lib]getopt1.c [.lib]getopt1.obj : [.lib]getopt1.c
$(CC) $(INCLUDES) $(CFLAGS) /define=($(DEFS)) [.lib]getopt1.c /obj=[.lib]getopt1.obj $(CC) $(INCLUDES) $(CFLAGS) /define=("VMS=1") [.lib]getopt1.c /obj=[.lib]getopt1.obj
[.lib]getline.obj : [.lib]getline.cc [.lib]getline.obj : [.lib]getline.cc
$(CXX) $(INCLUDES) $(CXXFLAGS) /define=($(DEFS)) [.lib]getline.cc /obj=[.lib]getline.obj $(CXX) $(INCLUDES) $(CXXFLAGS) /define=("VMS=1") [.lib]getline.cc /obj=[.lib]getline.obj
[.lib]hash.obj : [.lib]hash.cc [.lib]hash.obj : [.lib]hash.cc
$(CXX) $(INCLUDES) $(CXXFLAGS) /define=($(DEFS)) [.lib]hash.cc /obj=[.lib]hash.obj $(CXX) $(INCLUDES) $(CXXFLAGS) /define=("VMS=1") [.lib]hash.cc /obj=[.lib]hash.obj
# Dependencies. # Dependencies.
CONFIG_H = [.src]config.h CONFIG_H = [.src]config.h