|
|
1.1 root 1: #define IHaveSubdirs
2: #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)'
3:
4: CDEBUGFLAGS = -g
5: SUBDIRS = clients
6: INCLUDES = -I. -I$(OLDXRMSRC) -I$(XLIBSRC) -I$(TOP) -I$(TOP)/X11
7: #if BigEndianArchitecture == YES
8: DEFINES = -DLIBDIR=\"$(LIBDIR)\" -DBIGENDIAN
9: #else
10: DEFINES = -DLIBDIR=\"$(LIBDIR)\"
11: #endif
12: INSTALLFLAGS = -m 0644
13:
14: HEADERS = \
15: Atoms.h \
16: ButtonBox.h \
17: Clock.h \
18: Command.h \
19: Intrinsic.h \
20: Knob.h \
21: Label.h \
22: Load.h \
23: Misc.h \
24: Quarks.h \
25: Scroll.h \
26: Text.h \
27: TopLevel.h \
28: TM.h
29:
30: SRCS = \
31: ArgList.c \
32: Alloc.c \
33: AsciiSink.c \
34: ButtonBox.c \
35: Clock.c \
36: Command.c \
37: Conversion.c \
38: Cursors.c \
39: DiskSrc.c \
40: Error.c \
41: Event.c \
42: GCManager.c \
43: Geometry.c \
44: GrayPixmap.c \
45: Initialize.c \
46: Intrinsic.c \
47: Label.c \
48: Load.c \
49: NextEvent.c \
50: Quarks.c \
51: Resources.c \
52: Scroll.c \
53: StringSrc.c \
54: Text.c \
55: TextKinds.c \
56: TMparse.c \
57: TMstate.c \
58: Xrm.c
59: # VPane.c
60:
61: OBJS = \
62: ArgList.o \
63: Alloc.o \
64: AsciiSink.o \
65: ButtonBox.o \
66: Clock.o \
67: Command.o \
68: Conversion.o \
69: Cursors.o \
70: DiskSrc.o \
71: Error.o \
72: Event.o \
73: GCManager.o \
74: Geometry.o \
75: GrayPixmap.o \
76: Initialize.o \
77: Intrinsic.o \
78: Label.o \
79: Load.o \
80: NextEvent.o \
81: Quarks.o \
82: Resources.o \
83: Scroll.o \
84: StringSrc.o \
85: Text.o \
86: TextKinds.o \
87: TMparse.o \
88: TMstate.o \
89: Xrm.o
90: # VPane.o
91:
92: #if DebugLibXtk && ProfileLibXtk
93: DebuggedAndProfiledLibraryObjectRule()
94: #else
95: # if DebugLibXtk
96: DebuggedLibraryObjectRule()
97: # else
98: # if ProfileLibXtk
99: ProfiledLibraryObjectRule()
100: # else
101: NormalLibraryObjectRule()
102: # endif
103: # endif
104: #endif
105:
106: NormalLibraryTarget(Xtk,$(OBJS))
107: AliasedLibraryTarget(Xtk,Xtk11)
108: LintLibraryTarget(Xtk,$(SRCS))
109: InstallLibrary(Xtk,$(USRLIBDIR))
110: InstallLibraryAlias(Xtk,Xtk11,$(USRLIBDIR))
111: InstallLintLibrary(Xtk,$(USRLIBDIR))
112:
113: #if ProfileLibXtk
114: ProfiledLibraryTarget(Xtk,$(OBJS))
115: AliasedLibraryTarget(Xtk_p,Xtk11_p)
116: InstallLibrary(Xtk_p,$(USRLIBDIR))
117: InstallLibraryAlias(Xtk_p,Xtk11_p,$(USRLIBDIR))
118: #endif
119:
120: #if DebugLibXtk
121: DebuggedLibraryTarget(Xtk,$(OBJS))
122: AliasedLibraryTarget(Xtk_d,Xtk11_d)
123: #endif
124:
125: MakeSubdirs($(SUBDIRS))
126: DependSubdirs($(SUBDIRS))
127:
128: InstallMultiple($(HEADERS),$(INCDIR))
129:
130: DependTarget()
131:
132: lint:
133: $(LINT) -buz ${INCLUDES} \
134: -DLIBDIR=\"${LIBDIR}\" \
135: ${SRCS} \
136: $(XLIBSRC)/llib-lX.ln
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.