Resolve many build warnings
[oweals/cde.git] / cde / lib / DtWidget / Imakefile
1 XCOMM $XConsortium: Imakefile /main/8 1996/04/21 19:11:16 drk $
2 #define DoNormalLib     NormalLibDtWidget
3 #define DoSharedLib     SharedLibDtWidget
4 #define DoDebugLib      DebugLibDtWidget
5 #define DoProfileLib    ProfileLibDtWidget
6 #define LibName         DtWidget
7 #define SoRev           SODTWIDGETREV
8 #define IncSubdir       Dt
9
10 #include <Threads.tmpl>
11
12 #ifndef DtWidgetDefines
13 # define DtWidgetDefines        -DI18N_MSG -DMULTIBYTE
14 #endif
15 DEFINES = DtWidgetDefines
16 #if defined(LinuxArchitecture)
17 INCLUDES = -I. -I/usr/include/freetype2
18 #elif defined(FreeBSDArchitecture) || defined(OpenBSDArchitecture)
19 INCLUDES = -I. -I$(XPROJECTROOT)/include/freetype2
20 #elif defined(NetBSDArchitecture)
21 INCLUDES = -I. -I$(XPROJECTROOT)/include -I$(XPROJECTROOT)/include/freetype2
22 #else
23 INCLUDES = -I.
24 #endif
25
26 #ifdef SharedDtWidgetReqs
27 REQUIREDLIBS = SharedDtWidgetReqs
28 #endif
29
30 HEADERS = \
31         Icon.h          IconP.h         DtStrDefs.h \
32         SpinBox.h       SpinBoxP.h      ComboBox.h \
33         ComboBoxP.h     MenuButtonP.h   MenuButton.h \
34         DialogBox.h     DialogBoxP.h    DtMsgsP.h \
35         MacrosP.h       Control.h       ControlP.h \
36         View.h          ViewP.h         TitleBox.h \
37         TitleBoxP.h     EditorP.h       Editor.h
38
39 SRCS = \
40         ComboBox.c      Control.c       DialogBox.c \
41         DtMsgs.c        DtStrDefs.c     EditAreaData.c \
42         EditCalls.c     Editor.c        Icon.c \
43         MenuButton.c    NewCvt.c        SearchCalls.c \
44         SearchDlg.c     SpinBox.c       TitleBox.c \
45         View.c
46
47 OBJS = \
48         ComboBox.o      Control.o       DialogBox.o \
49         DtMsgs.o        DtStrDefs.o     EditAreaData.o \
50         EditCalls.o     Editor.o        Icon.o \
51         MenuButton.o    NewCvt.o        SearchCalls.o \
52         SearchDlg.o     SpinBox.o       TitleBox.o \
53         View.o
54
55 #include <Library.tmpl>
56
57 /* MS Compiler bug, remove when we go to USL compiler */
58 #ifdef SCOArchitecture
59 SpecialFlagsObjectRule(Clock, -Olegtc)
60 #endif
61
62 DependTarget()
63
64 LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP)
65 CppSourceFile(UNIXbindings,UNIXbindings.cpp,$(LOCAL_CPP_DEFINES),)