Ignore:
Timestamp:
2001-05-07T16:38:21+12:00 (23 years ago)
Author:
jrm21
Message:

Minor changes, so compilation works when libgdbm is not in system paths - this
happens on non-linux machines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/Makefile.in

    r2368 r2371  
    8383RANLIB = @RANLIB@
    8484LDFLAGS = @LDFLAGS@
    85 LIBS = @LIBS@
     85GDBM_LIBS=@GDBM_LIBPATH@ -lgdbm
     86LIBS = $(GDBM_LIBS) @LIBS@
    8687
    8788GSDLOS = @gsdlos@
     
    9697MLINK = $(MICO_PATH)mico-ld -static $(LDFLAGS) $(MICO_LIB) -o  $@
    9798MLIBS = $(LIBS) -L../../lib/ -lmico$(MICO_VER) -lmicoaux$(MICO_VER)
     99
     100# in case gdbm.h/libgdbm.a are in a non-standard place...
     101GDBM_OBJS=authenaction.o infodbclass.o userdb.o usersaction.o historydb.o librarymain.o nullproto.o queryaction.o
     102
     103ifeq ($(USE_CORBA), 1)
     104#EXEC = recpt library corbaserver corbarecptldd
     105EXEC = library corbaserver corbarecptldd
     106else
     107#EXEC = recpt library
     108EXEC = library
     109endif
     110
     111all: $(EXEC)
     112
    98113
    99114.SUFFIXES:
     
    105120.cpp.o:
    106121    $(CPPCOMPILE) $<
     122
     123$(GDBM_OBJS) :%.o :%.cpp
     124    $(CPPCOMPILE) @GDBM_INCLUDE@ $<
    107125
    108126.SUFFIXES: .mpp .o
     
    207225          ../colservr/collectset.o
    208226
    209 ifeq ($(USE_CORBA), 1)
    210 #EXEC = recpt library corbaserver corbarecptldd
    211 EXEC = library corbaserver corbarecptldd
    212 else
    213 #EXEC = recpt library
    214 EXEC = library
    215 endif
    216 
    217 all: $(EXEC)
    218 
    219227
    220228
Note: See TracChangeset for help on using the changeset viewer.