2000-10-03 19:51:29 +02:00
|
|
|
include $(TOP)/builds/cygwin/cygwin-def.mk
|
|
|
|
include $(TOP)/builds/cygwin/cygwin-cc.mk
|
|
|
|
|
|
|
|
ifdef BUILD_PROJECT
|
|
|
|
|
|
|
|
# Now include the main sub-makefile. It contains all the rules used to
|
|
|
|
# build the library with the previous variables defined.
|
|
|
|
#
|
|
|
|
include $(TOP)/builds/$(PROJECT).mk
|
|
|
|
|
|
|
|
|
|
|
|
# The cleanup targets.
|
|
|
|
#
|
|
|
|
clean_project: clean_project_cygwin
|
|
|
|
distclean_project: distclean_project_cygwin
|
|
|
|
|
|
|
|
|
|
|
|
# This final rule is used to link all object files into a single library.
|
|
|
|
# this is compiler-specific
|
|
|
|
#
|
|
|
|
$(PROJECT_LIBRARY): $(OBJECTS_LIST)
|
2000-10-05 06:53:31 +02:00
|
|
|
ifdef CLEAN_LIBRARY
|
2000-10-03 19:51:29 +02:00
|
|
|
-$(CLEAN_LIBRARY) $(NO_OUTPUT)
|
2000-10-05 06:53:31 +02:00
|
|
|
endif
|
2000-10-03 19:51:29 +02:00
|
|
|
$(LINK_LIBRARY)
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(TOP)/builds/cygwin/install.mk
|
|
|
|
|
2000-10-05 06:53:31 +02:00
|
|
|
# EOF
|