This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-goldedplus/golded3/Makefile

51 lines
873 B
Makefile
Raw Normal View History

2000-02-25 11:04:07 +00:00
# -*- makefile -*-
2004-01-20 15:00:03 +00:00
ifeq ($(TERM),cygwin)
MINGW=true
2003-12-22 08:02:19 +00:00
else
ifeq ($(OSTYPE),msys)
2004-01-20 15:00:03 +00:00
MINGW=true
2003-12-22 08:02:19 +00:00
endif
endif
2000-02-25 11:04:07 +00:00
TOP=..
include $(TOP)/Config.def
2000-02-25 11:04:07 +00:00
SHORTTARGET=ged
TARGET=golded3
GLIBS=gmb3 gcfg uulib gall gcui smblib
ifneq ($(findstring GCFG_NO_MYSPELL, $(CPPFLAGS)), GCFG_NO_MYSPELL)
2006-04-10 19:04:04 +00:00
GLIBS+=hunspell
endif
INCS=-I. -I$(TOP)/goldlib/gall -I$(TOP)/goldlib/gcui -I$(TOP)/goldlib/gcfg -I$(TOP)/goldlib/gmb3 -I$(TOP)/goldlib/uulib -I$(TOP)/goldlib/smblib
2000-02-25 11:04:07 +00:00
ifeq ($(PLATFORM),emx)
STDLIBS=-los2me
2000-02-25 11:04:07 +00:00
GLIBS+=glibc
2006-06-26 20:26:36 +00:00
INCS+=-I$(TOP)/goldlib/glibc
2000-02-25 11:04:07 +00:00
else
2004-01-20 15:00:03 +00:00
ifdef MINGW
2003-10-23 10:46:36 +00:00
STDLIBS=-luser32 -lwinmm
GLIBS+=glibc
2006-06-26 20:26:36 +00:00
INCS+=-I$(TOP)/goldlib/glibc
2003-10-23 10:46:36 +00:00
endif
2000-02-25 11:04:07 +00:00
endif
include $(TOP)/GNUmakef.inc
ifeq ($(USE_NCURSES),1)
ifeq ($(PLATFORM),lnx)
STDLIBS+= -lncurses
endif
ifeq ($(PLATFORM),sun)
STDLIBS+= -L/opt/csw/lib -lncurses
endif
ifeq ($(PLATFORM),osx)
STDLIBS+= -lncurses
endif
endif
2000-02-25 11:04:07 +00:00
include $(TOP)/GNUmakef.prg