home *** CD-ROM | disk | FTP | other *** search
Makefile | 1991-07-29 | 1.5 KB | 63 lines |
- XCOMM $XConsortium: Imakefile,v 5.13 91/07/29 18:26:59 rws Exp $
- #include <Server.tmpl>
-
- #ifdef SparcArchitecture
- #if HasMITGXSource
- GXSRC=sunGX.c
- #else
- GXSRC=
- #endif
- GXOBJ=sunGX.o
- #else
- GXOBJ=
- GXSRC=
- #endif
-
- SRCS1 = sunInit.c sunBW2.c sunCursor.c sunIo.c sunKbd.c sunMouse.c sunUtils.c\
- sunCG.c sunCG2C.c sunCG2M.c sunCG3C.c sunCG4C.c sunCG6C.c $(GXSRC)\
- sunKeyMap.c
-
- SRCS = $(SRCS1) kbd_mode.c constype.c
-
- OFILES = sunInit.o sunInitMono.o sunInitExtMono.o
-
- OBJS = sunBW2.o sunCursor.o sunIo.o sunKbd.o sunMouse.o sunUtils.o\
- sunCG.o sunCG2C.o sunCG2M.o sunCG3C.o sunCG4C.o sunCG6C.o $(GXOBJ)\
- sunKeyMap.o
-
- INCLUDES = -I. -I../mfb -I../mi -I../cfb -I../../include\
- -I$(INCLUDESRC) -I$(FONTSRC)/include
- LINTLIBS = ../../dix/llib-ldix.ln ../../os/llib-los.ln \
- ../mfb/llib-lmfb.ln ../mi/llib-lmi.ln ../cfb/llib-lcfb.ln
-
- NormalLibraryObjectRule()
-
- all:: $(OFILES) kbd_mode constype
-
- lintlib:
-
- NormalLibraryTarget(sun,$(OBJS))
- NormalLintTarget($(SRCS1))
-
- #if !HasMITGXSource
- LinkFile(sunGX.o,sunGX.o.dist)
- #endif
-
- sunInitExtMono.o: $(ICONFIGFILES)
- ObjectFromSpecialSource(sunInitExtMono,../mi/miinitext,-UPEXEXT)
- ObjectFromSpecialSource(sunInitMono,sunInit,-DMONO_ONLY)
-
- SingleProgramTarget(kbd_mode, kbd_mode.o,,)
- SingleProgramTarget(constype, constype.o,,)
- InstallProgram(kbd_mode,$(BINDIR))
- InstallProgram(constype,$(BINDIR))
- InstallManPage(kbd_mode,$(MANDIR))
- InstallManPage(constype,$(MANDIR))
- InstallManPage(Xsun,$(MANDIR))
- InstallManPageAliases(Xsun,$(MANDIR),XsunMono)
-
- saber_src:
- #load $(CFLAGS) $(SRCS1)
-
- DependTarget()
-