home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-07-21 | 3.2 KB | 208 lines |
- XCOMM $XConsortium: Imakefile,v 1.78 91/09/18 14:28:23 rws Exp $
- #define DoNormalLib NormalLibXaw
- #define DoSharedLib SharedLibXaw
- #define DoDebugLib DebugLibXaw
- #define DoProfileLib ProfileLibXaw
- #include <Library.tmpl>
-
- #ifdef RsArchitecture
- REQUIREDLIBS = $(XMUSRC)/libXmu.a $(EXTENSIONSRC)/lib/libXext.a $(TOOLKITSRC)/libXt.a $(XLIBSRC)/libX11.a
- #endif
-
- INSTALLFLAGS = $(INSTINCFLAGS)
- LINTLIBS = $(LINTXLIB) $(LINTXTOOL)
-
- HEADERS = \
- AllWidgets.h \
- AsciiSink.h \
- AsciiSinkP.h \
- AsciiSrc.h \
- AsciiSrcP.h \
- AsciiText.h \
- AsciiTextP.h \
- Box.h \
- BoxP.h \
- Cardinals.h \
- Clock.h \
- ClockP.h \
- Command.h \
- CommandP.h \
- Dialog.h \
- DialogP.h \
- Form.h \
- FormP.h \
- Grip.h \
- GripP.h \
- Label.h \
- LabelP.h \
- List.h \
- ListP.h \
- Logo.h \
- LogoP.h \
- Mailbox.h \
- MailboxP.h \
- MenuButton.h \
- MenuButtoP.h \
- Paned.h \
- PanedP.h \
- Panner.h \
- PannerP.h \
- Porthole.h \
- PortholeP.h \
- Repeater.h \
- RepeaterP.h \
- Reports.h \
- Scrollbar.h \
- ScrollbarP.h \
- Simple.h \
- SimpleP.h \
- SimpleMenu.h \
- SimpleMenP.h \
- Sme.h \
- SmeP.h \
- SmeBSB.h \
- SmeBSBP.h \
- SmeLine.h \
- SmeLineP.h \
- StripChart.h \
- StripCharP.h \
- Template.c \
- Template.h \
- TemplateP.h \
- Text.h \
- TextP.h \
- TextSink.h \
- TextSinkP.h \
- TextSrc.h \
- TextSrcP.h \
- Toggle.h \
- ToggleP.h \
- Tree.h \
- TreeP.h \
- Viewport.h \
- ViewportP.h \
- XawInit.h
-
- SRCS = \
- AllWidgets.c \
- AsciiSink.c \
- AsciiSrc.c \
- AsciiText.c \
- Box.c \
- Clock.c \
- Command.c \
- Dialog.c \
- Form.c \
- Grip.c \
- Label.c \
- List.c \
- Logo.c \
- Mailbox.c \
- MenuButton.c \
- Paned.c \
- Panner.c \
- Porthole.c \
- Repeater.c \
- Scrollbar.c \
- Simple.c \
- SimpleMenu.c \
- Sme.c \
- SmeBSB.c \
- SmeLine.c \
- StripChart.c \
- Text.c \
- TextSink.c \
- TextSrc.c \
- TextAction.c \
- TextPop.c \
- TextTr.c \
- Toggle.c \
- Tree.c \
- Vendor.c \
- Viewport.c \
- XawInit.c \
- sharedlib.c
-
- #if SharedDataSeparation
- UNSHAREDOBJS = AllWidgets.o sharedlib.o
- #endif
-
- OBJS = \
- AllWidgets.o \
- AsciiSink.o \
- AsciiSrc.o \
- AsciiText.o \
- Box.o \
- Clock.o \
- Command.o \
- Dialog.o \
- Form.o \
- Grip.o \
- Label.o \
- List.o \
- Logo.o \
- Mailbox.o \
- MenuButton.o \
- Paned.o \
- Panner.o \
- Porthole.o \
- Repeater.o \
- Scrollbar.o \
- Simple.o \
- SimpleMenu.o \
- Sme.o \
- SmeBSB.o \
- SmeLine.o \
- StripChart.o \
- Text.o \
- TextSink.o \
- TextSrc.o \
- TextAction.o \
- TextPop.o \
- TextTr.o \
- Toggle.o \
- Tree.o \
- Vendor.o \
- Viewport.o \
- XawInit.o
-
- LibraryObjectRule()
-
- #if DoSharedLib && SharedDataSeparation
- SpecialObjectRule(sharedlib.o,,$(SHLIBDEF))
- #endif
-
- #if DoSharedLib
- #if DoNormalLib
- SharedLibraryTarget(Xaw,$(SOXAWREV),$(OBJS),shared,..)
- #else
- SharedLibraryTarget(Xaw,$(SOXAWREV),$(OBJS),.,.)
- #endif
- SharedLibraryDataTarget(Xaw,$(SOXAWREV),$(UNSHAREDOBJS))
- InstallSharedLibrary(Xaw,$(SOXAWREV),$(USRLIBDIR))
- InstallSharedLibraryData(Xaw,$(SOXAWREV),$(USRLIBDIR))
- #endif
- #if DoNormalLib
- NormalLibraryTarget(Xaw,$(OBJS))
- InstallLibrary(Xaw,$(USRLIBDIR))
- #endif
- #if DoProfileLib
- ProfiledLibraryTarget(Xaw,$(OBJS))
- InstallLibrary(Xaw_p,$(USRLIBDIR))
- #endif
- #if DoDebugLib
- DebuggedLibraryTarget(Xaw,$(OBJS))
- InstallLibrary(Xaw_d,$(USRLIBDIR))
- #endif
-
- LintLibraryTarget(Xaw,$(SRCS))
- InstallLintLibrary(Xaw,$(LINTLIBDIR))
-
- BuildIncludes($(HEADERS),Xaw,..)
-
- InstallMultiple($(HEADERS),$(INCDIR)/Xaw)
-
- DependTarget()
-
- NormalLintTarget($(SRCS))
-