mirror of
https://github.com/Stichting-MINIX-Research-Foundation/xsrc.git
synced 2025-09-16 16:15:10 -04:00
90 lines
2.0 KiB
Plaintext
90 lines
2.0 KiB
Plaintext
XCOMM $XFree86: xc/lib/dpstk/Imakefile,v 1.7 2004/04/05 02:33:13 dawes Exp $
|
|
|
|
#define DoNormalLib NormalLibDpsTk
|
|
#define DoSharedLib SharedLibDpsTk
|
|
#define DoExtraLib ExtraLibDpsTk
|
|
#define DoDebugLib DebugLibDpsTk
|
|
#define DoProfileLib ProfileLibDpsTk
|
|
#define LibName dpstk
|
|
#define SoRev SODPSTKREV
|
|
#define LibHeaders NO
|
|
|
|
#ifdef SharedDPSTKReqs
|
|
REQUIREDLIBS = SharedDPSTKReqs
|
|
#endif
|
|
|
|
PSWRAP = PsWrap
|
|
|
|
#if HasMotif
|
|
MOTIFSRCS = FSBwraps.c FontSample.c FontSB.c FontCreato.c \
|
|
CSBwraps.c ColorSB.c DSWwraps.c DPSScrollW.c
|
|
MOTIFOBJS = FSBwraps.o FontSample.o FontSB.o FontCreato.o \
|
|
CSBwraps.o ColorSB.o DSWwraps.o DPSScrollW.o
|
|
#endif
|
|
|
|
#ifndef DefaultResourcePath
|
|
#define DefaultResourcePath NULL
|
|
#endif
|
|
RESPATH = DefaultResourcePath
|
|
|
|
#if NoStrstr
|
|
DEFINES = -DNO_STRSTR_AVAILABLE -DDEFAULT_RESOURCE_PATH=\"${RESPATH}\"
|
|
#else
|
|
DEFINES = -DDEFAULT_RESOURCE_PATH=\"${RESPATH}\"
|
|
#endif
|
|
|
|
|
|
DERIVED_FILES = FSBwraps.c FSBwraps.h XDPSpwraps.c XDPSpwraps.h \
|
|
XDPSswraps.c XDPSswraps.h CSBwraps.c CSBwraps.h \
|
|
DSWwraps.c DSWwraps.h
|
|
|
|
SRCS = XDPSpwraps.c XDPSswraps.c XDPSshare.c XDPSpreview.c \
|
|
XDPSuserpath.c
|
|
|
|
OBJS = XDPSpwraps.o XDPSswraps.o XDPSshare.o XDPSpreview.o \
|
|
XDPSuserpath.o
|
|
|
|
#include <Library.tmpl>
|
|
|
|
.SUFFIXES: .psw
|
|
|
|
.psw.c :
|
|
RunProgram(PSWRAP,-o $*.c -a -f $*.h -h $*.h $<)
|
|
|
|
includes:: $(SRCS)
|
|
|
|
#if HasMotif
|
|
|
|
includes:: $(MOTIFSRCS)
|
|
|
|
#if DoSharedLib
|
|
SharedLibraryTarget(dpstkXm,$(SODPSREV),$(MOTIFOBJS),.,.)
|
|
InstallSharedLibrary(dpstkXm,$(SODPSREV),$(USRLIBDIR))
|
|
#endif
|
|
#if DoNormalLib
|
|
#if DoSharedLib
|
|
UnsharedLibraryTarget(dpstkXm,$(MOTIFOBJS),unshared,..)
|
|
#else
|
|
NormalLibraryTarget(dpstkXm,$(MOTIFOBJS))
|
|
#endif
|
|
InstallLibrary(dpstkXm,$(USRLIBDIR))
|
|
#endif
|
|
#if DebugLibDps
|
|
DebuggedLibraryTarget(dpstkXm,$(MOTIFOBJS))
|
|
InstallLibrary(dpstkXm_d,$(USRLIBDIR))
|
|
#endif
|
|
#if ProfileLibDps
|
|
ProfiledLibraryTarget(dpstkXm,$(MOTIFOBJS))
|
|
InstallDpsProfiledLibrary(dpstkXm_p,$(USRLIBDIR))
|
|
#endif
|
|
|
|
InstallAppDefaults(FontSelect)
|
|
InstallAppDefaults(ColorSelect)
|
|
#endif
|
|
|
|
clean ::
|
|
${RM} $(DERIVED_FILES) $(MOTIFOBJS)
|
|
|
|
DependTarget()
|
|
|