4 include $(TOP
)/configs
/current
10 INCDIRS
= -I
$(TOP
)/include -I
/usr
/include/Motif1.2
$(X11_INCLUDES
)
13 OBJECTS
= $(GLW_SOURCES
:.c
=.o
)
20 $(CC
) -c
$(INCDIRS
) $(CFLAGS
) $<
26 default
: $(TOP
)/$(LIB_DIR
)/$(GLW_LIB_NAME
)
30 -e
's,@INSTALL_DIR@,$(INSTALL_DIR),' \
31 -e
's,@LIB_DIR@,$(LIB_DIR),' \
32 -e
's,@VERSION@,$(MAJOR).$(MINOR).$(TINY),'
37 $(INSTALL
) -d
$(DESTDIR
)$(INSTALL_DIR
)/include/GL
38 $(INSTALL
) -d
$(DESTDIR
)$(INSTALL_DIR
)/$(LIB_DIR
)
39 $(INSTALL
) -d
$(DESTDIR
)$(INSTALL_DIR
)/$(LIB_DIR
)/pkgconfig
40 $(INSTALL
) -m
644 *.h
$(DESTDIR
)$(INSTALL_DIR
)/include/GL
41 $(INSTALL
) $(TOP
)/$(LIB_DIR
)/libGLw.
* $(DESTDIR
)$(INSTALL_DIR
)/$(LIB_DIR
)
42 $(INSTALL
) -m
644 glw.
pc $(DESTDIR
)$(INSTALL_DIR
)/$(LIB_DIR
)/pkgconfig
50 $(TOP
)/$(LIB_DIR
)/$(GLW_LIB_NAME
): $(OBJECTS
)
51 $(TOP
)/bin
/mklib
-o
$(GLW_LIB
) -linker
'$(CC)' \
52 -major
$(MAJOR
) -minor
$(MINOR
) -patch
$(TINY
) \
53 $(MKLIB_OPTIONS
) -install $(TOP
)/$(LIB_DIR
) \
54 $(GLW_LIB_DEPS
) $(OBJECTS
)
58 # Run 'make depend' to update the dependencies if you change what's included
61 depend
: $(GLW_SOURCES
)
63 $(MKDEP
) $(MKDEP_OPTIONS
) -I
$(TOP
)/include $(GLW_SOURCES
) \